Base solution for your next web application

Activities of "tinman"

My issue looks like it was caused by Jquery version updates. I refreshed all the NuGet Packages I could to get current, and forgot to update the BundleConfig.cs to the new versions! All is working now.

Hopefully this helps somebody if they forget after applying NuGet updates...

This is happening for me as well. Freshly downloaded template from today Feb 27.

I also had to rollback to DynamicFilters 1.4.11 to make the template run, but have same token error.

We need to be able to generate a link to a specific record in our system, but since we are configured for Multi-Tenant we need to make sure we include the correct sub-domain. I noticed some references to a webUrlService in the forums/web but can't find it in the framework. Is there a service available to get the multi-tenant root URL?

Apologies if this is more fitting for Module zero, but wanted to ask here first.

For hosting on Azure websites, the DpapiDataProtectionProvider cannot be used.

Taken from this source: [http://goo.gl/ScdYP5])

Here is the solution that worked for me in ABP:

Added to Startup.cs

//Global
 internal static IDataProtectionProvider DataProtectionProvider { get; private set; }

Added to Configuration

public void Configuration(IAppBuilder app)
        {
             ...
             DataProtectionProvider = app.GetDataProtectionProvider();
         }

Instantiated in Account Controller :

var dataProtectionProvider = Startup.DataProtectionProvider;
 _userManager.UserTokenProvider = new DataProtectorTokenProvider<User, long>(dataProtectionProvider.Create("ASP.NET Identity")) as IUserTokenProvider<User, long>;

var resetcode = await _userManager.GeneratePasswordResetTokenAsync(user.Id);
var emailcode = await _userManager.GenerateEmailConfirmationTokenAsync(user.Id);
//use either token as needed 
...
Showing 1 to 4 of 4 entries