This is a web application for managing deliveries using ASP.NET MVC 8.0 with Entity Framework.
- Authentication with authorization using Identity Framework
- CRUD operations on Deliveries, Customers, Items and Units
- Search deliveries by item name or item description
- Visual Studio 2022
- .NET Core 8.0+
- SQL Server Express or SQL Server Developer Edition
To get a local copy up and running follow these simple steps.
-
Clone this repository to your local machine
-
Open the project solution in Visual Studio
-
Connection string
- Before running the project, you need to change the connection string in the
appsettings.json
file to match your SQL Server instance. - The default connection string is set to use SQL Server Express with Windows Authentication.
- If you are using a different SQL Server instance or SQL Server Express with SQL Server Authentication, you need to change the connection string accordingly.
- For example, if you are using SQL Server Express with SQL Server Authentication, you need to change the connection string to:
"DefaultConnection": "Server=localhost\\SQLEXPRESS;Database=aspnet-CourierWebApp;Trusted_Connection=True;MultipleActiveResultSets=true;TrustServerCertificate=True"
- Before running the project, you need to change the connection string in the
-
Apply migrations to the database using:
Update-Database
in the Package Manager Console- or
dotnet ef database update
by opening a terminal in the project's folder
-
Run the project using IIS Express
You can use the following demo user to test the application:
- Username:
admin@gmail.com
- Password:
Admin123#
This project is licensed under the MIT License. See license for more information.