Starts in:
0 DAY
21 HRS
35 MIN
49 SEC
Starts in:
0 D
21 H
35 M
49 S

Activities of "kerem.kalemci"

Hi Everyone,

I have an issue about using automapper. I have two class named as ClassA and ClassB. ClassA has two field; Name,Surname . Also ClassB has three field; Name,Surname and Phone. When I want use automapper for ClassB => ClassA, I expect just fill Name and Surname in ClassA and work with successfully. But in this situation if I don't ignore the Phone field, I got error for non mapped fields. I just want map same fields. But my application is not start without ignore fields. Thanks from now.

  • ABP Framework version: v6.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)

Hi everyone,

I have an issue with postgreSQL. I got this issue "Sorry, the number of clients is soo many" sometimes when I started IIS or when I try reach to already started services. What can I do for this issue. Thanks for helps from now.

  • ABP Framework version: v6.0.2
  • UI Type: Angular
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): No
    • Exception message and full stack trace:

  • ABP Framework version: v6.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): No

Hello everyone.

We have a micro service project that created by abp suite. We was added three different service project to this microservice project. And this service projects are feeding only one ui. Our goal is this service projects are convert a module template project with abp suite with easily. Our goal is separate their ui and after at all, we want make this uis to npm package and add to main ui. How can we do that, thanks from now.

Hello,

The ocelot's respective config:

{
  "ServiceKey": "Saas Service",
  "DownstreamPathTemplate": "/swagger/v1/swagger.json",
  "DownstreamScheme": "https",
  "DownstreamHostAndPorts": [
    {
      "Host": "testsaas.hitsoft.com.tr",
      "Port": 443
    }
  ],
  "UpstreamPathTemplate": "/testsaas.hitsoft.com.tr/{everything}",
  "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
},

When I choose SAAS from the swagger's dropdown, it complains 502 bad gateway. Auth, admin, identity works like a charm.

Question

Access to the path 'C:\Windows\system32\LogFiles\WMI\RtBackup' is denied.

This is the error message.

Hello,

Abp can't find the pfx file. It is at the root directory at the production.

The code is:

private X509Certificate2 GetSigningCertificate(IWebHostEnvironment hostingEnv, IConfiguration configuration)
{
    var fileName = "authserver.pfx";
    var passPhrase = "";
    var file = Path.Combine(hostingEnv.ContentRootPath, fileName);

    if (!File.Exists(file))
    {//
        throw new FileNotFoundException($"Signing Certificate couldn't found: {file}");
    }

    return new X509Certificate2(file, passPhrase);
}

Of course passPhrase is not empty.

Hello, I have a problem.

Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module HitFrame.SaasService.SaasServiceHttpApiHostModule, HitFrame.SaasService.HttpApi.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
 ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Extensions.DependencyInjection.AbpSwaggerGenServiceCollectionExtensions.AddAbpSwaggerGenWithOAuth(IServiceCollection services, String authority, Dictionary`2 scopes, Action`1 setupAction, String authorizationEndpoint, String tokenEndpoint)
   at HitFrame.Shared.Hosting.AspNetCore.SwaggerConfigurationHelper.ConfigureWithAuth(ServiceConfigurationContext context, String authority, Dictionary`2 scopes, String apiTitle, String apiVersion, String apiName) in C:\Users\hitsoftdevadm18\Desktop\atlassian-bitbucket-pipelines-runner\temp\79132501-1037-5832-acea-3435bd03b6a5\1715608337513\build\shared\HitFrame.Shared.Hosting.AspNetCore\SwaggerConfigurationHelper.cs:line 40
   at HitFrame.SaasService.SaasServiceHttpApiHostModule.ConfigureServices(ServiceConfigurationContext context) in C:\Users\hitsoftdevadm18\Desktop\atlassian-bitbucket-pipelines-runner\temp\79132501-1037-5832-acea-3435bd03b6a5\1715608337513\build\services\saas\src\HitFrame.SaasService.HttpApi.Host\SaasServiceHttpApiHostModule.cs:line 39
   at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)
   at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
   --- End of inner exception stack trace ---
   at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
   at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
   at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
   at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)

The code block:

  public override void ConfigureServices(ServiceConfigurationContext context)
  {
      // Enable if you need these
      // var hostingEnvironment = context.Services.GetHostingEnvironment();
      var configuration = context.Services.GetConfiguration();

      context.Services.AddAbpDbContext<SaasServiceDbContext>();
      JwtBearerConfigurationHelper.Configure(context, "SaasService");
      SwaggerConfigurationHelper.ConfigureWithAuth(
          context: context,
          authority: configuration["AuthServer:Authority"],
          scopes: new
              Dictionary<string, string> /* Requested scopes for authorization code request and descriptions for swagger UI only */ {
                  { "SaasService", "Saas Service API" }
              },
          apiTitle: "Saas Service API"
      );
      context.Services.AddCors(options =>
      {
          options.AddDefaultPolicy(builder =>
          {
              builder
                  .WithOrigins(
                      configuration["App:CorsOrigins"]
                          .Split(",", StringSplitOptions.RemoveEmptyEntries)
                          .Select(o => o.Trim().RemovePostFix("/"))
                          .ToArray()
                  )
                  .WithAbpExposedHeaders()
                  .SetIsOriginAllowedToAllowWildcardSubdomains()
                  .AllowAnyHeader()
                  .AllowAnyMethod()
                  .AllowCredentials();
          });
      });
      ConfigureHealthChecks(context);
  }

And;

public static void ConfigureWithAuth(
    ServiceConfigurationContext context,
    string authority,
    Dictionary<string, string> scopes,
    string apiTitle,
    string apiVersion = "v1",
    string apiName = "v1"
)
{
    context.Services.AddAbpSwaggerGenWithOAuth(
        authority: authority,
        scopes: scopes,
        options =>
        {
            options.SwaggerDoc(apiName, new OpenApiInfo { Title = apiTitle, Version = apiVersion });
            options.DocInclusionPredicate((docName, description) => true);
            options.CustomSchemaIds(type => type.FullName);
            options.ResolveConflictingActions(apiDesc => apiDesc.First());
        });
}
Showing 1 to 7 of 7 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06