[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 work~ Background: Recently, I took over an embedded device of a certain model from Huawei, which requires set…

2019年12月15日 3条评论 4444点热度 1人点赞 痴者工良 阅读全文

[TOC] 首先我要说明,我失败了~ 我把我的进度和经验放出来,希望能够帮助别人完成编译工作~ 背景:最近接手一个华为某型号的嵌入式设备,需要在上面搭建 .NET Core 环境。 设备是 Armel 架构的,Linux 内核 3.10;.NET Core ARM 只有 Armhf。 因此编译出来的二进制文件无法在此设备下运行。 然后想尝试在 Git 上下载源码,手动编译出 Armel 版本的 .NET Core SDK/Runtime。 感谢张队提供了大量的参考资料。 一,工作开始前 .NET Core SDK/…

2019年12月15日 3条评论 4302点热度 1人点赞 痴者工良 阅读全文

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. Hahahahahahahahahahahahahahahahahahahahaha. I plan to optimize it properly, fix the bug over the weekend, and do some testing …

2019年12月15日 0条评论 3542点热度 0人点赞 痴者工良 阅读全文

CZGL.Auth 发现有Bug,会导致只能有一个用户登录,无法多个用户同时登录。 哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈。 打算好好优化一下,周六周日修改Bug,做好测试再放出来,哈哈哈哈哈哈哈哈哈哈哈哈哈。 新版本开源地址:https://github.com/whuanle/CZGL.Auth 我的代码太渣了,大佬们指点一下。 CZGL.Auth 是一个基于 Jwt 实现的快速角色授权库,ASP.Net Core 的 Identity 默认的授权是 Cookie。而 Jwt 授权只提供了基础实现和接口,需要自…

2019年12月15日 0条评论 3400点热度 0人点赞 痴者工良 阅读全文

[TOC] ① Store API Accessible by Roles/Users For example, Use List<ApiPermission> to store the authorized API list for the role. Optional. Authorized APIs can also be stored in the Token, which can solely contain role information and user identity informa…

2019年12月15日 0条评论 3140点热度 0人点赞 痴者工良 阅读全文

[TOC] ① 存储角色/用户所能访问的 API 例如 使用 List<ApiPermission> 存储角色的授权 API 列表。 可有可无。 可以把授权访问的 API 存放到 Token 中,Token 也可以只存放角色信息和用户身份信息。 /// <summary> /// API /// </summary> public class ApiPermission { /// <summary> /// API名称 /// </summary&g…

2019年12月15日 0条评论 2977点热度 0人点赞 痴者工良 阅读全文

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…

2019年12月15日 0条评论 3888点热度 1人点赞 痴者工良 阅读全文

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…

2019年12月15日 0条评论 3606点热度 1人点赞 痴者工良 阅读全文

[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…

2019年12月15日 3条评论 3489点热度 0人点赞 痴者工良 阅读全文

[TOC] SELECT SELECT 语句用于从表中选取数据,是 SQL 最基本的操作之一。 通过 SELECT 查询的结果被存储在一个结果表中(称为结果集)。 SQL SELECT 语法 只查询某个列的数据: SELECT [列名称] FROM [表名称] 查询所有列的数据 SELECT * FROM [表名称] SQL 查询所有数据 SELECT * FROM categories 查询一列或多列 SELECT category_id,category_name FROM categories 查询表达式 v…

2019年12月15日 3条评论 3329点热度 0人点赞 痴者工良 阅读全文

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…

2019年12月15日 1条评论 1220点热度 0人点赞 痴者工良 阅读全文

小范的腾讯云云开发者培训体验心得 [TOC] 一,概览 《腾讯云开发工程师培训》**于本月(2019年8月)重磅发布,并已上线腾讯云开发工程师认证。 小范受邀参加了 8~11日为期 4 天的线下培训。 当今是云计算时代,云计算凝聚了各种优秀的开源项目和云计算厂商久经考验的大规模实践技术。 作为一个有思想、爱学习的优秀大学生,肯定得去参加呀~于是屁颠屁颠地去了。 培训概述 腾讯云开发工程师培训将通过理论精讲与上机实验相结合的方式,系统性地介绍传统应用迁移上云的优势及其实现,以及基于腾讯云产品进行云原生应用和分布式微服…

2019年12月15日 1条评论 3509点热度 0人点赞 痴者工良 阅读全文

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…

2019年12月15日 2条评论 962点热度 0人点赞 痴者工良 阅读全文

开源工作流引擎 Workflow Core 的研究和使用教程 [TOC] 一,工作流对象和使用前说明 为了避免歧义,事先约定。 工作流有很多节点组成,一个节点成为步骤点(Step)。 1,IWorkflow / IWorkflowBuilder Workflow Core 中,用于构建工作流的类继承 IWorkflow,代表一条有任务规则的工作流,可以表示工作流任务的开始或者 Do() 方法,或工作流分支获取其它方法。 IWorkflow 有两个同名接口: public interface IWorkflow<…

2019年12月15日 2条评论 4340点热度 0人点赞 痴者工良 阅读全文

腾讯云-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…

2019年12月15日 0条评论 1899点热度 0人点赞 痴者工良 阅读全文

腾讯云-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)为您提供安全可靠的弹性计算服务。 只…

2019年12月15日 0条评论 3213点热度 0人点赞 痴者工良 阅读全文

[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://…

2019年12月15日 2条评论 760点热度 0人点赞 痴者工良 阅读全文

[摘要] 这是我编写的一个 Docfx 文档自动生成工具,只要写好 Markdown 文档,使用此工具可为目录、文件快速生成配置,然后直接使用 docfx 运行即可。 https://github.com/whuanle/CZGL.DocfxBuild.Yml/releases/tag/1.0 一,安装Docfx 下载地址 https://github.com/dotnet/docfx/releases 下载后解压压缩包,记录好目录路径。 Win 搜索 “环境变量”,会出现 &ld…

2019年12月15日 2条评论 3949点热度 0人点赞 痴者工良 阅读全文

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…

2019年12月15日 0条评论 1804点热度 1人点赞 痴者工良 阅读全文

[TOC] 跟同事合作前后端分离项目,自己对 WebApi 的很多知识不够全,虽说不必要学全栈,可是也要了解基础知识,才能合理设计接口、API,方便与前端交接。 晚上回到宿舍后,对 WebApi 的知识查漏补缺,主要补充了 WebAPi 的一些方法、特性等如何与前端契合,如何利用工具测试 API 、Axios 请求接口。 本文主要写 WebApi 前端请求数据到 API 、后端返回处理结果,不涉及登录、跨域请求、前端 UI 等。 前提:会一点点 VUE、会一点 Axios、会一点点 Asp.net Core。 工具…

2019年12月15日 0条评论 4273点热度 1人点赞 痴者工良 阅读全文
1404142434454