fatal: No url found for submodule path 'design' in .gitmodules 如图,.gitmodules中已经没有design的路径了 原因可能是本地存在缓存,清理一下缓存就好了 git rm --cached [路径名] 比如此处我是:git rm ...
分类:
其他好文 时间:
2020-06-07 12:47:30
阅读次数:
111
nums = [] lst = [i for i in range(101)] l = [] for j in range(2,101): # 将质数加入到 l 中 temp = 1 for i in range(2,j-1): if lst[j] % i == 0: temp = 0 if tem ...
分类:
其他好文 时间:
2020-06-07 12:41:13
阅读次数:
61
using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using Microsoft.AspNetCore.Mvc; namespace LayUICore.Areas ...
分类:
其他好文 时间:
2020-06-07 10:50:33
阅读次数:
62
Configuration 注:建议提前备份所有修改内容,可能会导致无法开机。 我的测试环境: server: windows 10 + windbg client: windows 7 Server Server代表被调式机,修改vmx文件,查找并删除所有serial项,添加以下串口配置: ser ...
分类:
系统相关 时间:
2020-06-06 14:29:01
阅读次数:
94
直接使用exe运行 大家都知道, .net core 是跨平台的,可以运行在任何操作系统。新的asp.net core 可以不再依赖IIS部署。 最简化的部署方式,无非就是双击web站点的exe程序运行。 如下图: 默认情况下,会自动启动 info: Microsoft.AspNetCore.Dat ...
MemoryCache是.Net Framework4.0中加入的内存缓存类; 在.Net Core的版本中,加入了以下内容: 1.缓存过期的回调 2.缓存容量的控制 3.缓存项优先级设定 4.缓存压缩 准备工作:Nuget安装Microsoft.Extensions.Caching.Memory ...
分类:
Web程序 时间:
2020-06-06 09:16:03
阅读次数:
244
NET CORE 3.1多语言 控制器多语言ConfigureServices 1 services.AddLocalization(o => { o.ResourcesPath = "Resources"; }); services.AddMvc(); Configure 2 IList<Cult ...
分类:
Web程序 时间:
2020-06-05 20:59:06
阅读次数:
99
原文:.NetCore3.1发布在CentOS后连接SqlServer数据库异常(SslException) 本次部署,基于docker进行,拉取的mcr.microsoft.com/dotnet/core/aspnet:3.1镜像。 这里,我没有使用Dockerfile文件来创建镜像。 Inter... ...
分类:
数据库 时间:
2020-06-05 14:54:41
阅读次数:
129
原文:ASP.NET Core Blazor Webassembly 之 路由 web最精妙的设计就是通过url把多个页面串联起来,并且可以互相跳转。我们开发系统的时候总是需要使用路由来实现页面间的跳转。传统的web开发主要是使用a标签或者是服务端redirect来跳转。那今天来看看Blazor是如... ...
分类:
Web程序 时间:
2020-06-05 14:45:30
阅读次数:
93
pom.xml: <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance ...
分类:
编程语言 时间:
2020-06-04 23:17:29
阅读次数:
116