Most voted "configurationmanager" questions
3 questions
Sort by count of
-
2
votes1
answer827
viewsThe configuration section cannot contain a text or CDATA element
The error started to appear when I added the variable: <add key="Teste" value="true"/> Whole Config App.: <?xml version="1.0" encoding="utf-8"?> <configuration>…
-
2
votes1
answer60
viewsError debugging by null on connection
I want to document a unit test but I’m getting error: System.Exception: 'Error closing database connection: Undefined object reference for an instance of an object.' My test case was so coded: using…
-
0
votes1
answer2633
viewsC# - Get Connectionstring from Appsettings.Json of a dotnet Core MVC application from a Data Access Library
I have an application in . Net Core MVC and I do the data access part using a Dll. How to configure a Connection String according to what was configured in my appSettings.Json of the Netcore MVC…
c# asp.net-core .net-core connectionstring configurationmanagerasked 5 years, 6 months ago Arthur Gresele 1