Use Swagger with connection string
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2021
04:13 AM
10-29-2021
04:13 AM
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#.
Labels:
- Labels:
-
Swagger Core
-
Swagger UI
0 REPLIES 0
