net6-api-admin-template is a backend API built with .NET 6 and Entity Framework Core. This project provides a comprehensive template for building administrative dashboards or user management systems. It integrates with Azure Blob Storage, implements custom authentication, supports SignalR for real-time updates, and includes user management functionality.
This project serves as the backend for the Metronic 8 Angular 16 UI, offering a powerful solution for admin panels or any system requiring robust user and data management.
- .NET 6 API: Built with .NET 6, offering performance improvements and long-term support.
- Entity Framework Core: Uses EF Core for data access and manipulation.
- Azure Blob Storage Integration: Includes an example of integrating Azure Blob Storage for file storage and retrieval.
- Custom Authentication: Implements a custom authentication system for managing user logins and sessions.
- SignalR: Provides real-time updates using SignalR for WebSockets.
- User Management: Full user management system, including role-based access control.
- Backend:
- .NET 6
- ASP.NET Core
- Entity Framework Core (EF Core)
- Database:
- SQL Server (or compatible databases)
- Azure Integration:
- Azure Blob Storage
- Authentication:
- Custom authentication with JWT (JSON Web Tokens)
- Real-time Communication:
- SignalR for WebSockets
- User Management:
- Role-based access control (RBAC)
Ensure you have the following installed on your system:
- .NET 6 SDK
- SQL Server (or other compatible databases)
- An Azure account for Blob Storage integration (optional)
-
Clone the repository:
git clone https://github.com/ilia-public-projects/net6-api-admin-template.git cd net6-api-admin-template
-
Set Up Database: Update your connection string in the
appsettings.json
file for Entity Framework Core to connect to your local or cloud SQL Server instance:{ "ConnectionStrings": { "DefaultConnection": "Server=your-server;Database=your-database;User Id=your-username;Password=your-password;" } }