简体   繁体   中英

Kind of configuration settings can be made in XML files (web.config)?

As we know there are some config setting we can make to web.config file like mentioned at link

Now as a beginner i need to know what else we can do with this file/ ie what else we can configure with this file in ASP.NET MVC2,3?

You can configure many other items in the web.config. However this question is not direct enough to provide an answer.

You can see the entire schema here

Web.Config is not limited to any application. Web.config can work verymuch in same way for any applications. Along with the mentioned details we can include a bunch of sections into Web.Config. some of them includes

1) If you are using any services, then service end points you can define in web.config.

2) Error/Exception handling configuraton you can define.

3) if you will use Unity, you can define Register types in config.

4) Any IIS configuratons, can overridden in web.config.

5) Any IIS Error page setup.

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