As for the ASP.NET membership or role manage providers, you can use them (through the Membership and Roles class in code) in either ASP.NET web application/web service application or non-ASP.NET applications(such as winform , WPF, console aplications) as
long as you properly set the providers in the app.config file(web.config file for web apps).
Here is a former article which has provided an example and explanation on using ASP.NET membership and role providers in non-ASP.NET applications:
Im new to SSO,im working on 15days to develop SSO.I want to implement SSO using web services and Active directory.
I created SSO with Three applications with ASPNETDB.
For each web application in web.config i given appname tag as '/'.then in database it storing Application id as '/'.While authenticating user im giving correct credentials but im unable to login successfully. and can you please tell me how to validate using
Application name.And im not implemented Active directory or LDAP.
could you please send me sample application code to develop SSo with web services and LDAP login.
Im new to SSO,im working on 15days to develop SSO.I want to implement SSO using web services and Active directory.
I created SSO with Three applications with ASPNETDB.
For each web application in web.config i given appname tag as '/'.then in database it storing Application id as '/'.While authenticating user im giving correct credentials but im unable to login successfully. and can you please tell me how to validate using
Application name.And im not implemented Active directory or LDAP.
could you please send me sample application code to develop SSo with web services and LDAP login.
Note that it is not a standard practice to post new questions in same thread. It is advised to post a new thread with your current issue as your initial post has been alreaey answered with a solution.
Being said that refer below references. Note that there won't be any further response on this thread. You are advised to post a new thread.
Bangalore
im giving correct credentials but im unable to login successfully
Bangalore
Member
2 Points
3 Posts
Modifying the ASPNETDB tables programmatically
Apr 27, 2012 10:42 AM|LINK
Split off from http://forums.asp.net/t/1401949.aspx/1?Modifying+the+ASPNETDB+tables+programmatically. Please don't necropost.
Hi,
Im new to asp.net membership and creating users and roles.
I saw your article that you have created users and roles by customizing createUser wizard,
Could you please help me me how to create users and roles using web services.
can you post me a sample application that can i understand.
Thanks in advance.
Steven Cheng...
Contributor
4197 Points
547 Posts
Microsoft
Moderator
Re: Modifying the ASPNETDB tables programmatically
Apr 30, 2012 07:11 AM|LINK
Hi Bangalore,
As for the ASP.NET membership or role manage providers, you can use them (through the Membership and Roles class in code) in either ASP.NET web application/web service application or non-ASP.NET applications(such as winform , WPF, console aplications) as long as you properly set the providers in the app.config file(web.config file for web apps).
Here is a former article which has provided an example and explanation on using ASP.NET membership and role providers in non-ASP.NET applications:
#Manage database of ASP.NET 2.0 Membership & Role services in non-ASP.NET context
http://blogs.msdn.com/b/msdnts/archive/2006/12/16/asp-net-2-0-membership-role-management-out-of-asp-net-context.aspx
Feedback to us
Microsoft One Code Framework
sukumarraju
All-Star
16941 Points
2999 Posts
Re: Modifying the ASPNETDB tables programmatically
Apr 30, 2012 03:00 PM|LINK
Do you want to utilise ASP.NET Membership - role providers APIs to implement Authentication and authorization in web service
OR
Implement a web service that utilises ASP.NET Membership & Roles API, so that can client can consume to implement security?
Application Architecture Guide 2.0
My Blog
Twitter
Bangalore
Member
2 Points
3 Posts
Re: Modifying the ASPNETDB tables programmatically
May 11, 2012 09:31 AM|LINK
Hi Sukumar,
Im new to SSO,im working on 15days to develop SSO.I want to implement SSO using web services and Active directory.
I created SSO with Three applications with ASPNETDB.
For each web application in web.config i given appname tag as '/'.then in database it storing Application id as '/'.While authenticating user im giving correct credentials but im unable to login successfully. and can you please tell me how to validate using Application name.And im not implemented Active directory or LDAP.
could you please send me sample application code to develop SSo with web services and LDAP login.
Thanks in Advance.
Bangalore
Member
2 Points
3 Posts
Re: Modifying the ASPNETDB tables programmatically
May 11, 2012 09:34 AM|LINK
Hi steven,
Than you very much.
Im new to SSO,im working on 15days to develop SSO.I want to implement SSO using web services and Active directory.
I created SSO with Three applications with ASPNETDB.
For each web application in web.config i given appname tag as '/'.then in database it storing Application id as '/'.While authenticating user im giving correct credentials but im unable to login successfully. and can you please tell me how to validate using Application name.And im not implemented Active directory or LDAP.
could you please send me sample application code to develop SSo with web services and LDAP login.
Thanks in Advance.
sukumarraju
All-Star
16941 Points
2999 Posts
Re: Modifying the ASPNETDB tables programmatically
May 11, 2012 10:54 AM|LINK
Note that it is not a standard practice to post new questions in same thread. It is advised to post a new thread with your current issue as your initial post has been alreaey answered with a solution.
Being said that refer below references. Note that there won't be any further response on this thread. You are advised to post a new thread.
http://weblogs.asp.net/scottgu/archive/2006/04/22/Always-set-the-_2200_applicationName_2200_-property-when-configuring-ASP.NET-2.0-Membership-and-other-Providers.aspx
Query is NOT clear enough. Refer http://www.dotnetspark.com/links/8961-ldap-wcf.aspx
As shown in above architecture diagram implement a WCF service which interacts with Active directory to authenticate & authorize users.
Application Architecture Guide 2.0
My Blog
Twitter