Skip to content

cheenamalhotra/azurefunctions-sqlclient-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example to demonstrate SqlClient usage in Azure Functions

Tests below combination of tools:

  1. .NET Core 3.1-preview3. Download Link
  2. Microsoft.NET.Sdk.Functions 3.0.0-preview2
  3. Microsoft.Data.SqlClient v3.1.5
  4. Azure Functions Version v2

Azure Functions Versions for testing

  • Branch af-v1 contains example for working with Azure Functions v1
  • Branch af-v3 contains example for working with Azure Functions v3-preview

Steps to run this Example:

  1. Clone or download this project
  2. Open in Visual Studio Code
  3. Run with F5
  4. Open URL in Browser: http://localhost:7071/api/HttpTriggerSqlClient?server=myservername&uid=username&pwd=*****

Verify output as under:

Hello, {username}. You are connected!

About

An example to demonstrate use of Azure Functions with Microsoft.Data.SqlClient

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages