简体   繁体   中英

Is there a ASP.NET web site administration tool in IIS?

I am using asp.net web site administration tool to manage the different roles in my project (currently Customer and Administrator). During the development, in vs 2008, its very easy to manage the roles. (Project -> Asp.Net configuration). How do I manage my roles and users when the system is deployed (IIS)? Is it possible to run a "asp.net web administration tool-services" on IIS?

This article describes how to create one, including the code that you can directly embed in your website:

http://aspnet.4guysfromrolla.com/articles/053007-1.aspx

This article describes how you can run the ASP.NET configuration website administration tool on IIS: http://blogs.msdn.com/rahulso/archive/2006/03/09/547402.aspx

Update: here's a very basic example in MVC3/Razor: http://www.mikepope.com/blog/DisplayBlog.aspx?permalink=2240#Create_a_page_to_manage_roles

Supposedly, developers are intended to admin the site using the visual studio web site administration tool. There is no out-of-the-box web interface to front-end that stuff.

you can create an application in IIS, you just know that direction of web administration tools (C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\ASP.NETWebAdminFiles)

the other point that you should now is that you need two parameter in the URL.

AS an example: http://localhost/PMIS-Security/default.aspx?applicationPhysicalPath=C :\\PMIS&applicationUrl=/PMIS

applicationPhysicalPath=C:\\PMIS applicationUrl=/PMIS

If you are using a SQL Server instance, rather than the mapped database file in APP_DATA you can use the ASP.Net configuration tool by temporarily changing the Connection String for the database to point to your live database rather than the local one - this will enable you to edit the roles/users etc.

However, it's one of those areas where you should probably look at writing/finding a tool to edit/manage these properly.

You can use Servant. Get it here http://servant.io/ just install it on your server and you are good to go

试试这个ASP.NET网站管理工具http://sourceforge.net/projects/wsatudri/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM