Last post Nov 07, 2013 12:22 PM by Kensino
Nov 06, 2013 02:11 PM|Kensino|LINK
It looks like I can have multiple applications served from one database/installation of membership services. I can see that each application is assigned an applicationID but I am not understanding how that applicationID is created.
I didn't enter that GUID value at all. I just installed membership services into the database and loaded up the ASP.Net Configuration tool from Visual Studio, next thing I know, everything was up and running.
I would like to have this same database serve all of our applications to make things easier. It looks like that's possible, but I have no idea how it will know the difference between applications. When I look at the GetApplicationID stored procedure, it
looks like it actually pulls the applicationID from the application name; however, the application name for my first application is simple a forward slash.
I have no idea how I would edit the application name/description without manually entering it into the database. I don't see that the ASP.Net Configuration tool has an option for that.
I guess I just need to know how to correctly set this up so that I can use many different applications off of the same database.
Also are user names going to be unique to each application? If I have "Admin11" on application 1, will that same username/password work for application2?
Nov 07, 2013 02:12 AM|Michelle Ge - MSFT|LINK
According to your description, I think we should make some time in the Membershio tables, please refer to the link below:
About the GUID, please refer to the link below:
There is a thread about containing multiple applications in the same Services, please refer to the link below:
Hope it's useful for you.
Nov 07, 2013 12:22 PM|Kensino|LINK
I know what a GUID is. I need to know how to setup the database to serve multiple applications. It looks like the last thread said that I can set the application name in web.config or app.config, but I haven't been able to figure out how to do that.
Also, is there a way to use the membership services with a windows application? The admin tools are going to be in a windows based application instead of a web based application. I would like to be able to validate a user's password from within the windows
application. I was going to just call the membership class and have it verify a passed username and password, but it looks like that's in the Web.Security class and I don't know if I can use that in a windows application.