Activities of "liangshiwei"

can you share the server log?

Could not find IdentityClientConfiguration for AbpMvcClient. Either define a configuration for AbpMvcClient or set a default configuration or set a default configuration

这不是问题,你可以忽略。

证书问题你可以看看这里的解决方案,目的是让系统信任证书 https://www.cnblogs.com/zinan/p/15853225.html

Hi,

you can run the Maui in release mode and debug it.

Answer

HI,

we have to create projects manualy (for example Domain, Domain.Shared and so on)

you don't need to do this.

you can configure csharp proxy in the Web project

[DependsOn(
    ......
    typeof(XXXServiceContractsModule), //Service Contracts module
    typeof(AbpVirtualFileSystemModule) //virtual file system
    .....
)]
public class XXXWebModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        // Prepare for static client proxy generation
        context.Services.AddStaticHttpClientProxies(
            typeof(XXXServiceContractsModule).Assembly,
            XXXServiceRemoteServiceConsts.RemoteServiceName // add XXXServiceRemoteServiceConsts class to Contracts project
        );

        // Include the generated app-generate-proxy.json in the virtual file system
        Configure<AbpVirtualFileSystemOptions>(options =>
        {
            options.FileSets.AddEmbedded<XXXWebModule>();
        });
    }
}

Add generate-proxy.json config to csproj file

  <ItemGroup>
    <EmbeddedResource Include="**\*generate-proxy.json" />
    <Content Remove="**\*generate-proxy.json" />
  </ItemGroup>

Then you can use abp command to generate proxy

BTW, please make the repo private

The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot

你的HTTPS证书有问题

如果你使用的是dotnet提供的开发证书,你可以尝试

dotnet dev-certs https --clean dotnet dev-certs https --trust

Hi,

i can run the projects without any problem.

you can try clear Redis and run projects again.

You can use the RestService provided by ABP.

it will add headers(tenantId, access_token, etc) automaticly

https://abp.io/docs/latest/framework/ui/angular/http-requests#restservice

okay

Hi,

The tenant key should be __tenant

https://abp.io/docs/latest/framework/architecture/multi-tenancy#determining-the-current-tenant

and you can put a breakpoint to debug

Showing 541 to 550 of 5976 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11