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
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
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.