ASP.NET 4.5 has three different class which we can inherits to implements the controllers: Controller, ApiController and ODataController. In the latest applications that I implemented, because they were SPA, I used rarely the classic Controller (know as MVC controllers) and I developed a huge number of ApiController and ODataController. The first ones are used to... Continue Reading →
Consume Web API OData with ODataAngularResources
One month ago, I wrote this post about the odata services and how we can consume those with the $http factory of Angularjs. This approach is not wrong but is not smart at all, because we have to write every query for any call that the application needs to do, and is not flexible. What... Continue Reading →
Consume Web API with an Angularjs service
This topic concerns a problem that I faced in these days, that was the building of an Angularjs service to consume Web API's, witch in my case were implemented with OData protocol. The start point are some Web API's, one for every entity of the project, that they responds to a specific url, for example:... Continue Reading →
Manage tables data with AngularJS Part 1: tables metadata
During the deployment of an AngularJS app, we often develop controllers and views to manage data of basic tables, such as zip, city, country and so on. We need to offer to the users the CRUD operations of these tables; the functionalities and the structure of these controllers/view are very similar and you need to... Continue Reading →