it depends a bit on how you are planning to deploy your application.
But basically you can use any technique that is available to C#/VB.NET or ASP.NET applications.
There are a lot of samples that you can found with google.
Here is one of them: https://www.codeproject.com/Articles/823854/How-to-connect-SQL-Database-to-your-Csharp-program
Hope that helps,
Please login first to submit.