NServiceBus, how to MapPath
-
30-06-2021 - |
Pergunta
Trying to get the path to my "XML documentation file" on NServiceBus. Normally I would use HttpContext.Current.Server.MapPath
, however NServiceBus doesn't use HttpContext. So the question is, how do I get a path to the "XMl doucumentation file" and other files on NServiceBus?
Thanks!
-a-
Solução
Per the comment, use the AppDomain
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow