public class ValuesController : ControllerBase { // GET api/values/123 [HttpGet("{id}")] public ActionResult<string> Get([......]继续阅读
public class ValuesController : ControllerBase { // GET api/values/123 [HttpGet("{id}")] public ActionResult<string> Get([......]继续阅读
public class ValuesController : ControllerBase { // GET api/values/123 [HttpGet("{id}")] public ActionResult<string> Get(i[......]继续阅读
Startup 中,添加一个静态变量 readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins"; services 中配置全局放通 services.AddCors[......]继续阅读
In a Startup class, add a static variable: readonly string MyAllowSpecificOrigins = "_myAllowSpecificOrigins"; Configure global COR[......] 继续阅读
Example source code download link https://qcloud.coding.net/api/project/3915794/files/4463836/download Project address: https://dev.tence[......] 继续阅读
示例源码下载地址 https://qcloud.coding.net/api/project/3915794/files/4463836/download 项目地址 https://dev.tencent.com/u/whuanle/p/asp.netcore_file_up[......] 继续阅读
System.Text.Encodings.Web The namespace contains a base class that represents web encoders, subclasses that represent HTML, JavaScript, and URL charac[......] 继续阅读
System.Text.Encodings.Web 空间包含表示 Web 编码器的基类、表示 HTML、JavaScript 和 Url 字符编码的子类,以及表示仅允许编码特定字符、字符范围或码位的筛选器的类。 [ 定义来自 microsoft ] 该命名空间有五个类,用于不同对象的编码处理[......] 继续阅读
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 tu[......] 继续阅读
首先,你需要在 Mac 上安装好 Docker 下载地址 https://download.docker.com/mac/stable/Docker.dmg 或者查看别人的 安装教程 怎么安装这里就不在赘述了。 打开 Docker 输入命令 do[......]继续阅读
First, I would like to clarify that the video tutorial and source code are not my original works. I have split the project and written some explanat[......] 继续阅读
首先说明,视频教程、源码并非本人原创 本人将项目分割开,并写了一些说明。 该视频教程 地址 https://study.163.com/course/courseMain.htm?courseId=1005955006 原作者 笔者正在学 ASP.NET Core ,发现这位[......] 继续阅读
The general usage format is int pagesize = page size (size of each page)int pageindex = the page number (this variable generally increments with eac[......]继续阅读
一般使用格式为 int pagesize = 分页大小(每一页大小)int pageindex = 第几页(一般这个变量是随循环递增的) 使用方法.Skip(pagesize*pageindex).Take(pagesize) .Skip() 忽略数,表示从哪里开始分[......] 继续阅读
Using app.UseFileServer In public void Configure(){} modify or add 1 app.UseFileServer(new FileServerOptions() 2 { 3[......]继续阅读
使用app.UseFileServer 在 public void Configure(){}中,修改或添加 1 app.UseFileServer(new FileServerOptions() 2 { 3 FileProvide[......]继续阅读
.NET Core 使用 Sonarqube 问题 运行 Sonarqube 的简单方法 docker run -d --name sonarqube -p 9000:9000 sonarqube 默认账号密码是 admim 登陆后创建项目和 token,直接按照提示选择 C#.NET。 .NET[......] 继续阅读
.NET Core Using Sonarqube Issues Simple Way to Run Sonarqube docker run -d --name sonarqube -p 9000:9000 sonarqube The default username and password a[......] 继续阅读
.NET Core 对龙芯的支持情况和对 .NET Core 开发嵌入式的思考 [TOC] 一,遗憾的尝试 前些天看到了张队公众推送的《Asp.Net终于可以在龙芯服务器上运行啦:Jexus成功完成对国产系列CPU的适配》,联想到上一周与朋友在龙芯捣鼓 .NET Core,就想写一下关于 .NET[......] 继续阅读
Support for .NET Core on Loongson and Thoughts on Embedded Development with .NET Core [TOC] 1. Regrettable Attempts A few days ago, I came across Zhan[......] 继续阅读