I want to call domain(B) from source(A) in ASP.NET Visual Studio2015.

patrick

Well-known member
Joined
Dec 5, 2021
Messages
238
Programming Experience
1-3
I want to call UlsanPE IIS WebSit from a WebIP Visual Studio2015 ASP.NET Source.

Questions1) How do I code ASP.NET in WebIP Visual Studio2015 ASP.NET Source in the image below?


323.png


DO.png
 
In the future, please post code as text in code tags, rather than a screenshot.

Anyway, you would call or redirect to another site as you normally would: by providing a URL that references the other site. You either provide a full URL is the other site is in a completely different domain, or provide a relative URL for a virtual directory hosted with the same site.
 
In the future, please post code as text in code tags, rather than a screenshot.

Anyway, you would call or redirect to another site as you normally would: by providing a URL that references the other site. You either provide a full URL is the other site is in a completely different domain, or provide a relative URL for a virtual directory hosted with the same site.
Thank you your answer.

In your answer, " You either provide a full URL is the other site is in a completely different domain "
Can't you give me an example answer with code?
Is this the code you are talking about?

Response.Redirect(("http://www.stackoverflow .com");
if (!Response.IsRequestBeingRedirected) // Will not be called
Response.Redirect("http://www.google .com");

please answer.
 
Back
Top Bottom