You can write in aspx by plugging in what you want, and then create the page using:
BuildManager.CreateInstanceFromVirtualPath("~/MyPage.aspx",typeof(Page));
You need to wrap this when getting your HttpHandler:
var p = BuildManager.CreateInstanceFromVirtualPath("~/MyPage.aspx",typeof(Page));
HttpContext.Current.Handler =p;
(BuildManager is in System.Web.Compilation)
.... , ( ), ( 15).
: , , , . , , , , , .