-
Notifications
You must be signed in to change notification settings - Fork 1
ziranquliu/MicroAppService
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
dotnet WebApp.dll --ip 127.0.0.1 --port 8889 dotnet WebAppService.dll --ip 127.0.0.1 --port 5001 dotnet WebAppService.dll --ip 127.0.0.1 --port 5002 cmdÆô¶¯·½Ê½ set ASPNETCORE_URLS=http://127.0.0.1:5001 dotnet smsservice1.dll set ASPNETCORE_URLS=http://127.0.0.1:5002 dotnet emailservice1.dll powershellÆô¶¯·½Ê½ # Unix: ASPNETCORE_URLS="https://*:5123" dotnet run # Windows PowerShell: $env:ASPNETCORE_URLS="https://*:5123" ; dotnet run # Windows CMD (note: no quotes): SET ASPNETCORE_URLS=https://*:5123 && dotnet run dotnet ocelotserver1.dll dotnet smsservice2.dll --ip 127.0.0.1 --port 5001 dotnet smsservice2.dll --ip 127.0.0.1 --port 5002 dotnet ocelotserver2.dll set ASPNETCORE_URLS=http://127.0.0.1:5001 dotnet JWTTokenServer1.dll http://127.0.0.1:5001 set ASPNETCORE_URLS=http://127.0.0.1:5002 dotnet calcservice3.dll set ASPNETCORE_URLS=http://127.0.0.1:5000 dotnet ocelotserver3.dll dotnet ID4.IdServer.dll set ASPNETCORE_URLS=http://127.0.0.1:10000 dotnet ocelot_id4server.dll dotnet MsgService.dll --ip 127.0.0.1 --port 5001 dotnet ProductService.dll --ip 127.0.0.1 --port 5002 dotnet ocelottest1.dll Ocelot+Consul dotnet MsgService.dll --ip 127.0.0.1 --port 5002 Exception: Unable to start Ocelot, errors are: Unable to start Ocelot, errors are: Unable to start Ocelot because either a ReRoute or GlobalConfiguration are using ServiceDiscoveryOptions but no ServiceDiscoveryFinderDelegate has been registered in dependency injection container. Are you missing a package like Ocelot.Provider.Consul and services.AddConsul() or Ocelot.Provider.Eureka and services.AddEureka()? ############################################## services.AddOcelot().AddConsul(); ##############################################
About
微服务研究学习项目
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published