Base solution for your next web application

Activities of "ismcagdas"

Hi,

You are right, default url must be "http://localhost:6240". Normally "abp.appPath" variable must have the value "/". Can you share the value of "abp.appPath" in your application ?

Hi,

Just set Clock.Provider to your implementation in Global.asax or your web module's initialize method.

Clock.Provider = new LocalClockProvider();

Hi,

If your entity implements IHasCreationTime, ABP automatically sets CreationTime to Clock.Now. See SetCreationAuditProperties method here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/a7cc09f5b1541b8543b91c6e74134a06d09c6ea7/src/Abp.EntityFramework/EntityFramework/AbpDbContext.cs">https://github.com/aspnetboilerplate/as ... Context.cs</a>.

If you look at the Clock class in ABP(<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/0762989fcd0493e8dc55a50a7443e891d1bffe1f/src/Abp/Timing/Clock.cs">https://github.com/aspnetboilerplate/as ... g/Clock.cs</a>), you will see

public static DateTime Now
{
    get { return Provider.Now; }
}

So, if you change Clock.Provider with your implementation, you can achieve what you want.

I hope this helps.

Hi,

Please take a look at this topic Hi,

Please take a look at this topic <a class="postlink-local" href="http://forum.aspnetboilerplate.com/viewtopic.php?f=6&t=325&p=1053&hilit=utc#p1053">viewtopic.php?f=6&t=325&p=1053&hilit=utc#p1053</a>. And this issue on ABP <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/40#issuecomment-92051308">https://github.com/aspnetboilerplate/as ... t-92051308</a>.

Basically you need to change Clock.Provider with your implementation of IClockProvider.. And this issue on ABP <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/40#issuecomment-92051308">https://github.com/aspnetboilerplate/as ... t-92051308</a>.

Basically you need to change Clock.Provider with your implementation of IClockProvider.

Hi,

Don't you create your ApplicationService with dependency injection ? In that way, repositories will be created by dependency injection too.

Hello,

Yes, in this solution "John Doe" needs to register in all the Tenants that he is working for/with :).

Hi,

It should work as you expected. Can you share your FormLayout entity definition ?

Hi,

Sorry for my late response. I couldn't find a clean answer to your problem.

I have tried with log4net 1.2.10.0 and Hangfire.Core 1.5.3 and it works as expected.

Do you also have Hangfire.SqlServer nuget package installed ? Is your web module depends on "AbpHangfireModule" ?

Hi,

@DunconWilson, I have replied your answer here #895@e63dbf3a-45c1-43a1-8e59-d04e6ae96ab5.

If it does not cover all of your questions, lets continue from that topic.

@Paddyfink, You can use the same scenario but if you want users to login without specifying tenant, you have to change AccountController's Login code.

  • Disable tenancy filter.
  • Find tenant of user, then login user for this tenant.
  • If there are more than one tenant matches, redirect to some tenant selection page. Then login user for selected tenant.

I hope this helps.

Hi,

We have implemented similar case in ASP.NET Zero. You can test it on <a class="postlink" href="http://demo.aspnetzero.com">http://demo.aspnetzero.com</a> or you can check the documentation <a class="postlink" href="http://aspnetzero.com/Documents/Development-Guide#linked-accounts">http://aspnetzero.com/Documents/Develop ... d-accounts</a>.

Basically, there must be one user for each tenant or host. You must link users to each other, using a database table.

For changing to another user, just logout current user and login target user.

I hope this helps.

Showing 12681 to 12690 of 12738 entries