A .Net 5 implementation of a hotel management system. Project was created for learning programming in ASP.NET Core for .NET 5 and Entity Framework Core 5.
This project uses a MS SQL Server database, so you would need to create one to run in. A short tutorial for running this project is available at my blog: http://www.michalbialecki.com/2020/06/28/primehotel-how-to-run-this-project/
Check-out my posts about ASP.NET Core in .NET 5, using code from this project:
- .NET 5 - how to start: https://www.michalbialecki.com/2020/06/08/net-5-how-to-start/
- passing parameters to actions: https://www.michalbialecki.com/2020/05/07/asp-net-5-pass-parameters-to-actions/
- sending a request: https://www.michalbialecki.com/2020/05/28/asp-net-core-in-net-5-sending-a-request/
Also, check-out many articles about EF Core 5, using code from this project:
- adding EF Core 5: http://www.michalbialecki.com/2020/07/10/primehotel-adding-entity-framework-core-5/
- adding EF Core 5 to existing DB: https://www.michalbialecki.com/2020/07/17/adding-an-entity-framework-core-5-to-an-existing-database/
- adding database migrations in EF Core 5: https://www.michalbialecki.com/2020/07/20/adding-entity-framework-core-5-migrations-to-net-5-project/
- merging database migrations in EF Core 5: https://www.michalbialecki.com/2020/07/24/merging-migrations-in-entity-framework-core-5/
- execute a stored procedure in EF Core 5: https://www.michalbialecki.com/2020/08/27/execute-a-stored-procedure-with-entity-framework-core-5/
- select data with a stored procedure in EF Core 5: https://www.michalbialecki.com/2020/09/03/select-data-with-a-stored-procedure-with-entity-framework-core-5/
- working with views in EF Core 5: https://www.michalbialecki.com/2020/09/09/working-with-views-in-entity-framework-core-5/
- executing raw SQL in EF Core 5: https://www.michalbialecki.com/2020/09/14/executing-raw-sql-with-entity-framework-core-5/
- how to configure relationships in EF Core 5: https://www.michalbialecki.com/2020/10/02/how-to-configure-relationships-in-entity-framework-core-5/
- EF Core 5 vs SQLBulkCopy: https://www.michalbialecki.com/2020/05/03/entity-framework-core-5-vs-sqlbulkcopy-2/
You can also subscribe to my newsletter to be notified about new posts on my blog: https://www.michalbialecki.com/newsletter/
Enjoy exploring :)