Ask a Question

Use Swagger with connection string

ivsss
New Member

Use Swagger with connection string

Hello, can I want to use Swagger with a database connection string, where can I define which user name with which password will be connected?

 

I have a connection to a Microsoft SQL Server database. I use Swagger for all methods: GET, POST, PUT and DELETE.

Everything works fine, but I need to create a connection with the database for particular user (I have user name and user password). Is this possible? Should I use a connection string and how? Can I create a connection for particular user and still use swagger and if yes - how?

I am working with an ASP.NET Core 3.1 project and I am using Visual Studio and C#.

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: