[TOC] ① 存储角色/用户所能访问的 API 例如 使用 List<ApiPermission> 存储角色的授权 API 列表。 可有可无。 可以把授权访问的 API 存放到 Token 中,Token 也可以只存放角色信息和用户身份信息。 /// <summary> /// API /// </summary> public class ApiPermission { /// <summary> /// API名称 /// </summary&g…
[TOC] ① 存储角色/用户所能访问的 API 例如 使用 List<ApiPermission> 存储角色的授权 API 列表。 可有可无。 可以把授权访问的 API 存放到 Token 中,Token 也可以只存放角色信息和用户身份信息。 /// <summary> /// API /// </summary> public class ApiPermission { /// <summary> /// API名称 /// </summary&g…
ASP.NET Core Implements Distributed Caching Using Redis: Docker, IDistributedCache, StackExchangeRedis Prerequisite: A Linux server with Docker installed. I. Running Redis in Docker Pull Redis image docker pull redis Query image list docker images Several meth…
ASP.NET Core 使用 Redis 实现分布式缓存:Docker、IDistributedCache、StackExchangeRedis 前提:一台 Linux 服务器、已安装 Docker。 一,Docker 中运行 Redis 拉取 Redis 镜像 docker pull redis 查询镜像列表 docker imgaes 运行 Redis的几种方法 ①运行并且设置 Redis 端口 docker run -p 6379:6379 -d redis:latest redis-server ② do…
[TOC] SELECT The SELECT statement is used to select data from a table and is one of the basic operations of SQL. The result of a SELECT query is stored in a result table (referred to as a result set). SQL SELECT Syntax To query data from a specific column: SEL…
[TOC] SELECT SELECT 语句用于从表中选取数据,是 SQL 最基本的操作之一。 通过 SELECT 查询的结果被存储在一个结果表中(称为结果集)。 SQL SELECT 语法 只查询某个列的数据: SELECT [列名称] FROM [表名称] 查询所有列的数据 SELECT * FROM [表名称] SQL 查询所有数据 SELECT * FROM categories 查询一列或多列 SELECT category_id,category_name FROM categories 查询表达式 v…
Little Fan's Experience of Tencent Cloud Developer Training [TOC] I. Overview The "Tencent Cloud Developer Training" was prominently launched this month (August 2019) and has already rolled out the Tencent Cloud Developer Certification. Little Fan wa…
小范的腾讯云云开发者培训体验心得 [TOC] 一,概览 《腾讯云开发工程师培训》**于本月(2019年8月)重磅发布,并已上线腾讯云开发工程师认证。 小范受邀参加了 8~11日为期 4 天的线下培训。 当今是云计算时代,云计算凝聚了各种优秀的开源项目和云计算厂商久经考验的大规模实践技术。 作为一个有思想、爱学习的优秀大学生,肯定得去参加呀~于是屁颠屁颠地去了。 培训概述 腾讯云开发工程师培训将通过理论精讲与上机实验相结合的方式,系统性地介绍传统应用迁移上云的优势及其实现,以及基于腾讯云产品进行云原生应用和分布式微服…
Research and Usage Tutorial of the Open-Source Workflow Engine Workflow Core [TOC] 1. Workflow Objects and Preliminary Instructions To avoid ambiguity, prior agreements are established. A workflow consists of many nodes, with each node referred to as a Step. 1…
开源工作流引擎 Workflow Core 的研究和使用教程 [TOC] 一,工作流对象和使用前说明 为了避免歧义,事先约定。 工作流有很多节点组成,一个节点成为步骤点(Step)。 1,IWorkflow / IWorkflowBuilder Workflow Core 中,用于构建工作流的类继承 IWorkflow,代表一条有任务规则的工作流,可以表示工作流任务的开始或者 Do() 方法,或工作流分支获取其它方法。 IWorkflow 有两个同名接口: public interface IWorkflow<…
腾讯云-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 Installation and configuration of MySQL database on Linux Generating the database using entities Basic Linux commands a…
腾讯云-ASP.NET Core+Mysql+Jexus+CDN上云实践.md 开通腾讯云服务器和Mysql 知识点: ASP.NET Core和 Entity Framework Core的使用 Linux 下 安装和配置 Mysql 数据库 通过实体生成数据库 简单 Linux 命令和 Shell 工具的使用 反向代理 腾讯云CDN的使用、配置服务器 SSL 证书 一,创建 CVM 服务器 云服务器 CVM 简介 云服务器(Cloud Virtual Machine,CVM)为您提供安全可靠的弹性计算服务。 只…
[Abstract] This is an automatic generation tool for Docfx documents that I have developed. As long as you write the Markdown document well, this tool can quickly generate configurations for the directory and files, and then you can directly run docfx. https://…
[摘要] 这是我编写的一个 Docfx 文档自动生成工具,只要写好 Markdown 文档,使用此工具可为目录、文件快速生成配置,然后直接使用 docfx 运行即可。 https://github.com/whuanle/CZGL.DocfxBuild.Yml/releases/tag/1.0 一,安装Docfx 下载地址 https://github.com/dotnet/docfx/releases 下载后解压压缩包,记录好目录路径。 Win 搜索 “环境变量”,会出现 &ld…
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 project, and I realize I need to fill in some gaps in my knowledge about Web API. While it's not necessary to le…
[TOC] 跟同事合作前后端分离项目,自己对 WebApi 的很多知识不够全,虽说不必要学全栈,可是也要了解基础知识,才能合理设计接口、API,方便与前端交接。 晚上回到宿舍后,对 WebApi 的知识查漏补缺,主要补充了 WebAPi 的一些方法、特性等如何与前端契合,如何利用工具测试 API 、Axios 请求接口。 本文主要写 WebApi 前端请求数据到 API 、后端返回处理结果,不涉及登录、跨域请求、前端 UI 等。 前提:会一点点 VUE、会一点 Axios、会一点点 Asp.net Core。 工具…
Document Directory: Description 1. Connect to Alibaba Cloud IoT 2. IoT Client 3. Subscribe to Topics and Respond to Topics 4. Device Reports Properties 4.1 Report Location Information 5. Set Device Properties 6. Device Event Reporting 7. Service Invocation 8. …
文档目录: 说明 1. 连接阿里云物联网 2. IoT 客户端 3. 订阅Topic与响应Topic 4. 设备上报属性 4.1 上报位置信息 5. 设置设备属性 6. 设备事件上报 7. 服务调用 8. 委托事件 9. 自定义委托事件方法 预先在设备编写好相应的代码,这些代码能够处理一个或多个任务,即为 服务 ,一个服务包含一个或多个任务。 CZGL.AliIoTClient 中,服务器下发服务调用指令不需要设置,默认服务器可以直接下发命令而不需要经过客户端同意。虽然客户端能够直…
Document Directory: Description 1. Connect to Alibaba Cloud IoT 2. IoT Client 3. Subscribe Topic and Response Topic 4. Device Report Properties 4.1 Report Location Information 5. Set Device Properties 6. Device Event Reporting 7. Service Invocation 8. Delegate…
文档目录: 说明 1. 连接阿里云物联网 2. IoT 客户端 3. 订阅Topic与响应Topic 4. 设备上报属性 4.1 上报位置信息 5. 设置设备属性 6. 设备事件上报 7. 服务调用 8. 委托事件 9. 自定义委托事件方法 CZGL.AliIoTClient 里设置了 7 个委托事件,在程序的不不同生命周期触发。 1)7个委托事件 /// <summary> /// 服务器属性设置 /// </summary> public PublishProperty[.…
Document Directory: Description 1. Connect to Alibaba Cloud IoT 2. IoT Client 3. Subscribe to Topic and Respond to Topic 4. Device Reports Attributes 4.1 Report Location Information 5. Set Device Attributes 6. Device Event Reporting 7. Service Invocation 8. De…