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

Activities of "alikareemraja"

<cite>hikalkan: </cite> Rename PostRepoistory to PostRepository than it will work.. typing mistake ;)

Ah, a typo. That's embarrassing :shock: . Thank you for the help guys!

<cite>Chrisk: </cite> Hi There,

Are you using EF for data access ? If so there is generic repository that you propably want to use. How do you register your repositories ?

Thank you for the quick response! This is my repository interface

public interface IPostRepository : IRepository<Post, Guid >
    {
    }

And this is my repository.

public class PostRepoistory : AMSRepositoryBase<Post, Guid>, IPostRepository
    {
        public PostRepoistory(IDbContextProvider<AMSDbContext> dbContextProvider)
            : base(dbContextProvider)
        {
        }
    }

Hope this makes things more clear

This is my application service. I'm i've included the follwing repositories.

public class GroupAppService : IGroupAppService
    {
        private readonly IGroupRepository _groupRepository; 
        private readonly UserManager _userManager;
        public IAbpSession AbpSession { get; set; }
        private IGroupQuizRepository _groupQuizRepository { get; set; }
        private IGroupAssignmentRepository _groupAssignmentRepository { get; set; }

Everything works fine until I include

private IPostRepository _groupSocialRepository;

Now whenever I make a call to this application service from dynamic api, the ioc container fails to initialize ALL of the repoistories. everything is null. Urgent help please i've spent a lot of time trying to fix it.

Stupid mistake on my end. Removed <script src="~/api/AbpServiceProxies/GetAll"></script> which was causing the issue :)

Proxy services appear when I browse "/api/AbpServiceProxies/GetAll?type=angular" and they are correct. However appSession.js gives this error.

[attachment=1:kkgdg6kt]error.JPG[/attachment:kkgdg6kt]

Here is the object in debug mode. [attachment=0:kkgdg6kt]object.JPG[/attachment:kkgdg6kt]

Kindly help ASAP! I'm stuck :(

Hello,

I am trying to implement a site where individual users sign up on the site and choose editions for purchase. One way to implement is to create a tenant for each user, but that seems like a poor approach. Is there a better way to use ABP to manage features and editions on user basis?

Showing 1 to 6 of 6 entries