简介AddSingleton:此方法创建一个Singletion 服务。首次请求时创建Singleton 服务。... AddScoped:此方法创建一个Scoped 服务。在范围内的每个请求中创建一个新 ...
確定! 回上一頁