Base solution for your next web application
Open Closed

Getting error on asp.net boilerplate. #3056


User avatar
0
abu created

Hi all, I hope you all are having a great day! I just start teaching my younger brother about this with the basic i got from this superb platform but i got stuck on the beginning , got error on

DynamicApiControllerBuilder
               .ForAll<IApplicationService>(Assembly.GetAssembly(typeof(AmebaSpaApplicationModule)), "ameba")
               .Build();

*Some initialize error I am not getting it out the reason for this. Please help me out

Thanks in advance Abu


2 Answer(s)
  • User Avatar
    0
    abu created

    Hi all I hope you all

    DynamicApiControllerBuilder
                   .ForAll<IApplicationService>(Assembly.GetAssembly(typeof(TravelsHubApplicationModule)), "ameba")
                   .Build();
    

    Error: CS0120 An object reference is required for the non-static field, method, or property 'DynamicApiControllerBuilder.ForAll<IApplicationService>(Assembly, string)'

    in TravelsHub.WebApi layer Please help me out

    Thanks in advance

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Sorry for the late reply. Have you fixed your problem ?

    Thanks.