[TOC] 首先我要说明,我失败了~ 我把我的进度和经验放出来,希望能够帮助别人完成编译工作~ 背景:最近接手一个华为某型号的嵌入式设备,需要在上面搭建 .NET Core 环境。 设备是 Armel 架构的,Linux 内核 3.10;.NET Core ARM 只有 Armhf。 因此编译出来的[......] 继续阅读
[TOC] 首先我要说明,我失败了~ 我把我的进度和经验放出来,希望能够帮助别人完成编译工作~ 背景:最近接手一个华为某型号的嵌入式设备,需要在上面搭建 .NET Core 环境。 设备是 Armel 架构的,Linux 内核 3.10;.NET Core ARM 只有 Armhf。 因此编译出来的[......] 继续阅读
[TOC] First of all, I want to state that I have failed~ I am sharing my progress and experience in the hope of helping others complete the compilation[......] 继续阅读
CZGL.Auth Found a bug that only allows one user to log in at a time, without the ability for multiple users to log in simultaneously. Hahahahahahahaha[......] 继续阅读
CZGL.Auth 发现有Bug,会导致只能有一个用户登录,无法多个用户同时登录。 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈。 打算好好优化一下,周六周日修改Bug,做好测试再放出来,哈哈哈哈哈哈哈哈哈哈哈哈哈。 新版本开源地址:https://github.com/whuanle/CZGL.Auth[......] 继续阅读
[TOC] ① Store API Accessible by Roles/Users For example, Use List<ApiPermission> to store the authorized API list for the role. Optional. Author[......] 继续阅读
[TOC] ① 存储角色/用户所能访问的 API 例如 使用 List<ApiPermission> 存储角色的授权 API 列表。 可有可无。 可以把授权访问的 API 存放到 Token 中,Token 也可以只存放角色信息和用户身份信息。 /// <summary&g[......]继续阅读
ASP.NET Core Implements Distributed Caching Using Redis: Docker, IDistributedCache, StackExchangeRedis Prerequisite: A Linux server with Docker instal[......] 继续阅读
ASP.NET Core 使用 Redis 实现分布式缓存:Docker、IDistributedCache、StackExchangeRedis 前提:一台 Linux 服务器、已安装 Docker。 一,Docker 中运行 Redis 拉取 Redis 镜像 docker pull r[......]继续阅读
腾讯云-ASP.NET Core+Mysql+Jexus+CDN上云实践.md Opening a Tencent Cloud Server and MySQL Key Points: Usage of ASP.NET Core and Entity Framework Core Installa[......] 继续阅读
腾讯云-ASP.NET Core+Mysql+Jexus+CDN上云实践.md 开通腾讯云服务器和Mysql 知识点: ASP.NET Core和 Entity Framework Core的使用 Linux 下 安装和配置 Mysql 数据库 通过实体生成数据库 简单 Linux 命令和 She[......] 继续阅读
[TOC] 跟同事合作前后端分离项目,自己对 WebApi 的很多知识不够全,虽说不必要学全栈,可是也要了解基础知识,才能合理设计接口、API,方便与前端交接。 晚上回到宿舍后,对 WebApi 的知识查漏补缺,主要补充了 WebAPi 的一些方法、特性等如何与前端契合,如何利用工具测试 API 、[......] 继续阅读
Collaborating with Colleagues on a Front-End and Back-End Decoupled Project I've been working with colleagues on a decoupled front-end and back-end pr[......] 继续阅读
SQLIte 操作方便,简单小巧,这里笔者就不再过多介绍,感兴趣可以到以下博文 https://blog.csdn.net/qq_31930499/article/details/80420246 文章介绍创建ASP.NET Core 程序,创建模型、上下文,生成数据库,对数据库增删查改[......] 继续阅读
SQLite is convenient to use, simple and compact. The author will not elaborate further here; those interested can refer to the following blog. https:/[......] 继续阅读
ASP.NET Core 中,可以在静态目录添加文件,直接访问就可以下载。但是这种方法可能不安全,也不够灵活。 我们可以在 Controller 控制器中 添加 一个 Action,通过此Action,即可访问服务器的任何文件。 Action 格式 public FileResult D[......]继续阅读
In ASP.NET Core, files can be added to a static directory for direct download. However, this method may not be secure or flexible enough. We can add a[......] 继续阅读
ASP.NET Core 程序启动过程如下 目录 Startup 类 Configure() 方法 中间件 使用中间件 Configure 方法 的参数 IApplicationBuilder Extension Methods(拓展方法)--微软提供的中间件 1, Startup[......] 继续阅读
The startup process of ASP.NET Core applications is as follows Table of Contents Startup Class Configure() Method Middleware Using Middleware [......] 继续阅读
The author did not study ASP.NET, but went directly to learn ASP.NET Core. After finishing the basics of ASP.NET Core MVC, I began to learn about the[......] 继续阅读
笔者没有学 ASP.NET,直接学 ASP.NET Core ,学完 ASP.NET Core MVC 基础后,开始学习 ASP.NET Core 的运行原理。发现应用程序有一个非常主要的 “传导体” HttpContext 。 赶忙写一下笔记先。 目录 &ldqu[......] 继续阅读