Monthly Archives: March 2012

SWFL .NET Developer User Group Presentation: Entity Framework Code First, Asp.Net Web Api, and HTML/jQuery

For the month of March I was the presenter at the SWFL .NET Developer User group.  I am either getting better at this stuff or they are just really loving to be punished.  A big shout out and thanks to … Continue reading

Posted in Entity Framework, MVC, Web | Tagged , , , | Leave a comment

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 , , , , | Leave a comment

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 , , , , | Leave a comment

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 , , , , | Leave a comment

How to change the schema for Entity Framework Code First

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].

Posted in Entity Framework | Tagged , , | Leave a comment

Intro to Aspect Oriented Programming with PostSharp–Part 3

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

Posted in PostSharp | Tagged , , | Leave a comment

Dynamics CRM 2011 Installation: Setup failed to validate specified Reporting Services Report Server

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

Posted in CRM | Tagged , | 3 Comments

Dynamics CRM 2011 Installation: "The instance name must be the same as computer name."

So today while waiting for things for build and test to run I was playing around with installing Dynamics CRM 2011 and was greeted with an interesting error.

Posted in CRM, Web | Tagged , | 4 Comments