D
DDam
All membership/roleprovider examples use a sql database to store the
users and roles.
Now I want to connect to a webservice in stead of a sql database.
My question is how...
example of my web.config:
<appSettings>
<add key="MyWebService"
value="http://[.....]WebService1.0.asmx"/>
</appSettings>
<connectionStrings>
<add name="connstr" connectionString="Data
Source=MyServer;Initial Catalog=database;Integrated Security=True"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<membership defaultProvider="MyMembershipProvider">
<providers>
<add connectionStringName="connstr"
name="MyMembershipProvider" type="MyMembershipProvider"/>
</providers>
</membership>
</providers>
</roleManager>
Now it's connecting to the connstr database.. What do I have to do to
connect to the webservice?
users and roles.
Now I want to connect to a webservice in stead of a sql database.
My question is how...
example of my web.config:
<appSettings>
<add key="MyWebService"
value="http://[.....]WebService1.0.asmx"/>
</appSettings>
<connectionStrings>
<add name="connstr" connectionString="Data
Source=MyServer;Initial Catalog=database;Integrated Security=True"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<membership defaultProvider="MyMembershipProvider">
<providers>
<add connectionStringName="connstr"
name="MyMembershipProvider" type="MyMembershipProvider"/>
</providers>
</membership>
</providers>
</roleManager>
Now it's connecting to the connstr database.. What do I have to do to
connect to the webservice?