Base solution for your next web application

Activities of "maliming"

As it turns out, [Delete BIN OBJ Folders] needs to exclude the node_modules directory. :D

hi geek1913

What is the output of npm run create-bundles?

You can open the browser's development tool to see if there is javascript file not loaded successfully, or javascript script to perform wrong output.

hi rvanwoezik I saw that you are using OwnsOne why you don’t use a one-to-many relationship. Because you have split the table [Table("PhysicalAddresses")]

Can you create a simple demo that reproduces the problem.

hi joe704la

If you want to implement this feature as soon as possible, You can override Abp.SetNewEmailConfirmationCode by yourself. Customize EmailConfirmationCode and add a timestamp (note that the length should not exceed 328)

Then perform custom validation in AccountAppService.ActivateEmail.

I provide an implementation, but you can customize the way you like.

The DataProtectorTokenProvider uses the TokenLifespan property of the DataProtectionTokenProviderOptions by default to validate the validity period. The default is 1 day.

Of course, DataProtectionTokenProviderOptions can be customized, please refer to:[https://github.com/aspnet/Docs/issues/5436])

//Generate email code
var user = await _userManager.FindByIdAsync("3");
var emailCode = await _dataProtectorTokenProvider.GenerateAsync("ActivateEmail", _userManager, user);
//emailCode like CfDJ8BgfrGEzWk9Chdg/C6u19QLFGUhjSSZs12yz/guCxJDzbNUe2vBxSK8OK9gyS+7wDHAt3MYV1tMKEWA0ysONLPBJfyC9qLFbNGxi3S32c6I3vsmCRMOFmTSPoISBIPAHaNgt3lLd76mxxw9Gu4dWraNdhZgOF3GcbdH5namG2ld4YBULmFjwB9WkHMqVXS/V9A==


// send email

//Validate
if (await _dataProtectorTokenProvider.ValidateAsync("ActivateEmail", emailCode, _userManager, user))
{
	//Activate success!
}
else
{
	//Activate fail.
}

asp net identity [https://www.asp.net/identity]) has this feature(Zero also integrates asp net identity), but currently there is no such feature in zero.

It looks like there is no problem. You can see what the generated SQL statement is, isn't there no data in the database? Can you share more code?

I visited this site. In the chrome console web panel you see that the web page loading time is slow because the js file download is slow. Scripts.js Vendor.js Main.js

You can consider compacting static resources such as js and css. Of course, server bandwidth is also a very important factor.

There is currently no validation for the validity period, simply comparing EmailConfirmationCode.

But asp net identity has its own token expiration time validation.

So we can consider increasing the expiration date of the confirmation phone and email, changing the password and so on.

The best way to modify a database in EntityFrameworkCore is via migration. The abp zero upgrade will not affect your previous database migration. Migration records are automatically merged. :)

Showing 2981 to 2990 of 2993 entries