Entity Framework CPT 5 – Cont.

Continuing with previous post, I wanted to go over data annotations, some old and some new in CTP 5.  Of course, everything you can do with data annotations, you can do with fluent API.  Once important this to remember about data annotations is that they are used for validation as well as defining columns in …

Continue reading ‘Entity Framework CPT 5 – Cont.’ »

New Releases for ASP.NET MVS 3 and Entity Framework CTP

Since I posted my last blog on building ASP.NET MVC 3 application using Razor view engine and Entity Framework code first CTP 4, both of these technologies underwent updates.  Both are covered on Scott Guthrie’s blog.  You can read MVC 3 RC 2 announcement. and Entity Framework CTP 5 announcement. In this post I will …

Continue reading ‘New Releases for ASP.NET MVS 3 and Entity Framework CTP’ »

Developing ASP.NET MVC 3 Application with EF CTP (Part 5)

In this post I will describe how to use MVC with a jquery grid control to display tabular data.  To start with, there is a number of grids available, some even integrate with ASP.NET MVC by providing an MVC assembly that generates the javascript for the grid.  One of these components in jqGrid.  I am …

Continue reading ‘Developing ASP.NET MVC 3 Application with EF CTP (Part 5)’ »

Developing ASP.NET MVC 3 Application with EF CTP (Part 4)

In this post I will examine a couple of things.  I am going to use jQuery calendar UI functionality to improve user interface.  I will also add client side validation to my input form. First, let’s add calendar control.  To do so, we have to download jQuery UI from .http://jqueryui.com/ Once this is completed, I …

Continue reading ‘Developing ASP.NET MVC 3 Application with EF CTP (Part 4)’ »

Developing ASP.NET MVC 3 Application with EF CTP (Part 3)

Today I will concentrate on refactoring existing code and adding other links to my application, such as delete and edit links. First things first, let’s do a bit of refactoring in advance of adding more views.  As I noticed, edit, delete and create views are the same with the exception of title for the submit …

Continue reading ‘Developing ASP.NET MVC 3 Application with EF CTP (Part 3)’ »

Developing ASP.NET MVC 3 Application with EF CTP (Part 2)

First thing we want to do is create a controller for blog entries.  To do so, we will right-click on Controllers folder, select Add, then Controller. On next screen we give it a name (BlogsController) and check the checkbox to create CRUD operations: First method we are going to fill is Index method that will …

Continue reading ‘Developing ASP.NET MVC 3 Application with EF CTP (Part 2)’ »

Developing ASP.NET MVC 3 Application with EF CTP (Part 1)

I this post I will walk through steps of creating an ASP.NET MVC 3 application using new code first entity framework CTP as data access and business layer.  Just a few upfront comments.  Both technologies are in preview state right now, but will likely be released in first half of next year. To get started …

Continue reading ‘Developing ASP.NET MVC 3 Application with EF CTP (Part 1)’ »

Silverlight vs. HTML 5

It is time for me to jump on bandwagon of discussing the latest comments out of Microsoft regarding Silverlight.  If you have not read the latest commend by Bob Muglia, Microsoft VP, you can read his interview with Mary-Jo Foley here.  One particular paragraph bothers me a ton: Silverlight is our development platform for Windows …

Continue reading ‘Silverlight vs. HTML 5’ »