Hyperspan.Base.Api
1.0.1
dotnet add package Hyperspan.Base.Api --version 1.0.1
NuGet\Install-Package Hyperspan.Base.Api -Version 1.0.1
<PackageReference Include="Hyperspan.Base.Api" Version="1.0.1" />
paket add Hyperspan.Base.Api --version 1.0.1
#r "nuget: Hyperspan.Base.Api, 1.0.1"
// Install Hyperspan.Base.Api as a Cake Addin #addin nuget:?package=Hyperspan.Base.Api&version=1.0.1 // Install Hyperspan.Base.Api as a Cake Tool #tool nuget:?package=Hyperspan.Base.Api&version=1.0.1
Auth with Identity Framework in PostgreSQL for .NET Core
This repository contains a basic code base for implementing authentication and authorization using Identity Framework in a .NET Core application with PostgreSQL as the database.
Table of Contents
Introduction
Authentication and authorization are fundamental aspects of many web applications. This project demonstrates how to set up a .NET Core application with Identity Framework to manage user authentication and authorization. PostgreSQL is used as the database for storing user information and related data.
Prerequisites
Before you begin, ensure you have met the following requirements:
- Visual Studio or Visual Studio Code for C# development.
- .NET Core SDK installed.
- PostgreSQL database server installed.
Getting Started
Set up your PostgreSQL database and update the connection string in
appsettings.json
to point to your database.Open the solution in your preferred development environment (e.g., Visual Studio or Visual Studio Code).
Build and run the application.
Features
- User registration and login.
- Role-based authorization.
- Manage user profiles and roles.
- Secure password hashing.
Usage
- Register a new user on the application.
- Log in with your registered credentials.
- Explore the different features and roles based on your permissions.
Contributing
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Create a pull request to this repository's main branch.
License
This project is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Hyperspan.Base.Services (>= 1.0.1)
- Hyperspan.Settings.Api (>= 1.0.1)
- Microsoft.AspNetCore.Authentication.JwtBearer (>= 6.0.23)
- Swashbuckle.AspNetCore (>= 6.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|