Activities of "trendline"

@alper, Great, thanks a lot.

@yekalkan, no, this a new solution based on module-pro template. it seems, it cannot get the template file from server?

When using abp suite create crud pages for a module template, it seems missed the Permissions.cs file. it failed with below logs:

2020-03-09 04:05:38.166 +08:00 [INF] 4/9 - ProxyControllerCommand completed.                   | Duration: 10 ms.
2020-03-09 04:05:38.166 +08:00 [INF] 5/9 - PermissionCommand started...
2020-03-09 04:05:38.167 +08:00 [WRN] ---------- RemoteServiceErrorInfo ----------
2020-03-09 04:05:38.167 +08:00 [WRN] {
  "code": "Cannot find Permissions.cs",
  "message": "An internal error occurred during your request!",
  "details": null,
  "validationErrors": null
}
2020-03-09 04:05:38.167 +08:00 [WRN] Exception of type 'Volo.Abp.BusinessException' was thrown.
Volo.Abp.BusinessException: Exception of type 'Volo.Abp.BusinessException' was thrown.
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.PermissionCommand.EqKcdt4xe9()
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.PermissionCommand.hXQc5gQJvB()
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.PermissionCommand.ExecuteAsync(CrudPageCommandOptions options)
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options)
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution)
   at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(String solutionName, EntityModel entity)
   at lambda_method(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeNextActionFilterAsync&gt;g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.&lt;InvokeNextExceptionFilterAsync&gt;g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2020-03-09 04:05:38.168 +08:00 [WRN] Code:Cannot find Permissions.cs```

Using Volo.Abp.MailKit resolved this issue.

Thanks for your help, Maliming.

As the account loign/register/reset password/forget password features are common requirements, and all of them with customized scenarios because they are the global entry point as the public interface, in order to override or add customized feature more convenient, these packages should open source for team user.

Thanks.

yes, zero using MailKit. How to replace Volo.Abp.Mailing instead of Volo.Abp.MailKit in abp vNext?

"Settings": {
    "Abp.Mailing.DefaultFromAddress": "email-sender@mydomain.com",
    "Abp.Mailing.DefaultFromDisplayName": "email-sender",
    "Abp.Mailing.Smtp.Host": "smtp.mydomain.com",
    "Abp.Mailing.Smtp.Port": "25",
    "Abp.Mailing.Smtp.Domain": "mail.mydomain.com",
    "Abp.Mailing.Smtp.UseDefaultCredentials": "False",
    "Abp.Mailing.Smtp.UserName": "email-sender@mydomain.com",
    "Abp.Mailing.Smtp.Password": "not encrypted password",
    "Abp.Mailing.Smtp.EnableSsl": "False"
  }

One more question, is there a place to configure disable the email sending ?

I followed up your suggestion configured the mail settings in the appsettings.json, but the same configurations works fine under my AspNet Zero application, but failed in abp application, get below logs: System.Net.Mail.SmtpException: Mailbox name not allowed. The server response was: authentication is required at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response) at System.Net.Mail.MailCommand.EndSend(IAsyncResult result) at System.Net.Mail.SendMailAsyncResult.SendMailFromCompleted(IAsyncResult result) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source) at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result) --- End of stack trace from previous location where exception was thrown --- at Volo.Abp.Emailing.Smtp.SmtpEmailSender.SendEmailAsync(MailMessage mail) at Volo.Abp.Emailing.EmailSenderBase.SendAsync(MailMessage mail, Boolean normalize) at Volo.Abp.Emailing.EmailSenderBase.SendAsync(String to, String subject, String body, Boolean isBodyHtml) at Volo.Abp.Account.Emailing.AccountEmailer.SendEmailConfirmationLinkAsync(IdentityUser user, String confirmationToken, String appName) at Volo.Abp.Account.AccountAppService.RegisterAsync(RegisterDto input)

I searched this exception on the web, still not get an avaialbe solution.

Answer

One more question: How to customize login and register form in the IdentiteryServer project? Or there is a place coude override the account module?

Showing 31 to 40 of 52 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13