1

Web config file is missing in Visual studio 2015 MVC 6 templates. How is the connection string set in an application?

Kenster
  • 23,465
  • 21
  • 80
  • 106
Aswajith
  • 9,117
  • 5
  • 16
  • 20
  • possible duplicate of [How can I provide settings that can be accessed through ConfigurationManager in asp.net 5?](http://stackoverflow.com/questions/29608417/how-can-i-provide-settings-that-can-be-accessed-through-configurationmanager-in) – Matt DeKrey Apr 24 '15 at 15:52

1 Answers1

1

In ASP.NET 5, the old web.config is no longer used; you will not be able to use ConfigurationManager as in previous versions. You can now use JSON, XML, INI, environment variables, or even roll your own configuration source.

Matt DeKrey
  • 11,582
  • 5
  • 54
  • 69