Programatically set an ASP.NET website bindings for an IIS7 site?

后端 未结 2 1889
误落风尘
误落风尘 2021-01-14 21:01

i\'ve got a simple ASP.NET website that i end up publishing/running on an IIS7 server.

Is it possible to to add into my web.config file some \'binding\' information,

2条回答
  •  情深已故
    2021-01-14 21:24

    I don't know if you can from web.config.

    But if you have some automatic deployment, you can do like this:

    http://bloggingabout.net/blogs/dennis/archive/2008/05/16/programmatically-creating-an-iis7-site.aspx

提交回复
热议问题