c# - Find the URL of an application -
i working on asp.net c# application.
i wish find url of application. example, application nrcme want return http://localhost:4833/nrcme/ when running locally. server want return
you can find information url in request.url. include file name default can remove this:
request.url.absoluteuri.replace(request.url.localpath, "")
Comments
Post a Comment