asp.net - Is connection string name LocalSqlServer mandatory? -
how configure connection string asp.net membership provider? have write hand or tool available in visual studio can specify connection string algorithm used store password?
i read 1 article , specifies connection string :-
<configuration>        <connectionstrings>          <remove name=”localsqlserver”/>          <add name="localsqlserver" connectionstring="data source=localhost;initial catalog=appservicesdb;integrated security=true" providername="system.data.sqlclient"/>      </connectionstrings>    </configuration>   this localsqlserver name doesn't sound intuitive. how change this?
thanks in advance :)
it's referenced either <membership> configuration section
<membership defaultprovider="sqlmembershipprovider" >   <providers>     <clear/>     <add name="mysqlmembershipprovider"          connectionstringname="localsqlserver"          applicationname="myappname"          type="system.web.security.sqlmembershipprovider, system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a" />   </providers> </membership>   or place initialise sqlmembershipprovider in code.
as far can see there's no default - (or code example you've copied) must have named that.
Comments
Post a Comment