Beruflich Dokumente
Kultur Dokumente
101 Samples, in both Visual Basic and C#, featuring many of the new features available with Visual Studio 2005 and the .NET Framework 2.0. For more samples using Visual Studio 2003 .NET, see this download.
VB Version
These samples have been written and tested with Beta 2 of Visual Studio 2005
Changing ACL (Access Control Lists) on files Console Enhancements including buffer control, simple animations and colors Downloading files using FTP (File Transfer Protocol) Network Programming including PING, UDP, and TCP network statistics Download: C# Version | VB Version
Using the new Stopwatch class to measure time Compressing and decompressing files in the GZip format Retrieving Drive Information Using Generic Collections
Data Access
The Data Access samples show how to use the classes in the System.Data and related namespaces. In addition, how to use the new features of SQL Server 2005. Samples include:
Asynchronous Queries
Attaching a database with your application Creating and using User Defined Types with SQL Server 2005 DataReader vs. DataSet comparision DataSet and DataTable Enhancements Performing Batch Updates and Data Paging Performing Bulk Updates
Using Managed Stored Procedures and User Defined Functions with SQL Server 2005 Using Multiple Active Result Sets with SQL Server 2005 Using Notifications with SQL Server 2005 Using the XML data type with SQL Server 2005 XPath and XSLT Transformations Enhancements
Download: C# Version
VB Version
Web Development
The Web Development samples show how to use some of the new features of ASP.NET 2.0. Samples include:
Using SQLCacheDependency for caching DataBinding using the ObjectDataSource, SqlDataSource, and XmlDataSource objects
Using the Menu and SiteMapPath controls Using Profiles to store user properties Using the Membership and Roles API for custom roles Using the TreeView control dynamically and responding to TreeView events
Create a Master/Details view using the DataGridView and DetailsView controls Basic Master Pages, Nested Master Pages, and Browserspecific Master Pages
Using the new membership controls including the LoginStatus, LoginName, LoginView, CreateUserWizard controls
Download: C# Version
VB Version
Windows Forms
The Windows Forms samples show how to use some of the new functionality available to developers building desktop applications. Samples include:
Running Asynchronous Tasks Storing Custom Client Settings Creating Master/Detail Forms Playing, Looping, and asynchronously using Sounds Using BindingNavigator for static and dynamic data Using BindingSource for static and dynamic data including objects Extending ClickOnce to programmatically check for updates
Using LayoutPanels
Using the MaskedTextBox control for built-in data types and custom data types Controlling a simple rich texteditor using the Menus, StatusStrips and ToolStrips controls
Using My for application, computer, settings information and more. Note: This sample is only available for Visual Basic
Using the SplitContainer control WebBrowser control basics and using the WebBrowserControl HTMLDocumentModel for Formto-browser two-way communication.
Download: C# Version
VB Version
Coming Soon
The remaining 51 samples are coming soon. Stay tuned.