This project is read-only.

Setup AspNet Xml Providers in a Web Application

Download binaries or build them by yourself and place the assembly file in your web application bin folder.
Change web.config file for the appropriate provider you want to use:

- Role Provider
<roleManager enabled="true" defaultProvider="XmlRoleProvider">
	<add applicationName="YOUR_APP" name="XmlRoleProvider" type="WebUtil.XmlProviders.XmlRoleProvider"/>

- Membership Provider
<membership defaultProvider="XmlMembershipProvider">
	<add applicationName="YOUR_APP" name="XmlMembershipProvider" type="WebUtil.XmlProviders.XmlMembershipProvider"
minRequiredPasswordLength="1" minRequiredNonAlphanumericCharacters="0" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" 

- Profile Provider
<profile enabled="true" defaultProvider="XmlProfileProvider">
	<add applicationName="YOUR_APP" name="XmlProfileProvider" type="WebUtil.XmlProviders.XmlProfileProvider"/>

Note: Do not forget to replace YOUR_APP with the real name of your web application ;) and customize membership provider settings as you preffer.

Last edited Jun 15, 2007 at 12:30 PM by velio, version 1


No comments yet.