ASP.NET Universal Providers (System.Web.Providers)

Microsoft Web Platform and Tools (WPT)  team has announced the release of ASP.NET Universal Providers that allows you to use Session, Membership, Roles and Profile providers along with all editions of SQL Server 2005 and later. This support includes Sql Server Express, Sql Server CE and Sql Azure.ASP.NET Universal Providers is available as a NuGet package and the following command will install the package via NuGet.


PM> Install-Package System.Web.Providers

The support for Sql Azure will help the Azure developers to easily migrate their ASP.NET applications to Azure platform. System.Web.Providers.DefaultMembershipProvider is the equivalent name for the current SqlMembershipProvider and you can put right connectionstring name in the configuration and it will work with any version of Sql Server based on the copnnection string. System.Web.Providers.DefaultProfileProvider is the equivalent provider name for existing System.Web.Profile.SqlProfileProvider and  System.Web.Providers.DefaultRoleProvider is the equivalent provider name for the existing System.Web.Security.SqlRoleProvider.

2 Comments

  • Do Universal Providers rely on different tables that the previous ones (ex. aspnet_Profile ), I enabled anonymous access to my test site (MVC) and checking aspnet_Profile table I see no changes

  • @Carlo, yes they use new tables that don't have "aspnet_" as part of the table names.

Comments have been disabled for this content.