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

I have a simple ASP.NET website where I end up publishing / launching on an IIS7 server.

Is it possible to add some kind of β€œbinding” to my web.config file, instead of manually installing it through the site in IIS7.

eg. imagine that I have the following bindings

Hooray!

+2
source share
2 answers

Answered on the IIS forums here : -

- , applicationHost.config, web.config -. - - - .

0

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


All Articles