Skip to content

musabaran/aspnetcore-graphql-dapper-sqlkata-sqlserver

 
 

Repository files navigation

tutorial-aspnetcore-graphql-sqlserver

Tutorial Asp.Net Core 3.0 + GraphQLApi + Sql Server

This tutorial sample was created by .net core, dapper and sqlkata.

If you new on graphql for .net, you could use that sample.

This example is very simple. You could connect database, search entity or entities and show the result data.

You must run below commands. ...

  • Create New Database
  • Run database scripts in database folder (create-table, bulk-data)
  • Change connection string in AppSettings file
  • dotnet restore
  • dotnet build
  • dotnet run

Open the browser and enter the address : https://localhost:5001/ui/playground

Sample :
query {
company(companyId:5) {
id
name
isActive
}
}

enter image description here

enter image description here

enter image description here

Releases

No releases published

Packages

No packages published

Languages

  • TSQL 66.7%
  • C# 32.8%
  • Dockerfile 0.5%