1,获取类型的信息 1.1 类型的基类和接口 1.1.1 基类 1.1.2 获取实现的接口 1.1.3 获取泛型接口 1.2 获取属性、字段成员 1.2.1 构造函数 1.2.2 属性 1.2.3 字段 1.2.4 方法 1.2.5 事件 1.2.6 成员 [......] 继续阅读
1,获取类型的信息 1.1 类型的基类和接口 1.1.1 基类 1.1.2 获取实现的接口 1.1.3 获取泛型接口 1.2 获取属性、字段成员 1.2.1 构造函数 1.2.2 属性 1.2.3 字段 1.2.4 方法 1.2.5 事件 1.2.6 成员 [......] 继续阅读
1. Getting Type Information 1.1 Base Classes and Interfaces of Types 1.1.1 Base Class 1.1.2 Getting Implemented Interfaces 1.1.3 Getting Generic In[......] 继续阅读
1,反射的使用概述 1.1 什么是反射 1.2 反射可以做什么 1.3 Type 类 1.4 反射使用归类 1.4 Type 一些常用属性 2,获取 Type 2.1 获取 Type 类型 2.2 数组 Type 生成数组 Type 获取数组 Type 获取数组的元素类型、维数 矩形数组(交错数组[......] 继续阅读
1. Overview of Reflection Usage 1.1 What is Reflection 1.2 What can Reflection do 1.3 Type Class 1.4 Categories of Reflection Usage 1.4 Type Some Co[......] 继续阅读
1. 说明 1.1 关于反射、特性 2. 程序集操作 2.1 获取 程序集对象(Assembly) 2.1.1 运行时获取程序集 2.1.2 使用方法 2.1.3 从文件加载程序集 2.1.4 使用方法 2.2 Assembly 使用 2.2.1 获取程序集完全限定名称 2.2.2 Assembl[......] 继续阅读
1. Introduction 1.1 About Reflection and Attributes 2. Assembly Operations 2.1 Getting the Assembly Object 2.1.1 Runtime Getting Assemblies 2.1.2[......] 继续阅读
探究 C# 中的 char 、 string(一) [TOC] 1. System.Char 字符 char 是 System.Char 的别名。 System.Char 占两个字节,16个二进制位。 System.Char 用来表示、存储一个 Unicode 字符。 System.Char 的表示[......] 继续阅读
Exploring char and string in C# [TOC] 1. System.Char Character char is an alias for System.Char. System.Char occupies two bytes, which is 16 binary bi[......] 继续阅读
.NET Core Method for Obtaining Database Context Instance and Configuring Connection Strings [TOC] Assuming the database has two tables: User and Blogs[......] 继续阅读
.NET Core 获取数据库上下文实例的方法和配置连接字符串 [TOC] 假设数据库就两个表:User、Blogs, 模型类如下 public class User { public int Id { get; set; } public strin[......]继续阅读
Developing .NET Core on Deepin using Rider [TOC] The domestic Deepin is quite good; I’d recommend it. I've used Deepin for a year or two just for casu[......] 继续阅读
Deepin 下 使用 Rider 开发 .NET Core [TOC] 国产的 Deepin 不错,安利一下。 Deepin 用了也有一两年,也只是玩玩,没用在开发上面。后来 Win10 不太清真了,就想着能不能到 Deepin下撸码。要搞开发,首先少不了 IDE,VS2019 用不[......] 继续阅读
.NET Core 对龙芯的支持情况和对 .NET Core 开发嵌入式的思考 [TOC] 一,遗憾的尝试 前些天看到了张队公众推送的《Asp.Net终于可以在龙芯服务器上运行啦:Jexus成功完成对国产系列CPU的适配》,联想到上一周与朋友在龙芯捣鼓 .NET Core,就想写一下关于 .NET[......] 继续阅读
Support for .NET Core on Loongson and Thoughts on Developing Embedded Systems with .NET Core [TOC] 1. Regrettable Attempt Not long ago, I came across[......] 继续阅读
[TOC] 说明 ASP.NET Core 3.0 一个 jwt 的轻量角色/用户、单个API控制的授权认证库 最近得空,重新做一个角色授权库,而之前做了一个角色授权库,是利用微软的默认接口做的,查阅了很多文档,因为理解不够,所以最终做出了有问题。 之前的旧版本 https://gi[......] 继续阅读
[TOC] Description ASP.NET Core 3.0 is a lightweight JWT role/user authentication library controlled by a single API. Recently, I had some spare time t[......] 继续阅读
C# Xamarin Data Binding Basics [TOC] About Data Binding Xamarin One-way and Two-way Binding Xaml Binding C# Code Binding Before diving deeper, here ar[......] 继续阅读
目录 关于数据绑定 视图-视图绑定 绑定模式 简单的集合绑定 C# Xamarin 数据绑定入门基础 关于数据绑定 Xamarin 单向、双向绑定 Xaml绑定 C#代码绑定 在此之前,几段 伪代码 帮助像我一样菜的同学入门[......] 继续阅读
C# HttpClient Request Authentication and Data Transmission Notes [TOC] I. Authorization Authentication When a client requests a server, authorization[......] 继续阅读
目录 一,授权认证 二,请求类型 三,数据传输 C# HttpClient 请求认证、数据传输笔记 一,授权认证 客户端请求服务器时,需要通过授权认证许可,方能获取服务器资源,目前比较常见的认证方式有 Basic 、JWT、Cookie。[......] 继续阅读