Tag Archives: WebApi
Now that our database, Entity Framework, and Web Api are all setup lets give it a gui to play with. At a later data we will go over cross domain utilizing JSON with Passing or JSONP and Cross-Origin Resource Sharing … Continue reading
ASP.NET Web API exposes data through a controller called an API controller. This controller can be added to an existing controller. To add a new controller: Right-click the controllers folder in the ChlodnyWebApi project and select Add –> Controller. In … Continue reading
ASP.NET Web API is the new product born from WCF for jQuery. Web API allows services to be created over HTTP rather then utilizing a service contract (SOAP or WS). Web API creates an avenue for developers to expose data … Continue reading
Before Entity Framework Code First Migration was introduced in version 4.3. Developers had a few options if the domain model was different from the database schema. CreateDatabaseIfNotExists : Pretty self explanatory, if on application start Entity Framework cannot find the … Continue reading
Now that the existing database has been reversed engineered and the domain classes are set, it is time to wire up those domain classes to the main project. Add the DataAccess project to the ChlodnyWebApi project.
To continue on with the series of creating an application that utilizes ASP.NET Web API. This demo application utilizes the Chinook database. In order to use Entity Framework code first with the lease amount of hassle the application will use … Continue reading