A few weeks ago I attended MIX11 in Las Vegas. MIX is an annual event where Microsoft showcase their new web technologies. This year it was all about new versions of existing products, such as Windows Phone 7, Entity Framework, Silverlight, ASP.NET MVC, IIS, etc… Below is a summary of what was shared on both keynotes:
- Mango: code name for coming version of Windows Phone 7 (WP7).
- ASP.NET MVC 3 Tools update
- Entity Framework 4.1
- Silverlight 5 Beta
- IIS Express
- SQL Compact Edition 4
- Internet Explorer 10 Preview
- New Intranet Project Template, which enables Windows Authentication and it does not include AccountController.
- A new checkbox to enable HTML 5 versions of project templates.
New Add Controller dialog now supports full automatic scaffolding for Create, Read, Update and Delete (CRUD) controller actions and corresponding views. It scaffolds data access using EF Code First by default.
- Add Controller dialog also supports extensible scaffolds using NuGet packages such as MvcScaffolding. This allows you to add custom scaffolds into the dialog which will then allow you to create scaffolds for other data access technologies such as NHibernate, etc…
- Includes Modernizr 1.7 which provides compatibility support for HTML 5 and CSS 3 in older browsers.
- Includes EF Code First 4.1 as a pre-installed NuGet package.
- Cleaner AccountController in the Internet project template.
- Addition of “sticky” options that remember their settings even if Visual Studio is restarted.
- Better filtering of model types in the Add View and Add Controller dialogs.
Entity Framework 4.1
Entity Framework 4.1 is now available for download, the release of this It’s cool that they are able to do out-of-band releases for things like this, so we don’t have to wait a year or more for new functionality.
Note that while CodeFirst is awesome, EF4.1 is not just about Code First, the DbContext API is equally applicable to Database First and Model First and EF 4.1 includes new code generation item templates for customers working with the EDM designer.
This Code First feature works on all ASP.NET projects, including MVC, Webforms, Windows Forms, WPF, etc… and you can use NuGet to install it!
The DbContext API is a simplified abstraction over ObjectContext and a number of other types that were included in previous releases of the ADO.NET Entity Framework. The DbContext API surface is optimized for common tasks and coding patterns. DbContext can be used with Database First, Model First and Code First development.
Click here to lean more about Entity Framework 4.1
What do you think? I think Microsoft is taking the right steps with these type of releases, while small, doing often releases such as the above are really useful and even fun! I do like the NuGet idea and the name.
Please share your thoughts in the comments below, cheers.
Software Engineer + Enthusiast Photographer