Base solution for your next web application

Activities of "birthdaycensus"

Its ASP.NET 5.x

Hello Dear Thanks for your response. I have already done what is suggested in that post. This is what I am having in the Initialize method of my WebApiModule

Configuration.Modules.AbpWebApi().DynamicApiControllerBuilder
                .ForAll<IApplicationService>(typeof(KolaApplicationModule).Assembly, "app")
                .Build();

            Configuration.Modules.AbpWebApi().DynamicApiControllerBuilder
                .ForAll<IApplicationService>(typeof(KolaContentApplicationModule).Assembly, "content")
                .Build();

In the KolaContentApplicationModule, I have ICategoryAppService that has a method GetCategory(int id) I am trying to access this method from the endpoint, /api/services/content/category/GetCategory?id=10 I got the error, "No HTTP resource was found that matches the request URI 'http://localhost:6634/api/services/content/category/GetCategory?id=10'." But when I move ICategoryAppService to the KolaApplicationModule, I can access it from /api/services/app/category/GetCategory?id=10

Note that KolaContentApplicationModule is in a different project. In the Initialize method of the KolaContentApplicationModule , I have made the call,

IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());

What am I doing wrong, please

Just want to post this in case someone else is having thesame issue. The reason why my nuget packeges where not been restored is that .nuget/nuget.exe was missing in my extracted file. What i did to resolve this was to copy it from another project

Showing 1 to 3 of 3 entries