Table of Contents I. Install Baota Panel (V 6.8) II. Use Baota to Install Docker and Configure Alibaba Cloud Container Service III. Install Ranc[......] 继续阅读
Table of Contents I. Install Baota Panel (V 6.8) II. Use Baota to Install Docker and Configure Alibaba Cloud Container Service III. Install Ranc[......] 继续阅读
目录 一,安装宝塔面板(V 6.8) 二,使用宝塔安装 Docker,配置阿里云容器服务 三,安装 Rancher (Server) 四,管理 Rancher、添加集群 五,添加 Rancher 应用、服务,与 Nginx 六,ASP.NET Core 应用部[......] 继续阅读
1. Nginx Configuration File Nginx can be configured for reverse proxying, load balancing, etc. Its default configuration file is named nginx.conf. Gen[......] 继续阅读
1,Nginx 的 配置文件 Nginx 可以配置反向代理、负载均匀等, 其默认配置文件名为 nginx.conf 。 一般存放于 /你的安装目录/nginx/conf 下 Nginx 加载配置信息,可以把所有的配置都放进 nginx.conf 文件,也可以根据站点分[......] 继续阅读
SQLite is convenient to use, simple and compact. The author will not elaborate further here; those interested can refer to the following blog. https:/[......] 继续阅读
SQLIte 操作方便,简单小巧,这里笔者就不再过多介绍,感兴趣可以到以下博文 https://blog.csdn.net/qq_31930499/article/details/80420246 文章介绍创建ASP.NET Core 程序,创建模型、上下文,生成数据库,对数据库增删查改[......] 继续阅读
The author's front-end files are as follows: The author adds Bootstrap 4 and Font Awesome (icon fonts) because Bootstrap 4 no longer includes[......] 继续阅读
笔者的前端文件如下 笔者增加Bootstrap 4 和 FontAwersome(字体图标),因为Bootsrap 4已经不再包含图标了。 ASp.Net Core 中,通常在 _Layout.cshtml 文件设置全局css、js文件, 其中有两个标签 <environm[......]继续阅读
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 中,可以在静态目录添加文件,直接访问就可以下载。但是这种方法可能不安全,也不够灵活。 我们可以在 Controller 控制器中 添加 一个 Action,通过此Action,即可访问服务器的任何文件。 Action 格式 public FileResult D[......]继续阅读
The startup process of ASP.NET Core applications is as follows Table of Contents Startup Class Configure() Method Middleware Using Middleware [......] 继续阅读
ASP.NET Core 程序启动过程如下 目录 Startup 类 Configure() 方法 中间件 使用中间件 Configure 方法 的参数 IApplicationBuilder Extension Methods(拓展方法)--微软提供的中间件 1, Startup[......] 继续阅读
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[......] 继续阅读
Table of Contents: System.ComponentModel Attribute Namespaces and Common Classes System.ComponentModel.DataAnnotations ComponentModel - Classes Compon[......] 继续阅读
目录: System.ComponentModel 特性命名空间与常用类 System.ComponentModel.DataAnnotations ComponentModel - Classes 类 ComponentModel - Structs 结构体 ComponentModel[......] 继续阅读
The author recently studied the concept of expression trees and wrote this article to reinforce understanding. If there are any errors, please comment[......] 继续阅读
笔者最近学了表达式树这一部分内容,为了加深理解,写文章巩固知识,如有错误,请评论指出~ 表达式树的概念 表达式树的创建有 Lambda法 和 组装法。 学习表达式树需要 委托、Lambda、Func<> 基础。 表达式树 形状可以参考 二叉树。 可以把表达式树理解成 数学表达式。[......] 继续阅读
In everyday use of delegates, the following common methods are available: Method NameDescription Clone Creates a shallow copy of the d[......] 继续阅读
在日常使用委托时,有以下常用方法 方法名称说明 Clone 创建委托的浅表副本。 GetInvocationList 按照调用顺序返回此多路广播委托的调用列表。 GetMethodImpl 返回由当[......] 继续阅读