test
This commit is contained in:
1 parent
c732ecb1d2
commit
03dd9b8f6b
1 file changed
+1
-1
@@ -8,7 +8,7 @@ public partial class Program
|
||||
{
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// IOC 注册:自动注册 ISingletonDependency / IScopedDependency / ITransientDependency,并执行所有 IStartup / IModule.AddModule
|
||||
// IOC 注册:自动注册 ISingletonDependency / IScopedDependency / ITransientDependency,并执行所有 IStartup / IModule.AddModule
|
||||
// 模块服务注册阶段(等价于 builder.Services.AddStoreHub(builder.Configuration, builder.Environment),额外把配置/环境交给模块)
|
||||
builder.AddStoreHub();
|
||||
builder.Services.AddFreeSqlDB();
|
||||
|
||||
Reference in new issue
Block a user