Starts in:
2 DAYS
10 HRS
10 MIN
42 SEC
Starts in:
2 D
10 H
10 M
42 S

Activities of "ninomartini"

Answer

Created a new v3.2.0 (Stable) project-- Angular/MongoDB/Not Tiered.

Unable to view the user's profile picture settings.

I converted the project from v3.0.5 to v3.1.2 and kept the resource owner password authentication.

Hello @mehmet

I was able to get the Angular domain tenant resolver to work in v3.1.2. Is there a way to hide the tenant selection from the login page without recreating the login page?

Created a new project with ABP Suite (Angular, MongoDB, v3.1.2). The CRUD Page Generator will not generate the Angular code if two or more enum properties defined. I tried uninstalling the ABP Suite and reinstalling. Also trried clearing my NuGet cache without success. This was working in v3.0.5.

Any other suggestions?

Hello @mehmet

Thank you for your response. I will wait and test this feature when v3.1 is released.

Abp v3.04/MongoDb/Angular

I am trying to implement this without success. In the HttpApi.Host project I modify ConfigServices to include the domain resolver.

public override void ConfigureServices(ServiceConfigurationContext context)
{
    var configuration = context.Services.GetConfiguration();
    var hostingEnvironment = context.Services.GetHostingEnvironment();

    Configure<AbpTenantResolveOptions>(options =>
    {
        options.TenantResolvers.Insert(1, new DomainTenantResolveContributor("{0}.localhost"));
    });

    ConfigureUrls(configuration);
    ConfigureConventionalControllers();
    ConfigureAuthentication(context, configuration);
    ConfigureSwagger(context);
    ConfigureLocalization();
    ConfigureVirtualFileSystem(context);
    ConfigureCors(context, configuration);
}

In my Angular project I update the enviroment.ts file to inlciude a baseUrl.

export const environment = {
  production: false,
  application: {
    baseUrl: 'https://{0}.localhost/',
    name: 'Mmg',
  },
  oAuthConfig: {
    issuer: 'https://localhost:44383',
    clientId: 'Mmg_App',
    dummyClientSecret: '1q2w3e*',
    scope: 'Mmg',
    showDebugInformation: true,
    oidc: false,
    requireHttps: true,
  },
  apis: {
    default: {
      url: 'https://localhost:44383'
    },
  },
  localization: {
    defaultResourceName: 'Mmg',
  }
};

http://localhost:4200/ will launch the application successfully. http://demo.localhost:4200/ returns status code 304 with a response of Invalid Host Header. Can you help shed some light on what I missed?

Answer

Solved by creating a factory function.

  providers: [
    { provide: 'list', useClass: ListService },
    { provide: 'unitMessageList', useClass: ListService },
    ...]
    
  constructor(
    @Inject('list') public readonly list: ListService,
    @Inject('unitMessageList') public readonly unitMessageList: ListService,
    ...
    }

Understood, thank you.

I am using a shared database solution. Why did DataFilter not work?

Thank you for your quick response. According to one of your earlier responses, I thought that _dataFilter.Disable<IMultiTenant>() would achive my goal.

[ How to inject a repository to supply all the tenantfull and tenantless records of a database table? #115](https://support.abp.io/QA/Questions/115/How-to-inject-a-repository-to-supply-all-the-tenantfull-and-tenantless-records-of-a-database-table)

When and how is _dataFilter.Disable<IMultiTenant>() applied?

Showing 11 to 20 of 30 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06