In Visual Studio 2017, right click in Project in Solution Explorer -> Add -> New Item -> Search for “config” -> Add Web Configuration File. This will add web.config in your project with default stuff.
In Visual Studio 2017, right click in Project in Solution Explorer -> Add -> New Item -> Search for “config” -> Add Web Configuration File. This will add web.config in your project with default stuff.