Sample Applications
โญ Canonical โ this is the single source of truth for this project.
| Field | Value |
|---|---|
| Name | sql-query-profiler-sample-apps |
| Tier | ๐ Learning & Experiments |
| Description | Sample Applications |
| Visibility | ๐ Private |
| Fork | No |
| Last activity | ย |
| Status | โ Archived |
| Original source | Github |
| Original owner | guneysus |
| Language | C# |
| Type | API (GraphQL) |
| Size | Small |
| Idea | Sample applications demonstrating SQL query profiler usage |
| Idea score | 45 |
| Impl score | 55 |
| Rating | 49 |
Sample Applications
using Microsoft.EntityFrameworkCore;
using Microsoft.AspNetCore.Mvc;
internal class Program
{
private static void Main(string [] args)
{
var builder = WebApplication.CreateBuilder(args);
var services = builder.Services;
services.AddDbContextFactory<TodoContext>();
services.AddGraphQLServer()
.AddQueryType<Query>()
.AddMutationType<Mutation>()
.AddType<Todo>()
.InitializeOnStartup()
.AddProjections()
.AddFiltering()
.AddSorting()
.DisableIntrospection(disable: false)
;
services.AddEfCoreProfilerToolbar();
repos/github.com/guneysus/sql-query-profiler-sample-appsgit@github.com:guneysus/archive.gitgit@gitlab.com:guneysu/archive.gitgitea@192.168.1.19:guneysu.dev/github-archive.git| โ peview | git-jump โ |
Generated by scripts/generate.py ยท Back to index