摘要: 在Asp.Net core中的IServiceCollection容器中注册服务的生命周期分以下3种: 1、Transient 通过AddTransient注册,会在IServiceCollection容器每次被请求时创建实例。 2、Scoped 通过AddScoped注册,会在每次客户端请求时创建 阅读全文
posted @ 2020-04-28 16:23 迷途小书童F 阅读(281) 评论(0) 推荐(0)
摘要: git init git status //查看仓库状态 git add @filename// 跟踪指定文件 git add . //添加所有文件到暂存区 git commit -m "description" //提交并描述 git remote add @shortname http://gi 阅读全文
posted @ 2020-04-28 14:53 迷途小书童F 阅读(90) 评论(0) 推荐(0)