We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e4ce2c commit 5a76e80Copy full SHA for 5a76e80
1 file changed
demo/Test.Client/Program.cs
@@ -27,8 +27,9 @@ static async Task Main(string[] args)
27
IServiceCollection services = new ServiceCollection();
28
services.AddLogging()
29
//单机版Httpclient配置
30
- .AddHttpClient(TestServerName, client => { client.BaseAddress = new Uri("http://localhost:34047/Test.Server6"); })
+ .AddHttpClient(TestServerName, client => { client.BaseAddress = new Uri("http://localhost:34047"); })
31
.AddDotNetCoreRpcClient(options => {
32
+ options.Path = "/Test.Server6";
33
options.AddRpcClient<IPersonService>().AddRpcClient<IProductService>();
34
});
35
//基于Nacos注册中心
0 commit comments