Reference ticket management application built with ASP.NET Core, Angular, Entity Framework Core, and Azure SQL.
Install:
- .NET 8 SDK
- Node.js 22+
- Angular CLI
- Access to the development Azure SQL database, or configure an appropriate local SQL Server database
From the repository root:
cd TicketTest.ApiConfigure the database connection string using .NET User Secrets:
dotnet user-secrets set "ConnectionStrings:DefaultConnection" "<connection-string>"Apply any outstanding EF Core migrations:
dotnet ef database updateStart the API:
dotnet runThe API URL is displayed in the console when the application starts. Swagger is available at:
https://localhost:<port>/swagger
Open another terminal:
cd TicketTest.Client
npm install
npm startBrowse to:
http://localhost:4200
The development Angular environment is configured to call the locally running API.
From the repository root:
dotnet testIntegration tests use an isolated in-memory SQLite database and do not modify the Azure SQL database.
The hosted application uses:
- Azure Static Web Apps --- Angular client
- Azure App Service --- ASP.NET Core API
- Azure SQL --- persistence
- Application Insights / Log Analytics --- monitoring
- Azure DevOps --- CI/CD
- Bicep --- infrastructure as code