Announcements

ASP.Net MVC 2 Released

Trusted By

Welcome Back! I hope you enjoy the content on this site. If you have not done so already, you may want to subscribe to my RSS feed or become a fan of this blog on Facebook. Thanks for visiting!

ASP.NET MVC 2 is now available for Visual Studio 2008 and Visual Web Developer 2008 Express with ASP.NET 3.5. You can download and install it from the following locations:

The final release of Visual Studio 2010 and Visual Web Developer 2010 will have ASP.NET MVC 2 built-in – so you won’t need an additional install in order to use ASP.NET MVC 2 with them.

Some of the new features and capabilities include:

  • New Strongly Typed HTML Helpers
  • Enhanced Model Validation support across both server and client
  • Auto-Scaffold UI Helpers with Template Customization
  • Support for splitting up large applications into “Areas”
  • Asynchronous Controllers support that enables long running tasks in parallel
  • Support for rendering sub-sections of a page/site using Html.RenderAction
  • Lots of new helper functions, utilities, and API enhancements
  • Improved Visual Studio tooling support

For more information, see ASP.NET MVC 2 Released.

Google Wave

If you haven’t heard of Google Wave yet you need to check it out. I know it’s a lengthy video but it’s really worth it!

I am normally skeptic when it comes to new technology with promises to change how we deal with everyday tasks like email, and collaboration. But I think what I saw in this video has a real chance to succeed where many have failed. It’s from the Google Maps team.. need I say more :)

Check it out!

.NET RIA Services May 2009 Preview

A new preview of .Net RIA Services is available for download with tons of bug fixes and other enhancements:

Also added are the following samples. I am more intrigued by the XML Metadata Provider as this can probably offer some very flexible implementations, oh boy… I see some neat code generation tricks!!

XML Metadata Provider

This sample serves two purposes. First, it demonstrates how to create a custom metadata provider that can participate in the .NET RIA Services metadata pipeline. Secondly, the sample also provides a working solution to the existing problem of providing additional metadata for types that you don’t own or can’t modify.

Click here to download: XML Metadata Provider

Linq to SQL DomainService Sample

This sample demonstrates how to create a .NET RIA Services DomainService base class for a particular data source or DAL (Data Access Layer). Two such providers are provided by the framework already – the LinqToSql and LinqToEntities DomainService base classes. All the APIs and functionality needed to create those DomainServices are public, which supports the creation of providers targeting other sources of data, for example NHibernate or other DALs, or an Amazon Web Services provider.

Click here to download: Linq to SQL DomainService Sample

Authentication Samples

These two quick starts cover the default use cases of the UserService in May 2009 preview. The first is fully integrated with ASP.NET providers while the second is implemented using Entity Framework contexts. “Quick Start” comments have been included in the source to highlight and explain the implementation.

Click here to download: Authentication Samples

SilverlightStore SEO Example (CSharp)

This simple application demonstrates the use of XML data and a POCO (plain old CLR object) DomainService. The server-side use of the DomainDataSource control is used to render content as well as a XML sitemap—all indexable by search engines. The down-level content is only visible to clients viewing the site without the required version of Silverlight installed (or JavaScript disabled).

Click here to download: SilverlightStore SEO Example (CSharp)

For more examples check out Brad Abrams blog and http://code.msdn.microsoft.com/RIAServices

Hope this helps!

Hatim