aspnetcorehero / Boilerplate

Clean Architecture Solution Template for ASP.NET Core 5.0. Built with Onion/Hexagonal Architecture and incorporates the most essential Packages your projects will ever need. Includes both WebApi and Web(MVC) Projects.
https://codewithmukesh.com/project/aspnet-core-hero-boilerplate/
MIT License
582 stars 148 forks source link

Bad ApplicationConnection string in API project #19

Open IMLizKing opened 3 years ago

IMLizKing commented 3 years ago

Describe the bug

Really simple one... The Application connection string in the API project appsettings.json is:

"ApplicationConnection": "Data Source=Server=(localdb)\\mssqllocaldb;...

and should be

"ApplicationConnection": "Data Source=(localdb)\\mssqllocaldb;...

(i.e., remove the extra "Server=' bit)

Generally not a big deal as most folks will update these strings, but I was fine using the LocalDB and it took me a bit to realize the problem..

Very nice/awesome example of good ASP.NET core practices by the way!