Book description
In the three years since Microsoft made C# available, there have been lots of tweaks to the language. That's because C# is not only essential for making .NET work, it's a big way for Microsoft to attract millions of Java, C and C++ developers to the platform. And C# has definitely made some inroads. Because of its popularity among developers, the language received standardization from ECMA International, making it possible to port C# applications to other platforms. To bolster its appeal, C# 2.0 has undergone some key changes as part of Visual Studio 2005 that will make development with .NET quicker and easier.That's precisely what Visual C# 2005: A Developer's Notebook allows you to do. There are some great new features in C# and this unique "all lab, no lecture" guide covers them all with 50 hands-on projects. Each project explores a new feature, with emphasis on changes that increase productivity, simplify programming tasks, and add functionality to applications.C#'s component-based design combines the productivity of Microsoft's popular Visual Basic with the raw power of C++ for web-based applications. Many reviewers note a similarity between C# and Java--in fact, a new feature that took the Java development team five years to incorporate into Java is now available in C# 2.0. Called "generics", this feature enables developers to reuse and customize their existing code, so they can dramatically cut down the time it takes to develop new applications.Visual C# 2005: A Developer's Notebook is full of no-nonsense code without the usual page-filling commentary. You'll find suggestions for further experimentation, links to on-line documentation, plus practical notes and warnings. The book also tells developers how to acquire, install and configure Visual Studio 2005. Are you a coder to the core? Learn what C# 2.0 can do for you now.
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- The Developer’s Notebook Series
- Preface
-
1. C# 2.0
- 1.1. Create a Type-Safe List Using a Generic Collection
- 1.2. Create Your Own Generic Collection
- 1.3. Implement the Collection Interfaces
- 1.4. Enumerate Using Generic Iterators
- 1.5. Implement GetEnumerator with Complex Data Structures
- 1.6. Simplify Your Code with Anonymous Methods
- 1.7. Hide Designer Code with Partial Types
- 1.8. Create Static Classes
- 1.9. Express Null Values with Nullable Types
- 1.10. Access Objects in the Global Namespace
- 1.11. Limit Access Within Properties
- 1.12. Gain Flexibility with Delegate Covariance and Contravariance
-
2. Visual Studio 2005
- 2.1. Configure and Save Your Developer Environment
- 2.2. Configure Your Application
- 2.3. Make the Editor Work for You
- 2.4. Use Refactoring to Speed Revision of Your Code
- 2.5. Use Code Snippets to Save Typing
- 2.6. Examine Objects While Debugging Them
- 2.7. Visualize XML Data
- 2.8. Diagnose Exceptions
- 3. Windows Applications
-
4. Web Applications
- 4.1. Develop Web Apps Without IIS
- 4.2. Provide Forms-Based Security Without Code
- 4.3. Add Roles to ASP.NET Accounts
- 4.4. Create Personalized Web Sites
- 4.5. Personalize with Complex Types
- 4.6. Add Anonymous Personalization to Your Site
- 4.7. Let Users Personalize Your Site with Themes
- 4.8. Unify Your Look and Feel with Master Pages
-
5. Data
- 5.1. Bind to Data Without Writing Code
- 5.2. Create Detail Pages
- 5.3. Create Master Detail Records
- 5.4. Get Database Statistics
- 5.5. Batch Updates to Improve Performance
- 5.6. Bind to an XmlDataSource Control
- 5.7. Improve XML Manipulation with XPathDocument
- 5.8. Select Within XPathDocument Using XPath
- About the Author
- Colophon
- Copyright
Product information
- Title: Visual C# 2005: A Developer's Notebook
- Author(s):
- Release date: April 2005
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596007997
You might also like
book
Beginning Microsoft® Visual Basic® 2008
Beginning Microsoft Visual Basic 2008 is designed to teach you how to write useful programs in …
book
VSTO 3.0 for Office 2007 Programming
Get to grips with Programming Office 2007 using Visual Studio Tools for Office A step-by-step guide …
book
A Developer’s Guide to SQL Server 2005
"I come from a T-SQL background, so when I first laid my eyes on SQL Server …
book
Inside SQL Server 2005 Tools
Direct from Microsoft Insiders: the Complete Hands-On Guide to SQL Server 2005’s Powerful Tools! Microsoft SQL …