ASP.Net /IIS 自动站点创建
我正在寻找一些开源 ASP.net 脚本,它基本上可以自动创建 IIS 站点。基本上,用户将输入他们想要的域名(myname.mysite.com [它将始终是 mysite.com 的子域]),他们将选择用户名和密码,并输入一些其他联系信息。我还会添加一些特定于我们的程序的其他选项,但这些选项将在稍后进行编码,对于这个问题并不重要。一旦他们点击提交,它将创建数据库、DNS、创建默认页面、设置这些页面的权限等等。有没有人见过可以做到这一点的东西,或者我需要从头开始创建类似的东西吗?
I am looking for some open source ASP.net script that basically creates an IIS site automatically. Basically a user will enter the domain name they want (myname.mysite.com [it will always be a subdomain of mysite.com]) they would pick a username and password, and enter some other contact information. I would also add some other options that are specific to our program but these will be coded later and are not important to this question. Once they click submit it would create the Databases, DNS, create default pages, set permissions to those pages, etc.. Has anyone seen anything that can do this or would I need to create something like this from the ground up?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 Microsoft.Web。管理如此博文
或者您可以使用System.DirectoryServices,如图此处
You can use Microsoft.Web.Administration as in this blogpost
Or you can use System.DirectoryServices as shown here