Activities of "EngincanV"

Answer

In ABP SUITE "Server.Entity.Entity.txt" TEMPLATE

   public %%entity-name%%(%%primary-key%% id, %**%constructor-parameters%%**) 
        { 
            Id = id; 
%%constructor-parameters-with-values%% 
        } 

IF Entity has NavigationProperties and optional parameters, NavigationPropertie's primary key is at the end of parameters then get this error."CS1737: Optional parameters must appear after all required parameters."

Thanks for reporting the issue. This is a known problem and we'll test and fix it asap.

Answer

when adding CmsKit to my solution i get the following error

why is the gulp file missing?

Removed gulp dependency from the MVC / Razor Pages UI in favor of abp install-libs command of the ABP CLI.

https://blog.abp.io/abp/ABP-IO-Platform-5.0-RC-1-Has-Been-Released

I am not able to send mail.

While Using MailKit error:->

MailKit.Security.SslHandshakeException: 'An error occurred while attempting to establish an SSL or TLS connection. The host name did not match the name given in the server's SSL certificate. AuthenticationException: The remote certificate was rejected by the provided RemoteCertificateValidationCallback.

While Using Smtp Error:-> Bad sequence of commands. The server response was: you must authenticate first (#5.5.1) This exception was originally thrown at this call stack: [External Code] EmailSendDemo.AbpEmailingServices.SmtpEmailSender.SendEmailAsync(System.Net.Mail.MailMessage) in SmtpEmailSender.cs [External Code] EmailSendDemo.AbpEmailingServices.EmailSenderBase.SendAsync(System.Net.Mail.MailMessage, bool) in EmailSenderBase.cs [External Code] EmailSendDemo.AbpEmailingServices.EmailSenderBase.SendAsync(string, string, string, string, bool) in EmailSenderBase.cs [External Code] EmailSendDemo.MailTestService.RunAsync() in Program.cs [External Code] EmailSendDemo.Program.Main(string[]) in Program.cs

Hi @kapil, can you set SecureSocketOption as SecureSocketOptions.SslOnConnect:

Configure<AbpMailKitOptions>(options =>
{
    options.SecureSocketOption = SecureSocketOptions.SslOnConnect;
});

SslOnConnect -> The connection should use SSL or TLS encryption immediately. (http://www.mimekit.net/docs/html/T_MailKit_Security_SecureSocketOptions.htm)

Hi again @alex@livemobility.com, thanks for your suggestion. I will update the documentation.

I close the question since it seems your problem is resolved. Thanks again.

Hi again @kaustubh.kale@ness.com, I am sorry I've added the wrong URL.

Can you check this question's answers? I think the suggested steps in this question can answer your question.

Hi @Serdar, you need to override the CurrentTenant class, get the tenant by current tenant id and access the Extra Property dictionary of the tenant.

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(ICurrentTenant), typeof(CurrentTenant), typeof(MyCurrentTenant))]
public class MyCurrentTenant : CurrentTenant
{   
   private readonly ITenantRepository _tenantRepository;
   
   public MyCurrentTenant(ICurrentTenantAccessor currentTenantAccessor, ITenantRepository tenantRepository):base(currentTenantAccessor)
    {
        _tenantRepository = tenantRepository;
    } 
    
   public async Task<Dictionary<string, object>> GetExtraProperties() 
   {
       if(!base.Id.HasValue) 
       {    
           return new Dictionary<string, object>();
       }
       
       var tenant = await _tenantRepository.GetAsync(base.Id);
       //implement your logic
       //tenant.ExtraProperty ...
   }
}

Hi, actually this is not related to ABP but Swashbuckle/Swagger. But I want to give you some instructions to how to do this,

  • You can use the Unchase.Swashbuckle.AspNetCore.Extensions package and follow these steps.
  • If you don't want to use external package, you can create a new SchemaFilter and define it in your configuration. Check this Stackoverflow answer for this.

Hi @zhongfang, thanks for reporting the problem. It should be working now, can you try it again?

Hi @jlavallet, we've re-deployed the support platform. Now, you can use the advanced search section to make an exact match.

Hi @jlavallet, relevant PR is still under review. When it's approved/merged, we will re-deploy our support platform. I will inform you when it is done.

In the meantime, could you address the need I expressed?

Can you create a new question for this issue?

Showing 581 to 590 of 724 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11