Last post Oct 19, 2009 03:35 AM by Thomas Sun – MSFT
Oct 14, 2009 07:17 AM|sjpk_2003|LINK
i have build a web deployment project when i install it i can able to see the action code file ie,aspx.vb or aspx.c# as well as design file aspx file. infact if this web site is published ordinarily all the action code files are hidden, when i build the
deployment project and install ,these files are not hiding ,if this is visible, client can easily able to read the code wat is inside .....is there any solution..
Oct 14, 2009 08:34 AM|karthicks|LINK
you can compile your project and deploy using asp.net compilation tools
Oct 14, 2009 08:37 AM|Abdulla.AbdelHaq|LINK
publish your website, and uncheck the option that "allow aspx to be editable".
Oct 14, 2009 09:59 AM|sjpk_2003|LINK
publish your website, and uncheck the option that "allow aspx to be editable"
can u tell me where can i set this "allow aspx to be editable" whether in IIS or something
if in IIS which tab in IIS i have to set this........
Oct 14, 2009 10:07 AM|sjpk_2003|LINK
Actually i am using vs2005 to compile and run .can u tell me how to do this using vs2005...
Oct 14, 2009 10:51 AM|ratish_shriyan|LINK
Right click on the Website in the solution explorer, select
Publish Website, then a dialog pops up asking you for the destination folder, in the same popup find a checkbox which says "Allow this precompiled site to be updateable", if you uncheck this all the code in the markup is removed. The
file will still remain the folders. You cannot avoid that.
Oct 14, 2009 11:48 AM|sjpk_2003|LINK
all u said is a website publishing concept .my problem is wen i build using web setup project the output msi i got was installed in client and these installed files has contains aspx.vb also i want the coding file to be hidden
and only design file visible like normal publish. how to do that...
Oct 19, 2009 03:35 AM|Thomas Sun – MSFT|LINK
We can add Web Deployment project (http://msdn.microsoft.com/en-us/magazine/cc163448.aspx) to precompile your ASP.NET website and then use this Web Deployment Project's output as Web Setup's
input (Right click Web Setup project and select Add Project Output..., and then select Web deployment project from Project dropdown list).
For more information, see
I look forward to receiving your test results.