I found many result articles by search Google and Baidu. And I tried out them. But I failed.
Now, you resolved my question.
Thank you.
Maybe you can add above content to UserGuide.
My clients want to look Chinese UI, while they touch my web application.
How to do ?
In documents, you mentioned that
IHttpClientProxy接口
你可以像上面那样注入IBookAppService来使用客户端代理,也可以注入IHttpClientProxy<IBookAppService>获取更多明确的用法.这种情况下你可以使用IHttpClientProxy<T>接口的Service属性.
But I can't find IHttpClientProxy<T> in any nuget package.
It is working now. Tks!
If I open above url via browser, I got this error:
{"error":{"code":null,"message":"对不起,在处理你的请求期间,产生了一个服务器内部错误!","details":null,"data":{"ActivatorChain":"Volo.AbpIo.NuGet.Controllers.AbpIoNugetIndexController"},"validationErrors":null}}
/usr/share/dotnet/sdk/6.0.101/NuGet.targets(130,5): error : Unable to load the service index for source https://nuget.abp.io/d7db9f02-ecc5-486c-bcdf-*********/v3/index.json.
As you know, my license is vlid untile 2022 the fourth month.
but I can not use my nuget source now. <add key="abp" value="https://nuget.abp.io/-ecc5--bcdf-***/v3/index.json" protocolVersion="3" />
I develope in Windows . And run gitlab-runner at server.
What happend to me ?
I created a module solution named Yee.EasyComment. Use 'dotnet build' to build all projects. Then I use 'dotnet pack' to build all nupkg packages. Then I push all packages to Nexus.
I reference above module in an solution created by ABP Suite. When I start the project in Debug mode via VS 2022, I got below exception
[13:30:33 INF] Starting web host.
[13:30:34 FTL] Host terminated unexpectedly!
System.IO.DirectoryNotFoundException: C:\Users\David\.nuget\packages\yee.easycomment.blazor\2021.12.913\staticwebassets\ at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root)
at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.<>c.<UseStaticWebAssetsCore>b__1_0(String contentRoot)
at Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider..ctor(StaticWebAssetManifest manifest, Func`2 fileProviderFactory)
at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment environment, IConfiguration configuration)
at Microsoft.AspNetCore.WebHost.<>c.<ConfigureWebDefaults>b__9_0(WebHostBuilderContext ctx, IConfigurationBuilder cb) at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass9_0.<ConfigureAppConfiguration>b__0(HostBuilderContext context, IConfigurationBuilder builder)
at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at Yee.Change.Brain.Blazor.Program.Main(String[] args) in D:\dev\gitlab\brain\src\Yee.Change.Brain.Blazor\Program.cs:line 32
D:\dev\gitlab\brain\src\Yee.Change.Brain.Blazor\bin\Debug\net6.0\Yee.Change.Brain.Blazor.exe (进程 36008)已退出,代码为 1。
I have resolved the problem.
The reason is from the permissions of the folder on Windows operatin system.
I have configured the global packages folder for NuGet.
After I re-install the Windows 11, the owner of above global foder has lost.
So, sometimes , VS 2022 can not wirte files into the global folder.
and I stored my projects under a global foder which hase above problem also.
After I reset the permisions of the folder, the problem resolved.
I have found out the problem!.
becuase there are no assembly in host\Yee.Change.Rms5.IdentityServer\bin\Debug\net6.0.
I copy the Assmbly 'ConfigureAwait.Fody' into 'bin\Debug\net6.0.'. Then throw new exception that can not found ''System.Security.Cryptography.Pkcs". I copy the Assmbly 'System.Security.Cryptography.Pkcs.dll' into 'bin\Debug\net6.0.'
The I successfully run the Identity Server and logged in!