You can use the web deployment project to pre-compile the ASP.Net 2.0 web application in-to one dll. This will save you from sharing the actual .cs and aspx.cs files to client as they are pre-compiled into one dll.
This should help, but remember some smart client can always use the refactor tools to look into the dll and read your code. Still, this will give your code a basic security level
-- Anup Daware
--Go for it now. The future is promised to no one.--
After you create an .net assembly using above mentioned approach, you can encrypt the assembly. Following article should help. Read both Part1 and Part2 for more on securing the .net assemblies:
We can add Web Deployment project (http://msdn.microsoft.com/en-us/asp.net/aa336619.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).
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
nlad
Member
5 Points
19 Posts
Want to make set up file of my web site
May 28, 2009 08:24 PM|LINK
Hello:
i created testing website, now i awn to make setup file my website.i want to give it to my client but don't want to include source code.
how can i do this.
i m using :VS2005,.net framwork 2.0
thanks
"Web Deployment Project" web deployment projects "Web Deployment Project" MSCRM4.0 Deployment tools Web Setup Project
anup_daware
Contributor
3166 Points
560 Posts
Re: Want to make set up file of my web site
May 29, 2009 03:44 AM|LINK
Hello,
You can use the web deployment project to pre-compile the ASP.Net 2.0 web application in-to one dll. This will save you from sharing the actual .cs and aspx.cs files to client as they are pre-compiled into one dll.
Following are the related links:
http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx
http://msdn.microsoft.com/en-us/magazine/cc163448.aspx
http://msdn.microsoft.com/en-us/asp.net/aa336619.aspx
http://forums.asp.net/t/1411407.aspx
This should help, but remember some smart client can always use the refactor tools to look into the dll and read your code. Still, this will give your code a basic security level
-- Anup Daware
anup_daware
Contributor
3166 Points
560 Posts
Re: Want to make set up file of my web site
May 29, 2009 03:49 AM|LINK
After you create an .net assembly using above mentioned approach, you can encrypt the assembly. Following article should help. Read both Part1 and Part2 for more on securing the .net assemblies:
http://www.codeproject.com/KB/security/NeCoder01.aspx
http://www.codeproject.com/KB/security/NeCoder02.aspx
Hope this helps,
Anup Daware
Naveen S
Member
6 Points
4 Posts
Re: Want to make set up file of my web site
May 29, 2009 09:18 PM|LINK
I have used web deployment and also u can follow below link.. hope it solves your issue
http://www.codedigest.com/Articles/VisualStudio/126_Web_Deployment_Project_for_Visual_Studio_2005_and_2008.aspx
nlad
Member
5 Points
19 Posts
Re: Want to make set up file of my web site
Jun 01, 2009 02:19 PM|LINK
hey anup:
i created .dll file successfully,
now i don't know how to create set up file.
can u sugges me how to use this dll file in set up,
thnks in advance.
Thomas Sun –...
All-Star
64969 Points
5621 Posts
Re: Want to make set up file of my web site
Jun 03, 2009 04:01 AM|LINK
Hi,
We can add Web Deployment project (http://msdn.microsoft.com/en-us/asp.net/aa336619.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 http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx
I look forward to receiving your test results.
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
nlad
Member
5 Points
19 Posts
Re: Want to make set up file of my web site
Jun 03, 2009 02:07 PM|LINK
hey it works,
thanks Lot!
nlad
Member
5 Points
19 Posts
Re: Want to make set up file of my web site
Jun 03, 2009 03:08 PM|LINK
Hi:
i got this error msg while making buil of web deployment of my website.
Error 14 "aspnet_merge.exe" exited with code 1. 1 1 MoviespotWebsite
Naveen S
Member
6 Points
4 Posts
Re: Want to make set up file of my web site
Jun 03, 2009 07:18 PM|LINK
Download and install this
http://www.microsoft.com/downloads/details.aspx?familyid=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en
but make sure you dont cancel between the installation. let it complete and untill then have pizzza
Thomas Sun –...
All-Star
64969 Points
5621 Posts
Re: Want to make set up file of my web site
Jun 04, 2009 01:23 AM|LINK
Hi,
Thanks for your response.
The error message is general. You can try to configure Visual Studio to output detailed build information and then troubleshoot the issue.
For more information, see http://geekswithblogs.net/michelotti/archive/2006/07/31/86754.aspx
Thanks.
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.