Overview
TechCore Mini ERP is built on ASP.NET Core MVC using the latest .NET 10.0 framework. The application follows a traditional MVC pattern with Entity Framework Core for data access and includes modern front-end tooling with Tailwind CSS.Technology Stack
Backend
- .NET 10.0 - Target framework
- ASP.NET Core MVC - Web application framework
- Entity Framework Core 10.0.3 - Object-relational mapper (ORM)
- SQL Server - Database provider
Frontend
- Tailwind CSS - Utility-first CSS framework (build pipeline integrated)
- Bootstrap 5 - Component library
- jQuery - JavaScript library with validation
Project Structure
The application follows a well-organized folder structure:Application Startup
The application is configured in~/workspace/source/TechCore/Program.cs using the minimal hosting model:
Service Registration
Services are registered in the dependency injection container:- MVC Controllers with Views -
AddControllersWithViews() - TechCoreContext - Entity Framework DbContext with SQL Server provider
Middleware Pipeline
The HTTP request pipeline is configured with the following middleware (TechCore/Program.cs:22-40):- Exception handling (production only)
- HSTS (production only)
- HTTPS redirection
- Routing
- Authorization
- Static assets
- Controller routing
Tailwind CSS Integration
Tailwind CSS is integrated into the build process via a custom MSBuild target inTechCore.csproj:
- Runs the
npm run css:buildcommand before every build - Tracks changes to
site.cssandtailwind.config.js - Ensures Tailwind styles are compiled before the application starts
Routing Convention
The application uses the standard ASP.NET Core MVC routing pattern:/ → HomeController.Index()
Example routes:
/Productos→ProductosController.Index()/Ventas/Create→VentasController.Create()/Clientes/Edit/5→ClientesController.Edit(id: "5")
Database Configuration
The application uses a connection string namedDefaultConnection from appsettings.json:
NuGet Packages
Core Entity Framework Core packages (TechCore.csproj:10-20):Development Features
Nullable Reference Types
The project has nullable reference types enabled:Implicit Usings
Common namespaces are automatically imported:System, System.Collections.Generic, etc.
Next Steps
- Learn about the Data Access Layer
- Explore the Entity Models
- Review the database schema and relationships