How netcoretemplates/angular-spa works
This is an Angular SPA backed by a ServiceStack/ASP.NET Core application. Users enter through the Angular shell and routed pages; authenticated users can manage bookings, while signup and confirmation are handled by the registration service. The backend also provides AutoQuery CRUD, Identity, background jobs, health monitoring, and database-backed application services. Edges are limited to relationships shown in excerpts or explicitly documented in the README; unsampled page-to-service calls are not inferred.
Main entry points: Program.cs ASP.NET host · app.routes.ts Page routing · RegisterService.cs Registration service · app.component.ts App shell
Components 26
Angular client
- Angular bootstrap
MyApp.Client/src/main.ts - App shell
MyApp.Client/src/app/app.component.ts - Page routing
MyApp.Client/src/app/app.routes.ts - Booking routes
MyApp.Client/src/app/bookings/booking.routes.ts - Booking pages
MyApp.Client/src/app/bookings - Sign-in and signup
MyApp.Client/src/app/signin/signin.component.ts - User profile
MyApp.Client/src/app/profile/profile.component.ts - Todo page
MyApp.Client/src/app/todomvc/todos.component.ts - Weather page
MyApp.Client/src/app/weather/weather.component.ts - Markdown pages
MyApp.Client/src/app/markdown-page.component.ts
Identity and access
- Auth guard
MyApp.Client/src/guards.ts - Identity Razor UI
MyApp/Areas/Identity/Pages/Account - Registration service
MyApp.ServiceInterface/RegisterService.cs - Identity configuration
MyApp/Configure.Auth.cs
Application services
- AutoQuery CRUD
MyApp/Configure.AutoQuery.cs - Todo service
MyApp.ServiceInterface/TodosServices.cs - Background jobs
MyApp/Configure.BackgroundJobs.cs - Email services
MyApp.ServiceInterface/EmailServices.cs
Data and contracts
- Booking contracts
MyApp.ServiceModel/Bookings.cs - Todo contracts
MyApp.ServiceModel/Todos.cs - Identity database
MyApp.ServiceInterface/Data/ApplicationDbContext.cs - Application database
MyApp/Configure.Db.cs
Hosting and operations
- ASP.NET host
MyApp/Program.cs - Health checks
MyApp/Configure.HealthChecks.cs
Other components
- User
- SMTP provider
Connections 26
- User → App shell: opens
- Angular bootstrap → App shell: bootstraps
MyApp.Client/src/main.ts - App shell → Page routing: hosts routes
- Page routing → Booking routes: includes
MyApp.Client/src/app/app.routes.ts - Booking routes → Booking pages: routes to
MyApp.Client/src/app/bookings/booking.routes.ts - Page routing → Sign-in and signup: routes to
MyApp.Client/src/app/app.routes.ts - Page routing → User profile: routes to
MyApp.Client/src/app/app.routes.ts - Page routing → Todo page: routes to
MyApp.Client/src/app/app.routes.ts - Page routing → Weather page: routes to
MyApp.Client/src/app/app.routes.ts - Page routing → Markdown pages: routes to
MyApp.Client/src/app/app.routes.ts - Page routing → Auth guard: guards access
MyApp.Client/src/app/app.routes.ts - ASP.NET host → Identity database: configures
MyApp/Program.cs - ASP.NET host → Identity configuration: sets up auth
README.md - ASP.NET host → Identity Razor UI: maps Razor pages
MyApp/Program.cs - ASP.NET host → Registration service: registers services
MyApp/Program.cs - Registration service → Identity database: creates users
MyApp.ServiceInterface/RegisterService.cs - Registration service → Email services: sends confirmation
MyApp.ServiceInterface/RegisterService.cs - Email services → SMTP provider: can send via SMTP
README.md - ASP.NET host → AutoQuery CRUD: enables
README.md - Booking pages → AutoQuery CRUD: uses CRUD API
README.md - AutoQuery CRUD → Booking contracts: serves CRUD contracts
README.md - ASP.NET host → Todo service: registers services
MyApp/Program.cs - Todo service → Todo contracts: handles requests
MyApp.ServiceInterface/TodosServices.cs - ASP.NET host → Application database: configures
README.md - ASP.NET host → Background jobs: configures
README.md - ASP.NET host → Health checks: configures
README.md