Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
对使用“Identity as UI”的 Web 应用程序验证 .NET Core 2.1 SignalR 控制台客户端
使用 NET Core 2 1 和 VS2017 预览版 2 我创建了一个简单的 Web 服务器 其中包含 Identity as UI 如下所述here http www talkingdotnet com how to scaffold
ASPNETCore
signalr
signalrhub
signalrclient
aspnetcore21
使用 ASP.NET Core 2.1 Identity 进行基于权限的授权
过去 使用 NET Framework 上的 ASP NET MVC 我总是在内置的基于角色的授权之上实现基于权限的授权层 我所说的 基于权限 的意思是 将枚举的权限列表分配给每个角色 并且在运行时 每个调用都会检查权限 而不是角色 例如假
ASPNETCore
aspnetcore21
aspnetcoreidentity
具有 .net core 后端和 .net 身份的 React SPA 应用程序
我基本上有与这里详细说明的相同的问题 使用 asp Core 2 0 和 React 进行登录重定向 https stackoverflow com questions 48337368 但那个帖子从未得到答复 我已经搜索了很多 几乎我的问
API
reactredux
aspnetidentity
aspnetcore21
开发时在 ASP.NET Core 2.1 中使用 SSL 证书
在 ASP NET Core 2 1 I 应用程序 appSettings 文件上 我有以下内容 Kestrel Certificates Default Path localhost pfx Password 1234 我使用 dotne
ASPNETCore
aspnetcore21
配置 HttpClientFactory 以使用当前请求上下文中的数据
随着新HttpClientFactory https www stevejgordon co uk introduction to httpclientfactory aspnetcore在 ASP NET Core 2 1 中 使用基本
c
aspnetcore21
httpclientfactory
ASP Identity CoreGeneratePasswordResetTokenAsync 已过期
我已经在 NET Core 2 1 中设置了一个 Identity Server 4 项目 一切正常 但是当我使用用户管理器生成重置密码令牌时 令牌在 24 小时后过期 我可以将其更改为 48 小时吗 我发送重置令牌的代码如下所示 var
aspnet
aspnetidentity
IdentityServer4
aspnetcore21
VS30063:您无权访问 https://dev.azure.com
我正在尝试在 asp net core 2 1 mvc 应用程序中使用以下代码连接 Azure DevOps Uri orgUrl new Uri https dev azure com xxxxx String personalAcces
c
aspnetcore21
azuredevopsrestapi
tfssdk
如何生成 appsettings.
.json 文件?
我有一个 ASP NET Core 2 WebAPI 它将部署在以下环境中 INT QA STAGE 生产环境 基于上述 我需要有appsettings
c
ASPNETCore
aspnetcorewebapi
aspnetcore21
如何在 ASP.NET Core 中转换 AppSettings
我被引导相信appsettings json及其环境对应项 开发 登台 生产 取代了 Web config 转换 这在开发环境中工作得很好 这些环境的变量存在于launchSettings json 但是 如果我使用发布功能 将发布配置为使
c
ASPNETCore
aspnetcore21
appSettings
有没有办法在每个 HTTP 请求的 JSON 响应中重置 $id ? JsonSerializerSettings = PreserveReferencesHandling.Objects
XYZController cs HttpPost public async Task
aspnetcorewebapi
aspnetcore21
SignalR 与 android(Java) 有问题
我想在 android 应用程序和 net core 服务器项目之间进行实时通信 我在 stackoverflow 中尝试了一个问题 我跟着这个one https stackoverflow com questions 32573823 h
Android
signalr
aspnetcore21
从 ASP.NET Core 2.1 应用程序中删除“Server”标头
是否可以删除ServerASP NET Core 2 1 应用程序中的响应标头 在带有 IIS 10 的 Server 2016 上运行 我尝试将以下内容放入 web config 中
ASPNETCore
webconfig
aspnetcore21
kestrelhttpserver
将 ASP.Net Identity 表链接到用户详细信息表
我正在尝试将我的身份用户表链接到我创建的用于跟踪其他用户信息的用户详细信息表 该用户详细信息表称为 UserProfile 我发现了这个链接 但它在 NET Core 2 1 中不起作用 将 ASP NET Identity 用户链接到用户
NET
ASPNETCore
aspnetidentity
EntityFrameworkCore
aspnetcore21
MemoryCache 的大小设置意味着什么?
在控制器类中 我有 using Microsoft Extensions Caching Memory private IMemoryCache cache private readonly MemoryCacheEntryOptions
c
caching
aspnetcore21
MemoryCache
如何在错误的 API url 上返回 404? (ASP.NET 核心 + SPA)
我需要在错误的 api 调用上返回 404 以便我可以在客户端 Angular 5 上为用户创建正确的响应 目前后端返回状态码200和index html 这会导致前端出现json解析错误 我使用 ASP NET Core 2 1 和 An
c
angular
aspnetcore21
.AspNetCore.相关性。未找到国家财产。未知地点
我正在使用 OIDC 的混合身份验证流程 options Events OnRedirectToIdentityProvider redirectContext gt if redirectContext Request Path Star
c
ASPNETCore
aspnetidentity
aspnetcore21
aspnetcoresecurity
如何在 .NET Core 中实现处理自定义属性的 Swashbuckle IOperationFilter
我已经实施了一个Swashbuckle Swagger IOperationFilter按照此处所述处理自定义属性 https stackoverflow com a 52948376 13087 https stackoverflow c
c
ASPNETCore
aspnetcore21
swashbuckle
swashbuckleaspnetcore
使用 Windows 身份验证的 Asp.Net Core 2.x Web 应用程序中的 User.Identity.Name 为 null
Problem 当在 IIS 后面托管 Asp Net Core 2 0 或 2 1 Web 应用程序且 Windows 身份验证设置为 true 且匿名身份验证设置为 false 时 User Identity Name属性为 null
aspnetcore20
aspnetcore21
无法配置 HTTPS 端点。未指定服务器证书,找不到默认的开发者证书
我正在开发一个已配置 HTTPS 的结构应用程序 尽管我有有效的安装证书 但它抛出异常 这些说明来自这个博客 https www waynethompson com au blog dotnet dev certs https 为我工作 d
ASPNETCore
NetCore
aspnetcore21
kestrel
空响应返回 204
当我执行 GET 请求但没有找到任何数据时 我的控制器返回 204 Route user v1 controller public class UserLoginController Controller HttpGet public as
c
ASPNETCore
aspnetcore21
1
2
3
4
»