Base solution for your next web application

Activities of "agunghehe"

Hi,

I would like to know if setting a cookies can be done in the application service? I am expecting if httpcontext present in this layer, so i could arrange the cookies in the response object. Please let me know if this possible?

Or i should implement this as pure mvc controller?

Thanks

Hi,

I just understand if IAbpStartupConfiguration is a singleton. Does it mean, it will exist in entire application? I mean the same property will be used in all users?

Is there any possibility a user has its own connection string to be injected in AbpDbContext? How to do that?

Many thanks.

Regards,

Hi,

Is there any way to change Configuration.DefaultNameOrConnectionString in the Application or Core? I have a logic that need to switch that property to a new one, rather than already stated in the EntityFramework. i am expecting by changing this property i could easily switch to different database.

Thanks in advance mate.

Regards.

Hi Mate, many thanks for the quick response. I am very glad with the answer.

Following up about this, do you know how to repopulate the DBContext so that the connection comes from the tenant connection string? (I am using ABP, instead of ABPZero for now). This means just after the first DBContext do query to look at the tenant conn string, then i am hoping i can re-populate the DBContext with the tenant conn string. As far as i know the initialization of the DBContext is started at AbpBootstraper.

Many thanks for your response.

Regards,

Agung

Hi,

I would like to know if there is possibility i could have one database for each tenant by using current code? If not, would you give me some hints in particular area i need to enhance?

Thanks

Showing 1 to 5 of 5 entries