Activities of "liangshiwei"

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

no need to generate returnurl like that.

you can try this https://<authserver>/account/register?returnurl=https://<publicwebsite>/account/login

hi,

You can use the current URL as the return URL.

For example:

var returnUrl = httpContext.Request.GetEncodedUrl()

I will fix the problem.

you can add a new AbpIdentityUserValidator to check email to solve it now. your ticket was refunded.

Showing 211 to 220 of 5643 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30