A sample Cake Shop Website built with ASP.NET Core (Multi-Page Application) and MS SQL DB
- Only Admin can perform Create/Edit/Delete cakes & manage Orders.
- Normal User can only can buy cakes & view their orders.
- Managing Cart System using cookie.
- Client Side & Server side validation,
- Cookie Based Authentication & Authorization - Not Session
- Login through either
Username
orEmail
. - Responsive UI
- Repository Pattern
- Application Architecture is decoupled form ORM (Entity Framework)
- ASP.NET Core 2.0 (Backend)
- Razor View Engine (For generating markup)
- Entity Framework Core (ORM)
- ASP.NET Identity (Cookie Based Authentication & Authorization - Not Session)
- AutoMapper (For mapping into Domain Model & DTO)
- jQuery & Bootstap 4
admin account :
admin@admin.com
and Password:Passw@rd!123
(You can change it fromappsettings.json
before applyupdate database
)
Make sure, dotnet core SDK & npm is installed in your machine.
- Using VS2019
> git clone https://github.com/chatru-vs/Website-aspnet-core > cd Cake-Shop/
- Now Open the
CakeShop.sln
throughVS2019
. - Open
appsettings.json
& change the connection string. (But wait! you may not need to change it as this the default connection string ofSQL Server Express
that comes withVisual Studio
). - Hit
Ctrl+Shift+B
to build. - Open
Package Manager Console
fromTools
and enterupdate-database
. - Hit
Ctrl+F5
to run without debugging.
- Now Open the