Add Custom Tags in Web config file in ASP .Net

For any reason we want to add some custom tags in web config file but unfortunately these is some predefined tag available for web.config file.
To do so we need to create XML file in the format that suits IIS. You can take example of any config present in
C:\Windows\system32\inetsrv\config\schema
Now create any custom tags and create file and save in the same directory.




Now but this is not enough you need to add in applicationhost file as well at C:\Windows\system32\inetsrv\config


This will solve your problem and you will be able to add custom config tag in web config file in ASP.Net website.





Comments

  1. https://www.blogger.com/profile/07772375208060678538

    ReplyDelete

Post a Comment

Popular posts from this blog

DTS package conversion in SSIS to use in SQL 2012 and SQL 2016

Infinite Scroll in Asp.Net C# using Javascript without Third party Plugin