Activities of "maliming"

When I try to use abp.setting.get() get an error as "cannot find name abp"

abp.setting.get only applies to mvc, for angular you should refer to: https://support.abp.io/QA/Questions/444#answer-b53630fd-c319-0a02-f4d8-39f7f04a4e29

hi @bozkan

Please refer to Settings document. This is apply for abp vnext. https://docs.abp.io/en/abp/latest/Settings

hi tngo

Can you explain it in detail?

Answer

hi @ishaq.alzidi

Is there hava any error message in logs?

You can try Change Tenant:

using (CurrentTenant.Change(tenant.Id))
{
	await DataSeeder.SeedAsync(
		new DataSeedContext(tenant.Id)
			.WithProperty("AdminEmail", "info@abp.io")
			.WithProperty("AdminPassword", "1q2w3E*")
		);
}

hi

We are trying to create Rest API using AWS API gatewaybut when trying to import swagger definition of our API, it gives the validation error as mentioned below -

It may be that the content of swagger does not meet the requirements of AWS API gateway. Does it provide a sample of swagger?

hi @drpdev2

The AccountResource is exist in the Volo.Abp.Account.Pro.Shared.Application.Contracts package

If you stil can't resolve this problem you can send a email to me(liming.ma@volosoft.com), We can remotely check it via teamviewer.

Answer

hi @gvnuysal

Angular uses client side routing. If you refresh a page (F5) then IIS will handle the request and will not find the requested path and returns a HTTP 404 error. We should configure IIS to redirect all requests to the index.html page (or, to the root path). At the same time, IIS needs to install the URL Rewrite module, please refer to https://www.iis.net/downloads/microsoft/url-rewrite

You can try the following web.config.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <staticContent>
      <remove fileExtension=".json" />
      <mimeMap fileExtension=".json" mimeType="application/json" />
	  <mimeMap fileExtension="woff" mimeType="application/font-woff" />
      <mimeMap fileExtension="woff2" mimeType="application/font-woff" /> 
    </staticContent>
    <!-- IIS URL Rewrite for Angular routes -->
    <rewrite>
      <rules>
        <rule name="Angular Routes" stopProcessing="true">
          <match url=".*" />
          <conditions logicalGrouping="MatchAll">
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
            <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" />
          </conditions>
          <action type="Rewrite" url="/" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
</configuration>
Answer

hi @songshuai1986

We will check this, Thanks.

hi dhamel@pulsartrading.com

Please try add new migrations file of EF Core.

Answer

hi @songshuai1986

This is like a network problem, you can try to use proxies for abp.exe and abp-suite.exe.

Showing 8351 to 8360 of 8450 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11