Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 31st, 2006, 03:05 PM
Registered User
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compiling the website into dll

Hello,

I am quite new with .Net so please bare with me. I have created a website and it works as expected.

I have heard that you can compile the website into a DLL and no source code is necessary for the site to work. Basically at this point I would like to compile this website into a dll the behind code (which i think is the aspx.cs files) are no longer needed on the website. Pretty much I would like to know how I can put up the website with the compiled version so no source code can be modified or read.

Thank you for your help in advance.
 
Old November 3rd, 2006, 05:14 PM
Friend of Wrox
 
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I won't bare with you, but I'll bear with you.

Yes - you can compile the .cs or .vb files into a dll (that includes the aspx.cs and ascx.cs as well as other .cs files). You still need the .aspx pages in the appropriate directories.

There are several ways to do this - one way is to uset the Copy Project feature, which you can set to copy only the files needed to a specific root directory. You can also manually copy the files needed, copying only the files that are aspx/asmx/whatever plus the dll file in the bin directory. Of course, you can also do an msi install as well.

Woody Z http://www.learntoprogramnow.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Website to a DLL ashu_from_india .NET Framework 2.0 2 April 18th, 2008 05:20 AM
Dynamic website to Static website Aboal3ood ASP.NET 1.x and 2.0 Application Design 4 December 7th, 2006 11:46 AM
Install problems - VS 6.0 on XP SCRRUN.DLL PDM.DLL jeff4444 Visual C++ 0 December 6th, 2006 08:48 PM
Where did my website dll go? mega .NET Framework 2.0 3 May 16th, 2006 01:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.