>1. I am interested in knowing how I can compile an existing asp.net
>application into DLL(s), so that the code will be inaccessable if I sell
>the application to clients. What is the best tool for this?
Visual Studio 2005
>2. Also, is is true that the files need to be code-behind prior to
>compiling the code to DLL file(s)?
Yes
>3. If I have to use code-behind, which tool would be best for this (for
>someone who hasn't programmed this way before)?
Visual Studio 2005
Marc
Edwin Knoppert - 16 Feb 2006 08:37 GMT
If you don't really know ANY details, don't answer.
At least #1 and #3 are wrongly answered, #2 is very doubtfull!
VWD express is free and can be used to write excellent apps.
However, you'll need to compile manually, i'm using a .bat file to a
separate directory.
I'm using codebehind but i can not imagne code IN html is not compiled, try.
VS2005 can possibly compile from menu but that's just an handy feature.
You asked for dll(s) and indeed, there are multiple files created, not one
single dll or so.
> >1. I am interested in knowing how I can compile an existing asp.net
>>application into DLL(s), so that the code will be inaccessable if I sell
[quoted text clipped - 13 lines]
>
> Marc
John Mason - 16 Feb 2006 22:00 GMT
Hi Edwin
Thanks for your helpful responses. According to the FAQ's on the
Microsoft website, VWD Express is ASP.NET 2.0. My hosting provider
should get with the times!
Do you know of a URL that explains compiling using .BAT files?
Thanks again,
John.
Edwin Knoppert - 17 Feb 2006 09:00 GMT
I forgot but google helps..
Here is my (modified to ANYNAME!) bat:
C:\WINDOWS\MICROS~1.NET\FRAMEW~1\V20~1.507\aspnet_compiler.exe -c -f -v
/ANYNAME -p c:\dotnet\myappdir1 f:\compiled
@Del f:\compiled\bin\*.bat
@pause
This will compile a complete asp app to a directory, target dir is cleared
first(!)
I copy the contents of f:\compiled to my webserver.
> Hi Edwin
>
[quoted text clipped - 9 lines]
>
> *** Sent via Developersdex http://www.developersdex.com ***