百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

authz-custom-middleware

> 安全
开源

我的博客文章系列关于 ASP.NET Core 授权的配套仓库。

99 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

我的博客文章系列关于 ASP.NET Core 授权的配套仓库。

Authorization in ASP.NET Core

This repo contains the source code for a series of blog posts I'm writing about authorization in ASP.NET Core. You can check all the posts here: Authorization in ASP.NET Core - Series.

Blog posts and code - how to follow

Since there's a lot to cover, this repo is going to be updated incrementally, together with each post.

To make it practical for you to both read the post and follow through with the code, there will be a branch for each post I publish. This way you can see the snapshot of how it looked like when I published the post.

The main branch will contain the latest state always.

Running the app:

The app uses a SQL Server database to store its data. At the root of the repo, you can find a docker-compose.yml which will start both SQL Server and IdentityServer for you.

After executing docker-compose up, you can start debugging the API using your preferred IDE. The API project will automatically create and migrate the database using EF Migrations.

The initial migration will seed the database with users and permissions so you don't have to do anything to get started.

The users you can use to login are: (If you ever used IdentityServer you might be familiar with them :smile:).

User Password
bob bob
alice alice

If all worked you should see the Swagger page and should be able to authenticate and call the endpoint.

Requisites

  • .NET SDK 6.*
  • Docker/Compose (only if you want to run the app locally)

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#aspnetcoreauthorizationdotnet

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.