Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Specifying custom membership provider
Message
From
19/09/2012 13:33:53
 
General information
Forum:
ASP.NET
Category:
MVC
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01553236
Message ID:
01553241
Views:
42
This message has been marked as a message which has helped to the initial question of the thread.
>Hi everybody,
>
>Hopefully this is an easy question while I am doing some research in this area. I'm working on ASP.NET MVC 4 application. In my colleague's application which is written in plain ASP.NET (not MVC) I see the following section in web.config
>
>
><membership defaultProvider="wwdllMembershipProvider" userIsOnlineTimeWindow="15">
>      <providers>
>        <add name="wwdllMembershipProvider" type="wwdllMembershipProvider" enablePasswordRetrieval="false" enablePasswordReset="false" writeExceptionsToEventLog="false"/>
>      </providers>
>    </membership>
>    <profile>
>      <providers>
>        <clear/>
>        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
>      </providers>
>    </profile>
>    <roleManager enabled="false">
>      <providers>
>        <clear/>
>        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
>        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
>      </providers>
>    </roleManager>
>
>
>
>First of all, what
<clear/ >
means here?

Remove any existing providers

>
>Secondly, I see nothing in ASP.NET MVC 4 application in regards to membership provider in the web config. Do I still add it the same way in web config there or there is another way?

Add them the same way (although I guess there might be alternatives....)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform