Accessing image from other server
问题 I have image file placed on the one server and application on other server. I want to access that image, below code I have written: On default.aspx, I have <asp:Image ID="Image1" runat="server" ImageUrl= "GetImage.aspx?imgName=MyImage.jpg" /> and on GetImage.aspx, I have written the below code on page_load protected void Page_Load(object sender, EventArgs e) { // Changing the page's content type to indicate the page is returning an image Response.ContentType = "image/jpg"; var imageName =