Base solution for your next web application

Activities of "jesse"

Question

When I get user ID from apb.session.userid,first time it works well.but when i logout,Change the user logon apb.session.userid is Last logon user ID,it was caching. how can i get apb.session.userid Real-time

Hi

I Use HttpContext.Current.Session int my project ,when I login succeed,I Assign values to the AbpSession object's properties , but when I refresh my page, abpSession object's properties always is null . but sometimes it's ok .how can I Keep Session State。Do I need to Assign values in Application_BeginRequest(AbpWebApplication ) method ?

thank you

Question

hi, I stored Localization text in .NET's resource files.L method in MVC Views is also localized into English,when changing the language . but it work well in Application layer and Controller layer thank you !

Hi I want to use the Ado.net to Save Data. I created a class library “Abp.Ado” just ike "Abp.EntityFramework" , then I created a class "AdoRepositoryInstaller.cs"

internal class AdoRepositoryInstaller : IWindsorInstaller
    {
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            container.Register(
                Component.For(typeof(IRepository<>)).ImplementedBy(typeof(AdoRepositoryBase<>)).LifestyleTransient(),
                Component.For(typeof(IRepository<,>)).ImplementedBy(typeof(AdoRepositoryBase<,>)).LifestyleTransient()
                );
        }
    }

then Create a module "GalaxyDBModule.cs"

public override void Initialize()
        {
            IocManager.IocContainer.Install(new AdoRepositoryInstaller());
            IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());          
        }

But running error

Can't create component 'Galaxy.Application.Products.ProductAppService' as it has dependencies to be satisfied.

'Galaxy.Application.Products.ProductAppService' is waiting for the following dependencies:

- Service 'Galaxy.Core.Products.IProuctRepository' which was not registered.

thank you

Showing 1 to 4 of 4 entries