Activities of "oshabani"

we were adding Dapper to our project using this article https://docs.abp.io/en/abp/latest/Dapper

but we face the issue of DependencyResolutionException None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Sbg.ProjectControl.Locations.LocationsAppService' can be invoked with the available services and parameters: Cannot resolve parameter 0

ABP Framework version: v5.1

  • UI type: MVC

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace:DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Sbg.ProjectControl.Locations.LocationsAppService' can be invoked with the available services and parameters: Cannot resolve parameter 'Sbg.ProjectControl.Locations.ILocationDapperRepository locationDapperRepository' of constructor 'Void .ctor(Sbg.ProjectControl.Locations.ILocationRepository, Volo.Abp.Domain.Repositories.IRepository`2[Sbg.ProjectControl.SubProjects.SubProject,System.Int32], Sbg.ProjectControl.Locations.ILocationDapperRepository)'.

  • Steps to reproduce the issue:

    • Add Volo.Abp.Dapper package to the EntityFramewokCore solution
    • Create a Module class for Dapper :
      • namespace Sbg.ProjectControl.EntityFrameworkCore { [DependsOn(typeof(AbpDapperModule))] public class ProjectControlDapperModule:AbpModule { }
    • create a Dapper repository interface public interface ILocationDapperRepository:IRepository<Location,int>
    • create Dapper repository implement the interface public class DapperLocationRepository : DapperRepository<ProjectControlDbContext>, ITransientDependency, ILocationDapperRepository
    • in the Application service private readonly ILocationDapperRepository _locationDapperRepository;
    • in the constructor i added a parameter to inject the repository
      • public LocationsAppService(ILocationRepository locationRepository, IRepository<SubProject, int> subProjectRepository, ILocationDapperRepository locationDapperRepository)

    that is!

  • we need to know how to fix this issue

Hi dose not work this is my ILocationDapperRepository and this is my Application service injection constructor this is my Dapper Repository

this is my Dapper Module which i didnt use it in any where but i still have the error


I already added but it is not working

sure , i sent it to your email as Dropbox link

thanks waiting for your feedback

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.2
  • UI type: / MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Salam ,

I need to have users password as a Palin Text , when the user register or update their passwords i want to save the passwords as Plain Text so when i want to migrate all users to different Identity Providers

thanks

hi

my request is to save the password as plain text NOT hashed code

how can we do this in ABP

Thanks ! regards,

Osama

hi where in the ABP , is there a clear way to do it , a walkthrough sample

regards,

Osama

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

i am trying to consume an API of an abp commercial application (which is not API application) from a ASP.NET API Application (not ABP)

i have try to "use /api/account/login" api to get the token using Postman but no luck at all , here are the result from Postman

i have try to use Restsharp library to consume the API but all the time i got HTML in my response which is the Login Page of the ABP application

any suggestions?

Hi Albert

the solution you provide is walk-around solution, we need more sustainable one

Regards,

Osama

Showing 1 to 10 of 51 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11