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.
파일 탐색기
최종 버전 다운로드 (.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
# 설치 가이드
git clone https://github.com/aspnetrun/run-aspnetcore-basics
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd run-aspnetcore-basics
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -f AspnetRunBasics/Dockerfile -t run-aspnetcore-basics .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 run-aspnetcore-basics
빌드된 이미지를 실제 컨테이너로 실행합니다.
3. .NET
보통dotnet restore
프로젝트에 필요한 패키지를 내려받습니다.
dotnet build
이 명령어를 터미널에 그대로 입력해 실행하세요.
dotnet run
프로젝트를 빌드하고 바로 실행합니다.
dotnet ef database update -c AspnetRunContext
이 명령어를 터미널에 그대로 입력해 실행하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
