How packtpublishing/asp.net-core-full-stack-development-projects- works
Project Type & Purpose
• This is a collection of three full-stack web applications demonstrating how to build modular, production-ready REST back ends with ASP.NET Core + SQLite and client-side single-page apps using Angular, React, and Vue.
• Each sample pairs “API-master.zip” (the back end) with a framework-specific front end (“Angular”, “React” or “VUE”).
File Structure
• Top-level zips correspond to:
• ShoppingASPNETAngular (Angular front end + ASP.NET API)
• FlightAndHotelsReact (React front end + FlightsAndHotelsAPI back end)
• MusicStoreVUE (Vue front end + MusicStoreAPI back end)
• Each API project contains Controllers, Models, Data (EF Core migrations, SQLite), Services, and Startup/Program for dependency injection.
• Each front-end project contains an NPM/webpack build, TypeScript or JavaScript sources, environment configs, and HTTP services to call the API.
Key Insights from the README
• Emphasis on building ASP.NET Core REST APIs, using C# 7+ features, Entity Framework Core with SQLite.
• Three client-side frameworks covered.
• Optionally deployable to Azure.
a. Main Components (repeatable per sample app)
• User’s Browser / SPA (Angular or React or Vue)
• SPA Build System (Node.js / NPM / Webpack)
• ASP.NET Core Web Server (Kestrel + Middleware pipeline)
• Business-Logic Layer (Controllers → Services → Repositories)
• Data Access Layer (Entity Framework Core)
• SQLite Database File
• Optional Hosting Environment (IIS, Azure App Service)
• External Services (if any—e.g., Azure Storage, Authentication)
b. Relationships & Interactions
1. Developer runs npm start / dotnet run or publishes via CI/CD.
2. Browser loads SPA assets (HTML, CSS, JS).
3. SPA issues HTTP(S) requests (GET/POST/PUT/DELETE) to REST endpoints on ASP.NET Core.
4. Controllers receive requests → invoke Services → talk to EF Core DbContext → SQLite.
5. Responses (JSON) return back to the SPA.
6. (If deployed) Azure App Service or IIS hosts the ASP.NET Core app and optionally serves the static SPA.
c. Architectural Patterns & Principles
• RESTful API design (resource-based routing).
• Dependency Injection (built into ASP.NET Core).
• Layered Architecture (Presentation, Business, Data).
• Single-Page Application pattern (client routing + API consumption).
• Use of EF Core Code-First migrations.
d. Key Technologies & Frameworks
• ASP.NET Core (Kestrel, Middleware, DI)
• C# 7 / .NET Standard
• Entity Framework Core + SQLite
• Angular CLI or Create-React-App or Vue CLI
• Node.js / NPM / Webpack
• TypeScript (for Angular/Vue) / ES6+ JavaScript (for React)
• Azure App Service or IIS (for deployment)