Playground application for trying out new technologies, libraries, frameworks, patterns, tools etc.
- Local development environment using .NET Aspire.
- Client application using Elm and Vite.
- Server API built with ASP.NET Core and F# Programming Language.
- Apply CQRS and Event Sourcing principles to Microservices architecture.
$ dotnet workload update
$ dotnet workload install aspire
$ dotnet run --project src/FbApp.AppHost/FbApp.AppHost.csproj
Open .NET Aspire Dashboard
Use Google Developer Console to register new application for Google authentication:
- Authorized JavaScript Origins:
https://localhost:8090
- Authorized redirect URIs:
https://localhost:8090/connect/google/callback
Add src/FbApp.Auth/appsettings.user.json
configuration file with credentials provided
by Google client application registration.
{
"Authentication": {
"Google": {
"ClientId": "<redacted>",
"ClientSecret": "<redacted>"
}
}
}
Install dapr
helm repo add dapr https://dapr.github.io/helm-charts/
helm repo update
helm upgrade --install dapr dapr/dapr \
--namespace dapr-system \
--create-namespace \
--wait
kubectl port-forward service/dapr-dashboard 8080:8080 --namespace dapr-system
Install ingress controller
helm repo add dapr https://kubernetes.github.io/ingress-nginx
helm repo update
helm upgrade --install ingress-nginx ingress-nginx/ingress-nginx \
--namespace ingress-nginx \
--create-namespace \
--set controller.config.use-forwarded-headers=true
--set controller.service.ports.https=8090
--wait
$ tilt up
Open Tilt Dashboard to monitor running components.
Open Application for demo.