Skip to content

devixlabs/DotNetWebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotNetWebApp

.NET version 8 application manually created with the help of ChatGPT4.

Setup

1. Install SQL Server

Run the setup script to install SQL Server (Docker or native Linux):

./setup.sh

2. Setup .NET tools and build

dotnet tool install --global dotnet-ef --version 8.*
make check
make migrate

Build

make build

Docker

Build the image

make docker-build

Testing

make test

Running

For active development (with hot reload):

make dev

For production-like testing (without hot reload):

make run

Run the container

docker run -d \
  -p 8080:80 \
  --name dotnetwebapp \
  dotnetwebapp:latest

Database migrations

make migrate