Proyek
Lihat di GitHub
chsakell/dotnetcore-entityframework-api
Tentang
Building REST APIs using ASP.NET Core and Entity Framework Core
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- -1
- dalam 15 hari
- Mengumpulkan riwayat
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliBuilding REST APIs using ASP.NET Core and Entity Framework Core
Blog post
Frameworks - Packages - Patterns - Features used
- ASP.NET Core
- Entity Framework Core
- Entity Framework Migrations - Code First
- Repository pattern
- FluentValidation
- Automapper
- Global exception handler
- Cors
Installation Instructions (1)
- Install .NET Core
Installation Instructions (2) - Visual Studio
- Open the solution in VS 2017
- Open Package Manager Console and navigate to Scheduler.API by typing cd path_to_Scheduler.API
- Modify the connection string in appsettings.json to reflect your database environment
- run the following commands
- Add-Migration Initial
- Update-Database
- Build and run the Scheduler.API project
Installation Instructions (2) - Without Visual Studio
- Clone or download the repository
- Open a terminal/cmd
- Open Scheduler.API folder in your favorite text editor (preferably VS Code). If you get a message Required assets to build and debug are missing from your project. Add them?, click Yes
- Navigate to Scheduler.Model and run dotnet restore
- Navigate to Scheduler.Data and run dotnet restore
- Navigate to Scheduler.API and run dotnet restore
- If you haven't SQL Server (Linux or MAC) set "InMemoryProvider": true in the appsettings.json file and skip to the last step
- Modify the connection string in appsettings.json to reflect your database environment
- While at Scheduler.API run the following commands
- Add-Migration Initial
- Update-Database
- While at Scheduler.API run dotnet run
This project is used as the backend API in this Angular 2 - TypeScript SPA
Microsoft Azure Deployment
Learn how to deploy an ASP.NET Core app on Microsoft Azure here.Follow chsakell's Blog
| Microsoft Web Application Development | |
|
|
License
Code released under the MIT license.Jelajahi proyek terkait
Memuat…

