Activities of "maliming"

hi

The use of DI in profile is not supported, please check https://github.com/abpframework/abp/issues/5288

Now we are onto the next issue. The user logs in, however is immediately redirected to the logout screen.

hi jason.smith

Can you share the website url and username, password? So we can try it directly. liming.ma@volosoft.com

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.

Showing 8801 to 8810 of 8904 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 07, 2025, 07:14