Last post Apr 11, 2008 05:35 AM by Momo_Stev
Apr 08, 2008 08:55 AM|franferns|LINK
Again, Well im stuck again..!!! this time again its the same thing ..!!
in my dll..!! Which means i the js the aspx all in the dll..!! But im preety sure that we cannot add a aspx page directly to the dll..!!! But i did figure out a way..!! I added an html file and changed its extensions to aspx and implemented the Page_Load and
tried calling the aspx page with the build action set to embedded resource and i try calling the page but it opens has a downloadable file..!! If i dont set it to embedded resource i get an blank page which certainly is not the aspx page causei have a lot
of control s on that...!!
If its an HTMl file and i try opening it it just works fine but not an aspx ...!!! Now can soneone help me as to how can i achive this..!!! Please..!!!
Any suggestion would be really appreciated..!!
Thanks in advance
Apr 09, 2008 09:52 PM|Nai-Dong Jin - MSFT|LINK
The ASPX working mechanism is not that easy as you thought. In IIS, all the requests with an aspx extension will be sent to aspnet_isapi.dll to process, and finally
it is handled by aspnet_wp.exe or w3wp.exe (iis5/iis6).
But for a resource file (determine by the MIME type and the extensions), it would not be processed by the ASPNET working thread. So, no matter if you have change
the extensions from html or aspx, you cannot hope an aspx page be embedded as an assembly resource.
Apr 10, 2008 09:58 AM|franferns|LINK
Thank you Nai for replying to my question..!!! Ok is there any work around for that ..!! Or spliting up the logic is the only way...!!
Apr 11, 2008 05:35 AM|Momo_Stev|LINK
ASPX can not be embedded in dll, i don't think there's a walkround.