0
ipservant created
Hello,
I'm struggling on a thing that looks fairly simple at first sight, but I didn't find the right hint yet... We have the situation in an AppService where we need to call another web service (a document converter) and provide him with a callback URL of one of our host controllers.
Now the question is, how do I get the equivalent to AppConsts.remoteServiceBaseUrl in the host AppService? To me the value of the appsettings.json ServerRootAddress would make sense to use, but how can I get that in an AppService?
Thanks for your help!
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
2 Answer(s)
-
1
hi
I think you can inject
IWebUrlServicein the application service and call itsGetServerRootAddressmethod.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thank you, that works fine!
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)