Tag Archives: C#
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
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
By default Entity Framework will call the dbo user/schema when attempting to communicate with the database. Today I received an exception because the tables I was calling was not [dbo].[Customer] but [Sales].[Customer].
To continue on from Part 2. For this article we will talk about one of the aspects I utilize the most OnExceptionAspect Note: This may be the last generic post, I am working on a new blog series will show … Continue reading
If you saw my last Dynamics CRM 2011 Installation: "The instance name must be the same as computer name." I am learning the valuable lesson of when you replicate a VM sys-prep image be sure to change the computer name … Continue reading
To Continue on from Part 1 lets dive a little deeper into Aspect Oriented Programming utilizing a framework called PostSharp Setup Windows 7 X64 Visual Studio 2010 (if I get a large enough feedback I will switch this series to … Continue reading