Membership provider is a webservice

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top