Professional Server Controls - Building Custom Controls with C#
Code Download Instructions
--------------------------
The code from the book has been organized into separate folders for ease of
navigation.
The files in these folders, unless otherwise stated in separate ReadMe.txt
files, assume that each chapter is set up as a Web Application in IIS, with
virtual directories taking the format ChXX, where XX is the number of the
chapter. Within each of these directories are bin folders containing the pre-
compiled controls, thereby enabling you to run the samples without having to
compile them yourself, unless you make changes to these samples. To view each
sample, simply point your browser to the relevant path, for example:
http://localhost/Chapter01/OurFirstControl.aspx
Also available in the root of this download is a file called compile.txt - this
is a skeleton for a .bat file that you can use to compile the controls in this
download if you decide to alter them in any way. To recompile these controls,
simply change the paths in the file as appropriate and save the file with a
.bat extension instead of a .txt extension. To compile a control using this
tool, open a command prompt and, assuming you've got a directory structure
similar to ours, type the following command from the relevant directory:
c:\ServerControls> Compile 01 OurFirstControl
This will echo the contents of the .bat file, followed by the compilation
notice. Provided no errors are encountered, you'll be returned to the command
prompt when finished.
To turn off the echoing, comment out the REM statement at the top of the file.
<Additionalinformation date="19/02/02">
Some of the earlier chapters in this book had code submitted in Visual
Studio .NET. While we've attempted to provide just the aspx and controls in
separate files for the benefit of those without Visual Studio, we've not yet
been able to do this for all the early chapters. If this causes you any
problems, please mail support@wrox.com and we'll do our best to help you.
</Additionalinformation>
If you encounter any difficulties with this code download, please contact our
support department at support@wrox.com
Thanks, and we hope you enjoy the book!
Chris, Ewan, and Gerard
The Editorial Team
评论2
最新资源