Tuesday, June 21, 2011

ASP.Net Universal Providers

In an effort to unify the various Providers in the ASP.Net framework such as the ASP.Net Membership Provider, Role Provider, Profile provider etc. the Microsoft team has released an Alpha release of the ASP.Net Universal Providers.  One of the major benefits of having a "universal provider" is that the same code base can be used to access SQL Server, SQL Server Compact Edition as well as SQL Azure simply by changing the underlying database connection string!

You can read more about the new ASP.Net Universal Providers here: http://www.hanselman.com/blog/IntroducingSystemWebProvidersASPNETUniversalProvidersForSessionMembershipRolesAndUserProfileOnSQLCompactAndSQLAzure.aspx

If they can implement such a thing so as to encapsulate other major database providers such as Oracle and MySQL, it will make code maintenance across different database platforms a snap!  I guess all we can do is cross our fingers and wait....

No comments:

Post a Comment