Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

What do you mean by web config file?


Asked by Kian Boyer on Dec 14, 2021 Web Services



What is Web.Config File? A configuration file (web.config) is used to manage various settings that define a website. The settings are stored in XML files that are separate from your application code. In this way you can configure settings independently from your code.
Just so,
The web.config will be placed in the root folder ofyour website or vs project. The root web.config of default web site is displayed in c:inetpubwwwroot. wwwroot folder is the root path of default web site. If it is not displayed, you could go to IIS manager and add a authorization rule.
Thereof, In computing, configuration files (commonly known simply as config files) are files used to configure the parameters and initial settings for some computer programs. They are used for user applications, server processes and operating system settings. Some applications provide tools to create, modify,...
Accordingly,
To prevent the Web SDK from transforming the web.config file, use the <IsTransformWebConfigDisabled> property in the project file: When disabling the Web SDK from transforming the file, the processPath and arguments should be manually set by the developer. For more information, see ASP.NET Core Module.
And,
It cannot be configured in web.config file. We can configure Web API to customize the behaviour of Web API hosting infrastructure and components such as routes, formatters, filters, DependencyResolver, MessageHandlers, ParamterBindingRules, properties, services etc. We created a simple Web API project in the Create Web API Project section.