Tag Archives: WebApi

Chlodny series Day 8: Display Web API GET in Grid View

For this session we are going to setup the JavaScript and HTML files to send a GET request to Web API and get a list of all the customers in the Chinook database, then we will display those in a … Continue reading

Posted in MVC, Web | Tagged , , ,

Chlodny series Day 7: Setup Client–CSS/jQuery UI Grid View

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

Posted in MVC, Web | Tagged , , ,

Chlodny series Day 6: ASP.NET Web API Get configuration

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

Posted in MVC, Web | Tagged , , , ,

Chlodny series Day 5: Brief: What is ASP.NET Web API?

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

Posted in Entity Framework, MVC, Web | Tagged , , , ,

Chlodny series Day 4: Entity Framework Code First Migration

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

Posted in Entity Framework, MVC, Web | Tagged , , , ,

Chlodny series Day 3: Connect Web Api to Entity Framework

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.

Posted in Entity Framework, MVC, Web | Tagged , , , , | 1 Comment

Chlodny series Day 2: Reverse Engineer Existing Database

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

Posted in Entity Framework, MVC, Web | Tagged , , , , | 1 Comment

Chlodny series Day 1: Setup and Explanation

Purpose: Create a application that shows off the awesome sauce of Entity Framework Code Frist, Entity Framework Migration, MVC4 WebApi, and HTML5 + other clients This series is to show off a step by step example application that will be … Continue reading

Posted in Entity Framework, MVC, Web | Tagged , , , ,