Aswajith
Aswajith

Reputation: 9387

Why Web.Config file is missing in MVC 6 templates, how to set to connection string?

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

Upvotes: 1

Views: 3348

Answers (1)

Matt DeKrey
Matt DeKrey

Reputation: 11942

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.

Upvotes: 1

Related Questions