Quick Review: What are the new ASP.NET 2.0 Application Services?
1.ASP.NET 2.0 includes a number of built-in “building block” application services. We call them “building blocks” because they are useful core frameworks for enabling super-common scenarios with web applications today – and as a result can provide significant productivity wins and time-savings for developers.
2.They include: a membership API for managing user-names/passwords and secure credential management, a roles API that supports mapping users into logical groups, a profile API for storing arbitrary properties about both authenticated and anonymous users visiting a web site (for example: their zip-code, gender, theme preference, etc), a personalization API for storing control customization preferences (this is most often used with the Web Part features in ASP.NET 2.0), a health monitoring API that can track and collect information about the running state and any errors that occur within a web application, and a site navigation API for defining hierarchy within an application and constructing navigation UI (menus, tree views, bread-crumbs) that can be context specific based on where the current incoming user is in the site.
3.ASP.NET 2.0 ships with a number of built-in providers including: a SQL Express provider for going against local SQL Express Databases, SQL 2000/2005 providers that work against full-blown SQL Servers, an Active Directory Provider that can go against AD or ADAM implementations, and in the case of site navigation an XML provider that can bind against XML files on the file-system.
Default SQL Express Providers:-------
Out of the box, most of the ASP.NET 2.0 application services are configured to use the built-in SQL Express provider. This provider will automatically create and provision a new database for you the first time you use one of these application services, and provides a pretty easy way to get started without a lot of setup hassles (just have SQL Express on the box and you are good to go). Note that SQL Express databases can also be upgraded to run in the context of full-blown SQL Server instances – so apps built using SQL Express for development can easily be upgraded into a high-volume, clustered, fail-over secure 8P SQL box when your app becomes wildly successful.
How can we change the providers to use SQL Server Instead of SQL Express?
If you want to use a full-blown SQL Server 2000 or SQL Server 2005 or SQL Server 2008 database instance instead of SQL Express, you can follow the below steps:
Step 1: Configure Internet Information services(IIS)..
1. Click Start -> Run -> appwiz.cpl





click OK...
2.Now you will see a Window as below..
Now Click on Add/Remove Windows Components, and now you see Windows Components Wizard window as below..
Select Internet Information Services(IIS) ( if you want customize it then click Details..and select items from there..) and Click Next> after clicking Next you may be asked for Windows CD to Insert... After inserting cd just Click OK. and then FINISH.
2. Click Start ->Control Panel ->Administrative Tools ->Internet Information Services
Now Go to Default Web Site as Shown Above and Right Click on It and go to Properties..., and now you will see Web Site Properties window shown below--
Click on ASP.NET tab and then select ASP.NET version as shown above. After selecting version now click Edit Configuration..., and now you will see ASP.NET Configuration Setting shown below.....
In the General tab click on LocalSqlServer as highlighted above, click Edit.., and now you will see Edit Add Connectin String window shown Below..
In the Connection parameter box put your SqlServer ConnectionString path(for example: data source=SHARMA;Integrated Security=SSPI;initial catalog=master;) copy this path and paste in your parameter box ,here SHARMA is my server name(computer name)....you just put your computer name in the place SHARMA.and click OK.3.Now click on Authentication tab select Authentication Mode to Windows...
In the Role groupbox Select Checkbox Role management enabled,,, and click apply then Ok. and now also click OK on each Window.After doing this exit all windows.
I hope now you can create Role, Membership in your Admin console...
