ASP.NET Web Administration Membership

Does anyone know if there is a way to manage users / roles in the asp.net membership database using a web interface that you can access remotely?

I need one that does not require installation on a website by default.

thanks

+3
source share
6 answers

Well, the asp.net object for managing users and membership information is simple enough, why not do it yourself?

+1
source

.
, aspnet webservices.
asp.net
SQL Express , :
web.confing:

<connectionStrings>
    <remove name="LocalSqlServer"/>
    <add name="LocalSqlServer" connectionString="Data Source=name of the local machine\SQLEXPRESS;Initial Catalog=ASPNETDB;Integrated Security=True" providerName="System.Data.SqlClient"/>
  </connectionStrings>
+1

. ASP.NETWebAdminFiles . . App_Code/WebAdminPage.cs 488 - 495, :

        // Changed by Jason so I can use this remotely!!!
        //  if (!application.Context.Request.IsLocal) {
        //    SecurityException securityException = new SecurityException((string)HttpContext.GetGlobalResourceObject("GlobalResources", "WebAdmin_ConfigurationIsLocalOnly"));
        //    WebAdminPage.SetCurrentException(application.Context, securityException);
        //    application.Server.Transfer("~/error.aspx");
        //  }

. , .

http://myservername/WebAdminFiles/default.aspx?applicationPhysicalPath=C:\Websites\Application\&applicationUrl=/ApplicationURL

, , Windows , , URL-. , , URL-.

+1

, ASP.NETAdmin :

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ASP.NETWebAdminFiles

.

+1

Try:

MyWSAT

-:

MyWSAT aka ASP.NET WSAT - WebForms - Starter Kit ASP.NET. , , . -.

+1

web.config , , Visual Studio :

| ASP.NET

, , / .. .

, , , APP_DATA.

0
source

Source: https://habr.com/ru/post/1702141/


All Articles