#suadin.de
- Blazor Server-App
- Authenticationtype: single nodes
- HTTPS configured
- Docker for Linux
- .NET 5:
choco install dotnet-5.0-sdk
- Docker:
choco install docker-desktop
andchoco install docker-cli
- IDE: for example
choco install visualstudio2019community
- GIT Client: for example
choco install gitkraken
- PostgreSQL Database:
choco install postgresql13
and/orchoco install postgresql
- update
C:\Program Files\PostgreSQL\{VERSION}\data\pg_hba.conf
withhost all all 0.0.0.0/0 md5
- create on local database user & database
suadin
, grant user suadin to database suadin
- update
- PostgreSQL Client: for example
choco install pgadmin4
- Dev-Certificate:
dotnet dev-certs https --trust
- Entity Framework Core Tools:
dotnet tool install --global dotnet-ef
- Secrets:
SmtpPassword
- start docker
- start postgresql
- update database
cd Suadin
,dotnet ef database update
- run app within docker
- grant repo
suadin/website
to github-packagewebsite
to release image to github - add into repo
suadin/website
secretsDOCKER_HUB_USER
andDOCKER_HUB_PASSWORD
to release image to dockerhub - add into repo
suadin/website
secretSERVER_PASSWORD
to deploy released image to server
- Prerequisites
- Development
- How to Configure in-memory database with Entity Framework Core
- Auto-Migration not required for in-memory databases
- Publishing Docker images
- EntityFramework Core automatic migrations
- Google Authentication in Blazor WebAssembly Hosted Applications
- Get Current User in a Blazor component
- Account confirmation and password recovery in ASP.NET Core
- don't use SendGrid! Instead use SMTP with HTML body, see link below.
- How to send email from C#
- Dark Mode - CSS Variables
- How to Enable Dark Mode in Windows 10
- Dark Mode: OS Level Control In Your CSS