Created
June 2, 2013 08:51
Revisions
-
schotime renamed this gist
Jun 2, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,4 @@ // The problem is that the SiteResource method uses Request.ApplicationPath under the covers, but we are doing some // URL rewriting so the URL is not the same as the ApplicationPath. // Update: I should be able to create my own SiteResource method on my base view class??? -
schotime created this gist
Jun 2, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ <img src="~/test.aspx" /> // This complies to Response.Write("<img src=\""); Response.Write(SiteResource("~/test.aspx")); Response.Write("\" />"); // The problem is that the SiteResource method uses Request.ApplicationPath under the covers, but we are doing some // URL rewriting so the URL is not the same as the ApplicationPath. // I should be able to create my own SiteResource method on my base view class.