public class ValuesController : ControllerBase { // GET api/values/123 [HttpGet("{id}")] public ActionResult<string> Get(int id) { using (var process = new Process()) { process.StartInfo.FileName = @"..\HelloWorld\bin\Debug\helloworld.[...…

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

public class ValuesController : ControllerBase { // GET api/values/123 [HttpGet("{id}")] public ActionResult<string> Get(int id) { using (var process = new Process()) { process.StartInfo.FileName = @"..\HelloWorld\bin\Debug\helloworld[....…

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

In a Startup class, add a static variable: readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins"; Configure global CORS in services: services.AddCors(options => { options.AddPolicy(MyAllowSpecificOrigins, buil[......]继续阅读

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

Startup 中,添加一个静态变量 readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins"; services 中配置全局放通 services.AddCors(options => { options.AddPolicy(MyAllowSpecificOrigins, builder => builder.AllowAnyHeader()[......]继续阅读

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

Jiang Tingfu’s "Modern History of China" - Thoughts on the Humiliation History of Modern China Mr. Jiang Tingfu's scientific research in modern Chinese history indeed opened up a new trend alongside Mr. Luo (Luo Jialun). He established a scientific f…

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

蒋廷黻著《中国近代史》**-中国近代屈辱史读后感** 蒋廷黻先生于近代中国史之科学研究,实与罗先生(罗家伦)同开风气。他为中国近代史建立了一个科学的基础,为旧中国的史学研究带来了新的方法、新的观念,是一个开山的人。 ——郭廷以 蒋廷黻(1895.12.7-1965.10.9),是中国著名历史学家、外交家,年轻时赴美求学,获得博士学位;1923年后回国,时任南开大学第一任历史系主任,与梁启超成为南开大学史学的奠基者。蒋廷黻经历过战争的洗礼、时代的冲击,在动荡年代目睹封建的王朝的衰落、欧美列强的入侵、中华民族水深火热的…

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

[Changsun Wuji, the Twenty-Four Meritorious Officials of Lingyanshan]Best buddy of Emperor Taizong of Tang, Li Shimin   Introduction to Changsun Wuji Changsun Wuji, courtesy name Fujiji (Born-Died: 597-659), lived from the end of the Sui Dynasty to the cr…

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

[凌烟阁二十四功臣之长孙无忌]唐太宗李世民的好基友   长孙无忌介绍 长孙无忌,字辅机(生卒时间:597年-659年),他一生从隋朝末年到唐高宗封武则天为皇后。长孙无忌是隋朝的长孙晟(右骁卫将军)之子,自幼被其高士廉(舅父)抚养长大,跟李世民是布衣之交。隋朝末年,李渊起兵后,无忌前去投奔,跟随李世民征战,成为心腹重臣,自此开始了他的宦途。唐朝开国后,长孙无忌论功排名第一,唐太宗李世民封其为齐国公。李世民劳苦功高、功勋卓著威胁到太子李建成的地位,李建成数次设法加害。为了反击,长孙无忌协助李世民在武德九年六月…

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

High-speed download site for Docker  http://get.daocloud.io/#install-docker If you are using a Linux system, you can install it directly using the command The author is using the domestic operating system Deepin, supporting domestic systems (this tutorial…

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

高速下载 Docker 的站点  http://get.daocloud.io/#install-docker 如果你是 linux系统,可以直接使用命令安装 笔者这里使用了 国产操作系统 Deepin ,支持一下国产系统(本教程适用其它Linux系统)    下载 Docker 打开终端,输入以下命令 curl -sSL https://get.daocloud.io/docker | sh 如果出现   bash: curl: 未找到命令 请使用以下命令后,再出现执行上面…

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

  Example source code download link https://qcloud.coding.net/api/project/3915794/files/4463836/download Project address:  https://dev.tencent.com/u/whuanle/p/asp.netcore_file_upload/attachment  Create Application Open VS 2017    --Create a…

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

  示例源码下载地址 https://qcloud.coding.net/api/project/3915794/files/4463836/download 项目地址 https://dev.tencent.com/u/whuanle/p/asp.netcore_file_upload/attachment  创建应用程序 打开VS 2017    --新建 ASP.NET Core Web 应用程序     --Web 应用程序(模型视图控制器)  程序名字、路…

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

System.Text.Encodings.Web The namespace contains a base class that represents web encoders, subclasses that represent HTML, JavaScript, and URL character encoding, as well as classes that represent filters that only allow the encoding of specific characters, c…

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

System.Text.Encodings.Web 空间包含表示 Web 编码器的基类、表示 HTML、JavaScript 和 Url 字符编码的子类,以及表示仅允许编码特定字符、字符范围或码位的筛选器的类。     [ 定义来自 microsoft ] 该命名空间有五个类,用于不同对象的编码处理。 五个类 HtmlEncoder 表示 HTML 字符编码。 JavaScriptEncoder 表示 JavaScript 字符编码。 TextEncoder Web 编码器的基类。 TextEncoderSetti…

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

First, you need to install Docker on your Mac Download link: https://download.docker.com/mac/stable/Docker.dmg Or check someone else's installation tutorial  How to install will not be elaborated here. Open Docker   Enter the command  docker run…

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

首先,你需要在 Mac 上安装好 Docker 下载地址 https://download.docker.com/mac/stable/Docker.dmg 或者查看别人的 安装教程  怎么安装这里就不在赘述了。 打开 Docker   输入命令  docker run -d --rm -p 8000:80 --name aspnetcore_sample microsoft/dotnet-samples:aspnetapp    #方法一 docker run -it --…

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

This is a student course selection information management system, developed using VS2010 + SQL2008, and runs normally on VS2017. Project source code download link: https://gitee.com/whuanle/xkgl The author has recorded two videos. You can check the videos at t…

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

这是一个学生选课信息管理系统,使用VS2010+SQL2008编写,VS2017正常使用。 项目源码下载地址 https://gitee.com/whuanle/xkgl 笔者录了两个视频,打开项目源码地址,可以先看看视频了解项目界面。 学生选课管理系统 项目介绍 这是一个学生选课信息管理系统,使用VS2010+SQL2008编写。 在 VS2017+SQL2014打开、运行正常。 有登陆窗口、嵌套窗体、多窗体、登陆验证码、任务栏小化(右下角)、学生信息管理、学生选课情况、班级统计等功能。 实现了对数据库…

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

This article mainly discusses Common C# namespaces using static directive && calling static methods Nested namespaces && scope Alias Main() method Common C# namespaces   Namespace Function System Defaults for file creation, handling mathematical…

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

本文主要讲 C# 常见命名空间 using static 指令 && 调用静态方法 嵌套命名空间&&作用域 别名 Main() 方法 C# 常见命名空间   命名空间 作用 System 创建文件是默认引入,处理数学计算、、环境变量、输出控制台、垃圾回收器及一些常见的异常和特征。 System.Collections 同:都是处理对象集合(列表和字典等) 异:后者是使用 泛型的强类型集合 System.Collections.Generic  Syste…

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