- Migrations
Run the following commands to create the database schema:
dotnet ef migrations add InitialCreate
dotnet ef database update
# Create a new migration
Add-Migration [MigrationName]
# Remove the latest migration
Remove-Migration
# Update the database to the latest migration
Update-Database
# Update the database to a specific migration
Update-Database -Migration [MigrationName]
# List all available migrations
Get-Migrations
# Generate SQL script for all migrations
Script-Migration
# Drop the database
Drop-Database
sudo apt update && sudo apt upgrade -y
- With docker if running a UI app like Rancher Desktop:
If you get below error when running "docker" command:
error during connect: in the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.49/containers/json": open //./pipe/docker_engine: The system cannot find the file specified.
Please run below script in “Terminal (Admin)” to grant yourself access to “docker_engine” socket:
$account=whoami
$npipe = "\\.\pipe\docker_engine"
$dInfo = New-Object "System.IO.DirectoryInfo" -ArgumentList $npipe
$dSec = $dInfo.GetAccessControl()
$fullControl =[System.Security.AccessControl.FileSystemRights]::FullControl
$allow =[System.Security.AccessControl.AccessControlType]::Allow
$rule = New-Object "System.Security.AccessControl.FileSystemAccessRule" -ArgumentList $account,$fullControl,$allow
$dSec.AddAccessRule($rule)
$dInfo.SetAccessControl($dSec)
- For open web ui and other AI services / tools, run:
docker compose -f docker-compose.ai.yml up
-
Logic in Angular and Blazor App
-
Bookarks: -- Upload processed bookmark file to blob -- Handle processing message status -- SignalR to angular client to .net api and status of processing bookmark
-
Playground:
Implement Service Bus Implement Azure Event Hubs / RabbitMQ Implement Storage Implement Redis Implement CosmosDB Implement api dedicated to scrap in python Implement transactions DB Implement GraphQL Implements unit tests and integrations tests (Nunit or Xunit)
Service Bus Event Hubs / RabbitMQ Azurite Redis CosmosDB Docker - Implemented SQL Server - Implemented
-
Angular Template https://github.com/ng-matero/ng-matero
-
.NET API, Real World Example https://github.com/gothinkster/aspnetcore-realworld-example-app
-- Reference https://github.com/bitwarden
https://github.com/Kareadita/Kavita/tree/develop/UI/Web/src/app
- Pending to implement https://wolverinefx.net/tutorials/ping-pong
https://github.com/dotnet/eShop/tree/main
https://github.com/NimblePros/eShopOnWeb
https://codebase.show/projects/realworld?category=backend
-
Net https://github.com/gothinkster/aspnetcore-realworld-example-app
-
Angular https://github.com/stefanoslig/angular-ngrx-nx-realworld-example-app
-
Collection of blazor projects https://github.com/AdrienTorris/awesome-blazor
-
CRUD with .net 8 https://github.com/thbst16/dotnet-blazor-crud
-
Front Angular, Back .NET https://github.com/Kareadita/Kavita/tree/develop
-
The Bank API is a design reference project suitable to bootstrap development for a compliant and modern API.
-
eShop Microservices https://github.com/dotnet/eShop/tree/main
-
eShop Monolithic https://github.com/NimblePros/eShopOnWeb
-
Collection tools https://github.com/PatrickJS/awesome-angular