A simple website management tool written in C#,使用C#代码创建网站的示例程序。
1、当前程序使用 vs2019, .net 5 开发
2、第2个Tab选项卡提供的功能是添加IIS应用程序池,创建应用程序池时,只要是通过手工打开IIS添加应用程序池设置的参数,都可以通过代码完成。示例程序只是演示一点点功能而已。
3、添加网站时,可以绑定多个IP,域名,端口;示例程序只提供了绑定一个域名IP而已,如果有多个只需要循环绑定就可以了。
4、虚拟目录和应用程序可以任意嵌套,这些都可以通过C#代码来实现。
5、中文博客贴子地址:https://jhrs.com/2021/43667.html
6、英文博客贴子地址:https://znlive.com/how-to-use-csharp-add-website
7、YouTube查看演示视频:https://youtu.be/9Xd7V4J9Lc8
提示:有些地区是不能访问YouTube,需要使用科学上网软件或者VPN,使用多年非常稳的一款:https://gbtcs.com/li7k
- The current program is developed using vs2019 and .net 5
- The function provided by the second Tab is to add the IIS application pool. When creating an application pool, as long as you manually open IIS to add the parameters of the application pool setting, you can do it through the C# code. The sample program just demonstrates a little bit of functionality.
- When adding a website, you can bind multiple IPs, domain names, and ports; the sample program only provides one domain name IP. If there are multiple, you only need to bind it circularly.
- Virtual directories and applications can be nested arbitrarily, all of which can be implemented by C# code.
- Chinese blog post address: https://jhrs.com/2021/43667.html
- English blog post address: https://znlive.com/how-to-use-csharp-add-website
- YouTube: https://youtu.be/9Xd7V4J9Lc8