GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ERD-Codegen/csharp-dotnet: realworld api using minimal apis

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

87 Commits
87 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
tst
tst
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
Directory.build.props
Directory.build.props
 
 
Dockerfile
Dockerfile
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
azure-pipelines.yml
azure-pipelines.yml
 
 
favicon.ico
favicon.ico
 
 
logo.png
logo.png
 
 
realworlddotnet.sln
realworlddotnet.sln
 
 

Repository files navigation

RealWorld Example App

[Dotnet 8] codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

Demo    RealWorld

This codebase was created to demonstrate a fully fledged fullstack application built with [Dotnet 8] including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the [Dotnet 8] community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

Conversion of Clean Architecture setup using Dotnet into a version using Minimal API's The solution now does not have a direct dependency with dotnet mvc anymore

Consisting of the following layers:

  • api
  • data
  • infrastructure

Build using the following features:

  • Minimal api's
  • file scoped namespaces
  • Entity Framework Core with SQLite db
  • serilog for logging
  • logging integrated with application insights, including realtime monitoring
  • Hellang.Middleware.ProblemDetails for consistent error output
  • sonarlint for code scanning

Getting started

This solution uses an in memory SQLite db. In case you want to use a file based db then you can add migrations as indicated below

migrations

Add migration by going to Data folder and execute: dotnet ef migrations add MigrationName --startup-project ../Api/Api.csproj

Run db upgrade: dotnet ef database update --startup-project ../Api/Api.csproj

About

realworld api using minimal apis

Resources

Readme
License

Code of conduct

Code of conduct
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

6 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.