ASP.NET Website Programming: Problem - Design - Solution, C# Edition
ASP.NET Website Programming shows you how to build an interactive website from design to deployment.
Packed with solutions to website programming problems, this book will have you building well-engineered, extendable ASP.NET websites quickly and easily.
What does this book cover?
In this book, you will learn how to
- Establish a solid, scalable website foundation
- Provide flexible user accounts integrating with ASP.NET's built-in security
- Create message forums that enable formatted messages but defend against cross-site scripting
- Generate revenue from advertising
- Build a web interface for uploading, downloading, editing, and managing the files on your site
- Add opinion polls, email newsletters, and news management
- Deploy the finished site on a live server
- Build websites using good, n-tier coding techniques
The site we build is modular. You can slot the modules into your own website, modify them, or use them as examples of particular ASP.NET techniques.
Who is this book for?
This book is for developers who
- Use ASP.NET and C#
- Use Visual Studio .NET Professional or above, or Visual C# .NET Standard
- Want to build content-based websites
Chapter 1. Building an ASP.NET Website.
Chapter 2. Foundations.
Chapter 3. Foundations for Style and Navigation.
Chapter 4. Maintaining the Site.
Chapter 5. Users and Authentication.
Chapter 6. News Management.
Chapter 7. Advertising.
Chapter 8. Polls.
Chapter 9. Mailing Lists.
Chapter 10. Forums and Online Communities.
Chapter 11. Deploying the Site.
Chapter 12. The End.
He is particularly interested in e-commerce design and implementation solutions with SQL Server, ASP.NET, and web services. He is a team member at www.vb2themax.com, for which he writes articles and commercial software, such as add-ins for MS Visual Studio and other utilities for VB and .NET developers.
Marco recently co-authored "Beginning C#" from Wrox Press, and is also a contributing editor for two leading Italian programming magazines: Computer Programming and Visual Basic Journal (Italian licensee for Visual Studio Magazine). Reach him at email@example.com.
Kevin Hoffman has always loved computers and computer
programming. He first got hooked when he received a Commodore
VIC-20 from his grandfather, who had repaired it after finding it
in the trash. He then started a prolific but unprofitable career
writing shareware games and utilities for electronic bulletin board
He started working as a programmer while still in college, writing computer interfaces to solar measurement devices and various other scientific instruments. Moving to Oregon, he did everything from technical support to tuning Unix kernels, and eventually working as an ASP programmer for 800.COM, a popular on-line electronics retailer. From there he moved on to working on large, enterprise ASP applications.
Then he finally found .NET, which he now spends 100% of his programming and learning efforts on. A big C# fan, who would use it to do everything including brush my teeth if only he could figure out how, Kevin has been writing on .NET for Wrox since the middle of Beta 1. He plans to continue until we get tired of him. He's currently in Houston, Texas sweating a lot and working on web services and other large-scale .NET applications.
|A backup of the database for users of SQL Server 7.
Please follow the instructions given in index.htm in the main code download, but use this backup instead.
|194.87 KB||Click to Download|
|Download code samples for this book||1.83 MB||Click to Download|
|VB.NET version of the example, from the VB.NET edition of the book.||1.37 MB||Click to Download|
Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.
|33||Strong Name command
The line 'SN -K ThePhile.SNK' should read 'SN -k ThePhile.SNK'. The 'k' should be lower-case.
|2||40||The BizObject Class
The text specifies that the BizObject class is "of course, abstract and public." The code below declares it as public but not abstract. This would allow code to instantiate a BizObject object directly, which should not be allowed. So it should be declared as public abstract class BizObject.
|3||58||The PhilePageBase mystery
Page 58 refers to a class library called PhilePageBase, which supposedly contains the PhilePage class. In fact, this class does not go in a class libarary of its one -- it goes straight in the main ThePhile project. The other details -- class name, namespace, and so on -- are correct in the book.
|3||61||"Controls" project mystery
The final paragraph of page 61 refers to a "C# class library, called Controls". This class library does not exist in the sample code. Instead, the files are located in a folder called Controls within the ThePhile project.
|4||85||Remove the InitializeComponent() method
The InitializeComponent() method was autogenerated by a pre-release version of Visual Studio .NET, and should not be included.
The image on page 253 is wrong, and has nothing to do with the text surrounding it. Please ignore it.
|Additional downloads available for VB.NET Edition of this title