run-aspnetcore-basics
Implementation of Real-World example in One Solution - One Project for web application development with Asp.Net Core & EF.Core. Only one web application project which used aspnetcore components; razor pages, middlewares, dependency injection, configuration, logging. To create websites with minimum implementation of asp.net core based on HTML5, CSS, and JavaScript. You can use this boilerplate for fast implementation, minimum development, bootstrap your idea, create Minimum Viable Product (MVP), idea validation, startup development implementation for a limited time and limited resources with using latest asp.net core and entity framework core.
File Explorer
Download Latest Version (.zip)- AspnetRunContext.cs
- AspnetRunContextSeed.cs
- Cart.cs
- CartItem.cs
- Category.cs
- Contact.cs
- Order.cs
- Product.cs
- 20200218071258_Initial.cs
- 20200218071258_Initial.Designer.cs
- AspnetRunContextModelSnapshot.cs
- _Layout.cshtml
- _ProductItemPartial.cshtml
- _TopProductPartial.cshtml
- _ValidationScriptsPartial.cshtml
- _ViewImports.cshtml
- _ViewStart.cshtml
- Cart.cshtml
- Cart.cshtml.cs
- CheckOut.cshtml
- CheckOut.cshtml.cs
- Confirmation.cshtml
- Confirmation.cshtml.cs
- Contact.cshtml
- Contact.cshtml.cs
- Error.cshtml
- Error.cshtml.cs
- Index.cshtml
- Index.cshtml.cs
- Order.cshtml
- Order.cshtml.cs
- Privacy.cshtml
- Privacy.cshtml.cs
- Product.cshtml
- Product.cshtml.cs
- ProductDetail.cshtml
- ProductDetail.cshtml.cs
- ICartRepository.cs
- IContactRepository.cs
- IOrderRepository.cs
- IProductRepository.cs
- CartRepository.cs
- ContactRepository.cs
- OrderRepository.cs
- ProductRepository.cs
- style.css
- banner1.png
- banner2.png
- banner3.png
- product-1.png
- product-2.png
- product-3.png
- product-4.png
- product-5.png
- product-6.png
- product-7.png
- productx1.png
- productx2.png
- productx3.png
- productx4.png
- productx5.png
- productx6.png
- productx7.png
- placeholder.png
- favicon.ico
- appsettings.Development.json
- appsettings.json
- AspnetRunBasics.csproj
- Dockerfile
- Program.cs
- Startup.cs
- .dockerignore
- .gitignore
- AspnetRunBasics.sln
- LICENSE
- README.md
# Installation Guide
git clone https://github.com/aspnetrun/run-aspnetcore-basics
Downloads the entire project code from GitHub to your computer.
cd run-aspnetcore-basics
Moves into the project folder you just downloaded.
2. Docker
Easy Recommended- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f AspnetRunBasics/Dockerfile -t run-aspnetcore-basics .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 run-aspnetcore-basics
Runs the built image as an actual container.
3. .NET
Mediumdotnet restore
Downloads the packages the project depends on.
dotnet build
Type this command into your terminal and run it.
dotnet run
Builds the project and runs it immediately.
dotnet ef database update -c AspnetRunContext
Type this command into your terminal and run it.
Pulled directly from this repo's README.
