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

浙公网安备 33010602011771号