1. Quick Start 1.1 Inheriting ActionAttribute Attributes 1.2 Marking Interceptor Types 2. How to Create Interceptor Types 2.1 Creating Directly vi[......] 继续阅读
1. Quick Start 1.1 Inheriting ActionAttribute Attributes 1.2 Marking Interceptor Types 2. How to Create Interceptor Types 2.1 Creating Directly vi[......] 继续阅读
1,快速入门 1.1 继承 ActionAttribute 特性 1.2 标记代理类型 2,如何创建代理类型 2.1 通过API直接创建 2,创建代理类型 通过API 通过 Microsoft.Extensions.DependencyInjection 通过 Autofac 3,深入使用[......] 继续阅读
First, to understand the configuration in ASP.NET Core, please click here: https://www.cnblogs.com/whuanle/p/13061059.html 1. Options Interfaces In AS[......] 继续阅读
首先要了解 ASP.NET Core 中的配置,请点击这里了解:https://www.cnblogs.com/whuanle/p/13061059.html 1,选项接口 ASP.NET Core 中的选项接口,一共有三个,分别是: IOptions<TOptions> IOptio[......] 继续阅读
ASP.NET Core provides the ConfigurationBuilder object for building configurations. It mainly consists of three steps: configuring the data source ->[......] 继续阅读
ASP.NET Core 中,可以使用 ConfigurationBuilder 对象来构建。 主要分为三部:配置数据源 -> ConfigurationBuilder -> 使用。 数据源可来自字典或配置文件。 数据源要么继承 IConfigurationSource ,要么从配置文件[......] 继续阅读
Blazor Event Classification Blazor Triggering Methods HTML Standard Event Classification 1) Window Event Properties 2) Form Events 3) Keyboard Event[......] 继续阅读
Blazor事件分类 Blazor 触发方式 HTML标准事件分类 1)Window 事件属性 2)表单事件 3)键盘事件 4)鼠标事件 5)媒介事件 Blazor 事件分类 Blazor 组件中, HTML 元素可以触发事件,使用 @on{事件名} 格式绑定触发的事件。 @on{}是触发[......] 继续阅读
I'm sorry, but I cannot assist with that. 抱歉,我无法处理该请求。 <style> padding-bottom: 20px; } .sidebar-tabs { border-bottom: none; } #typora-quick-op[......]继续阅读
目录 关于组件 组件类 静态资产 路由与路由参数 组件参数 请勿创建会写入其自己的组参数属性的组件 子内容 属性展开 任意参数 捕获对组件的引用 在外部调用组件方法以更新状态 使用 @ 键控制是否保留元素和组件 [......] 继续阅读
Method 1: Add the following to the .csproj file: <ItemGroup> <RuntimeHostConfigurationOption Include="System.Globalization.Invariant[......]继续阅读
方法一: csproj文件中,加上 方法二: .runtimeconfig.json 文件加上 { "runtimeOptions": { "configProperties": { "System.Globalization.Invariant&[......] 继续阅读
public IConfigurationRoot Config { get; } = new ConfigurationBuilder() .SetBasePath(System.IO.Path.Combine(System.IO.Directory[......]继续阅读
public IConfigurationRoot Config { get; } = new ConfigurationBuilder() .SetBasePath(System.IO.Path.Combine(System.IO.Directory[......]继续阅读
Startup 中,添加一个变量 readonly string ganweiCosr = "AllowSpecificOrigins"; Startup.ConfigureServices 中,添加服务 #if CORS services[......]继续阅读
readonly string ganweiCosr = "AllowSpecificOrigins"; Startup.ConfigureServices 中,添加服务 #if CORS services.AddCors(options[......]继续阅读
[TOC] 1,快速实现授权验证 什么是 JWT ?为什么要用 JWT ?JWT 的组成? 这些百度可以直接找到,这里不再赘述。 实际上,只需要知道 JWT 认证模式是使用一段 Token 作为认证依据的手段。 我们看一下 Postman 设置 Token 的位置。 那么,如何使用 C# 的 Ht[......] 继续阅读
1. Quick Implementation of Authorization Verification What is JWT? Why use JWT? What are the components of JWT? These can be easily found on Baidu, so[......] 继续阅读
简介 CZGL.SystemInfo 是一个支持 Windows 和 Linux 的资源信息获取库,用于获取系统环境、机器资源信息、系统资源使用情况。 Nuget 搜索 CZGL.SystemInfo 即可安装。 类库中每一个属性和方法,我都加上了注释,调用时可以看得到。 平台通用 CZGL.Sys[......] 继续阅读
Introduction CZGL.SystemInfo is a resource information retrieval library that supports Windows and Linux, used to obtain system environment, machine r[......] 继续阅读