Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "ajay"

Hello,

I am using ABP MVC template (ASP.NET 4.6) for admin side of my site and now want to use ASPNET Core(4.6) and Angular 4 for frontend.

Is it possible to use ABP project Libraries (APPLICATION,CORE,EF and WEBAPI) into this new frontend? Please provide info on how to initialize ABP into this new project and call Application services.

Thanks

Hello,

I am getting following error when working with unit tests in ABP project template.

System.InvalidOperationException : Mapper not initialized. Call Initialize with appropriate configuration. If you are trying to use mapper instances through a container or otherwise, make sure you do not have any calls to the static Mapper.Map methods, and if you're using ProjectTo or UseAsDataSource extension methods, make sure you pass in the appropriate IConfigurationProvider instance.

I have following in my GetList Method in ProductAppService Class.

return new ListResultDto<ProductDto>(countries.MapTo<List<ProductDto>>());

This works fine in web but throw error with Unit Tests.

Thanks.

Showing 1 to 2 of 2 entries