[英]How do you modify the "Register User" method in dotnet core EF 5.0
When a new user registers, I need to create a folder etc. I want to find a Controller for this.当一个新用户注册时,我需要创建一个文件夹等。我想为此找到一个 Controller。 Note - I have already inherited from IdentityUser as described in:
注意 - 我已经从 IdentityUser 继承,如下所述:
https://learn.microsoft.com/en-us/as.net/core/security/authentication/customize-identity-model?view=as.netcore-5.0 https://learn.microsoft.com/en-us/as.net/core/security/authentication/customize-identity-model?view=as.netcore-5.0
How can I do this in do.net core EF 5.0 rc1?我如何在 do.net 核心 EF 5.0 rc1 中执行此操作?
If you selected Individual User Accounts but your project doesn't containg Account controller.You need to add it manually.For razor view.You can Right Click your project> Add > New Scaffold Item and select Identity then check your required pages you want to add.如果您选择了个人用户帐户,但您的项目不包含帐户 controller。您需要手动添加它。对于 razor 视图。您可以右键单击您的项目>添加>新建脚手架项目和 select 身份,然后检查您想要的所需页面添加。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.