This is a simple cooking recipe website using .Net Core 2.0. It uses Azure storage as the datastore by storing json files. This is done so it can be hosted for free. (I am already using my free azure mobile database for another project).
It was written to explore Asp.net Core MVC and Boostrap 4.
This is a simple site, so it only has Repositories, Models and ViewModels. If it was more complex I would start to look at a service layer and separating out the datalayer into it's own project.
Technologies used:
- Core 2.1
- Asp.Net MVC
- Azure
- Azure Storage
- Bootstrap 4
- Cookie based Authentication
- ImageSharp
- The project runs in Visual Studio 2017
-
You will need to manually add a appsettings.UserSecrets.json file to the CoreCooking.Models project root. (This is because user secrets don't work on )
-
Populate this file with a link to the azure storage datastore.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/static-files?view=aspnetcore-3.1