Bulky Book is an ASP.NET Core MVC application for managing categories with a SQL Server database backend.
- .NET SDK
- Visual Studio or Visual Studio Code (Optional)
- Clone the repository:
git clone https://github.com/your-username/BulkyBookWeb.git
- Navigate to the project directory:
cd BulkyBookWeb
- Restore dependencies:
dotnet restore
- Update database:
dotnet ef database update
- Run the application:
dotnet run
- BulkyBookWeb
Controllers
: Contains controllers handling HTTP requests.Data
: Defines the database context and migrations.Migrations
: Database migration files.Models
: Data models used in the application.Views
: Razor views for the application.wwwroot
: Static files (CSS, JavaScript, images).appsettings.json
: Configuration file for the application.Program.cs
: Entry point for the application.Startup.cs
: Configures services and middleware.
The appsettings.json
file contains configuration settings for the application.
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=Bulky;Trusted_Connection=True;"
}
}
- Create, Read, Update, and Delete (CRUD) operations for categories.
- Display a list of categories with details.
This project uses Entity Framework Core for database operations. Entity Framework simplifies database interactions and allows for easy migrations.
- Launch the application.
- Navigate to http://localhost:port-number in your web browser.