Base solution for your next web application
Open Closed

appservicen which was not registered #1261


User avatar
0
iamnish created

getting following error while opening a page :

Ni.diam.Web.Areas.Mpa.Controllers.SaleController' is waiting for the following dependencies:

  • Service 'Ni.diam.Dtoapp.ISaleappservice' which was not registered.

3 Answer(s)
  • User Avatar
    0
    gunpal5 created

    make sure your Application Service Interfaces are extending IApplicationService interface. e.g.

    public interface IMyAppService:IApplicationService
    {
     Task SomeApplicationServiceMethod();
    }
    
  • User Avatar
    0
    iamnish created

    yes it is but still getting the error

    public interface ISaleappservice : IApplicationService {

    }

  • User Avatar
    0
    iamnish created

    it got resolved .It was just because of some typing mistake anyways thanks for help