摘要: 1 using System.Threading.Tasks; 2 using Microsoft.AspNetCore.Hosting; 3 using Microsoft.AspNetCore.Http; 4 using Microsoft.Extensions.Hosting; 5 6 nam 阅读全文
posted @ 2023-07-30 08:34 张志恒的博客 阅读(39) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Threading.Tasks; 5 using Microsoft.AspNetCore.Hosting; 6 using 阅读全文
posted @ 2023-07-30 08:17 张志恒的博客 阅读(11) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Security.Claims; 3 using System.Security.Principal; 4 using System.Threading.Tasks; 5 using Microsoft.AspNetCore.Authen 阅读全文
posted @ 2023-07-30 07:55 张志恒的博客 阅读(8) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Security.Claims; 3 using System.Security.Principal; 4 using System.Threading.Tasks; 5 using Microsoft.AspNetCore.Authen 阅读全文
posted @ 2023-07-30 07:55 张志恒的博客 阅读(35) 评论(0) 推荐(0)
摘要: iidentity 身份 claim 身份信息 claimPrincipal 有多个身份,但有一个主身份 claims 所有身份,表示用户。。一个用户有多个身份,每个身份里面有多个信息 采用基于票据的认证! AuthenticationTicket 票据,对claimPrincipal的封装。包括c 阅读全文
posted @ 2023-07-29 23:18 张志恒的博客 阅读(32) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Security.Claims; using System.Security.Principal; using System.Threading.Tasks; using Mic 阅读全文
posted @ 2023-07-29 21:09 张志恒的博客 阅读(22) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Globalization; using System.Linq; using System.Reflection; using System.Text; using Syste 阅读全文
posted @ 2023-07-29 18:10 张志恒的博客 阅读(17) 评论(0) 推荐(0)
摘要: Hosting 主机/托管 长时间运行的服务寄宿在托管进程 托管服务==服务托管主机 任何需要在后台长期运行的服务 .addhostedservice 也可以被自动创建 using System; using System.Collections.Generic; using System.Text 阅读全文
posted @ 2023-07-28 20:02 张志恒的博客 阅读(16) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2017-08-04 09:26 张志恒的博客 阅读(1) 评论(0) 推荐(0)
摘要: int? StringBuilder 修改而不是创建字符串用这个 nullable 阅读全文
posted @ 2017-07-26 14:11 张志恒的博客 阅读(410) 评论(0) 推荐(0)