Connection Strings

0
0

Hi There,
In my Asp.Net development, I have my connection string in the web.config file like this:

<connectionStrings>
<add name=”Default” connectionString=”Data Source=DESKTOP-HEMJ43C;Initial Catalog=TestDatabase; User ID=sa; Password=Abc2022;” providerName=”System.Data.SqlClient” />
</connectionStrings>

How do I go about this in a WiseJ application?

Best Regards,

Steve.

  • You must to post comments
0
0

Hi Steve,

you can either use web.config or default.json to store your connection strings:

https://docs.wisej.com/docs/concepts/configuration

For default.json there was just a recent post explaining how:

https://wisej.com/support/question/connect-to-sqlserver-and-read-connectionstrings-in-net-6-0

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.