how to get url of application on web server

I have two applications on webserver that are as follows


/externalApp    www.externalApp com

I need to get the URL of externalApp via code from the internalApp.  Normally if I was in the same app I would use

FULLPATH = Request.Url.GetLeftPart(UriPartial.Authority) + Request.ApplicationPath

However how would I do this so I can get the FULLPATH of externalApp when in the internalApp

I need to get teh

Who is Participating?
I'm assuming you know the url of external app and want to know its full path, working from the url?

Almost certainly security will prevent you doing this directly.

Would you be able to put something in externalapp which would respond to internalapp?  I mean a page in externalapp which will 'respond' with its full path when accessed by internalapp?
mugseyAuthor Commented:
Yes I see.

If think I could just hardcode the "externalApp" bit onto the


what do you think
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.