1

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

Kenster
  • 20,846
  • 21
  • 74
  • 99
Aswajith
  • 8,287
  • 5
  • 15
  • 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,212
  • 5
  • 52
  • 67