A web-based Manufacturing Execution System (MES) application built with ASP.NET Core (Razor / MVC) to manage production, monitor processes, record data, and provide insights.
- User authentication & authorization
- CRUD operations for master data (e.g. machines, products, shifts)
- Production order tracking & status
- Data logging (e.g. start time, stop time, downtime)
- Dashboard & visual reports
- Export / import via CSV / Excel
- Role-based access control
- Backend / Web Framework: ASP.NET Core (Razor Pages / MVC)
- Frontend: Razor views, HTML / CSS / (possibly JavaScript / jQuery)
- Database: SQL Server (or another relational DB)
- ORM / Data Access: Entity Framework Core (or your preferred approach)
- Migrations / Seeding: EF Core Migrations / Data seeding
- Dependency Injection & Service Layer
- Logging / Error Handling
- Configuration via appsettings.json / environment variables
Make sure you have installed:
- .NET SDK (version used by this project, e.g. .NET 6 / .NET 7)
- SQL Server (or SQL Server Express / LocalDB)
- (Optional) Visual Studio 2022 or VS Code
-
Clone the repository:
git clone https://github.com/ASP-NETProj/MES_WebApplication_ASPNETCore.git cd MES_WebApplication_ASPNETCore -
Restore dependencies:
dotnet restore
-
(Optional) Open solution in Visual Studio:
WebApplication1ASPNETCoreBlank(VS2022).sln
-
Update your connection string in
appsettings.json(orappsettings.Development.json) to point to your SQL Server instance. -
Apply migrations (if using EF Core):
dotnet ef database update
-
(Optional) Seed initial data (if seeding logic is included).
Run the project:
dotnet run --project path/to/YourWebProjectBy default it should launch at https://localhost:5001 or similar.
Or, run from Visual Studio / VS Code via debugging.
Once the application is up:
- Register / sign in (if authentication is implemented)
- Navigate to dashboards, master data modules
- Create production orders, monitor execution
- View reports, filter by date / machine / status
- Export data to Excel / CSV
Key settings are stored in appsettings.json (or per-environment files). Typical settings include:
{
"ConnectionStrings": {
"DefaultConnection": "Server=.;Database=MesDb;Trusted_Connection=True;"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning"
}
},
"AllowedHosts": "*"
}Here is an example / typical folder layout:
/MES_WebApplication_ASPNETCore
│ README.md
│ WebApplication1ASPNETCoreBlank(VS2022).sln
│ /WebApplication1ASPNETCoreBlank
│ /Controllers
│ /Pages or /Views
│ /Models
│ /Data
│ /Services
│ /wwwroot
│ appsettings.json
│ Program.cs / Startup.cs
│ /Migrations
│ /SampleData (csv, xlsx files)
You may also have additional helpers, utilities, or shared libraries depending on architecture.
Contributions, issues, or suggestions are welcome! Here's how to get started:
- Fork the repository
- Create a new branch:
feature/my-feature - Make your changes and commit with clear messages
- Submit a Pull Request
- Ensure tests / build are passing
Please adhere to the project’s coding conventions and include documentation / tests for new features.
MIT License
Copyright (c) 2025 Budi Setiawan
Permission is hereby granted...
- Project maintainers: Budi Setiawan
- Email: bd.setiawan.2021@gmail.com
- Issues: Use GitHub Issues for bug reports or feature requests
If you like, I can also generate a polished README with badges, screenshots placeholders, and more — would you like me to do that for you?