This repository contains an ASP.NET Core application with a Blazor WebAssembly (WASM) UI in .NET 8. It also includes user authentication using ASP.NET Core 8 Identity, uses Entity Framework Core SQLite as the database, and supports OData for efficient querying.
- ASP.NET Core Kestrel web server: A robust and high-performance server.
- Blazor WASM UI: A modern web UI framework for .NET.
- MudBlazor components: Using side or top navigation.
- Swagger UI: An interactive documentation for your API.
- ASP.NET Core 8 Identity: A membership system that adds login functionality to your application.
- Entity Framework Core SQLite: A lightweight database provider for Entity Framework Core.
- OData Support: A standard for building and consuming RESTful APIs.
- Visual Studio 2022
- .NET 8
- ASP.NET Core
- Blazor WASM
- Swagger UI
- ASP.NET Core 8 Identity
- MudBlazor Components
- Entity Framework Core SQLite
- OData
- Clone the repo git clone https://github.com/donpotts/Recipes.git
- Install .NET packages
- Install MudBlazor packages
- Install any missing packages
- dotnet restore
You can access the API documentation at your Swagger UI endpoint (using /swagger
on your application's URL).
Example: https://blazorrecipes.azurewebsites.net/swagger
This application uses ASP.NET Core 8 Identity for user authentication. To log in, navigate to the login page and enter your credentials.
Administrator
Username: adminUser@example.com
Password: testUser123!
Normal user (Card Recipe)
Username: normalUser@example.com
Password: testUser123!
This application supports OData for efficient querying. You can use OData query options on the API endpoints.