We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a38a05a commit 99ffb96Copy full SHA for 99ffb96
src/AbpODataDemo.WebApi/AbpODataDemoWebApiModule.cs
@@ -1,8 +1,10 @@
1
using System.Reflection;
2
+using System.Web.OData;
3
using System.Web.OData.Builder;
4
using System.Web.OData.Extensions;
5
using Abp.Application.Services;
6
using Abp.Configuration.Startup;
7
+using Abp.Dependency;
8
using Abp.Modules;
9
using Abp.WebApi;
10
using Abp.WebApi.Controllers.Dynamic.Builders;
@@ -20,6 +22,8 @@ public override void PreInitialize()
20
22
21
23
public override void Initialize()
24
{
25
+ IocManager.Register<MetadataController>(DependencyLifeStyle.Transient);
26
+
27
IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
28
29
DynamicApiControllerBuilder
0 commit comments