Search code examples
asp.netaspnetboilerplate

It is possible to retrieve host address in application service in abp framework?


It is possible to have host address in app services?

For example we want send email to customer with specific link point to site address. How is this possible?


Solution

  • HttpContext.Current.Request.Url

    can get you all the info on the URL. And can break down the url into its fragments.