|
|
|
|
|
Total Hits: 2 | Today: 0
|
Author: Jeffrey Richter
|
Rating:
|
|

Garbage collection in the Microsoft .NET common language runtime environment completely absolves the developer from tracking memory usage and knowing when to free memory. However, you'll want to understand how it works. Part 1 of this two-part article on .NET garbage collection explains how resources are allocated and managed, then gives a detailed step-by-step description of how the garbage collection algorithm works. Also discussed are the way resources can clean up properly when the garbage c...
|
|
|
|
Total Hits: 2 | Today: 0
|
Author: Jeffrey Richter
|
Rating:
|
|

The first part of this two-part article explained how the garbage collection algorithm works, how resources can clean up properly when the garbage collector decides to free a resource's memory, and how to force an object to clean up when it is freed. The conclusion of this series explains strong and weak object references that help to manage memory for large objects, as well as object generations and how they improve performance. In addition, the use of methods and properties for controlling gar...
|
|
|
|
Total Hits: 2 | Today: 0
|
Author: Aaron Skonnard
|
Rating:
|
|

Microsoft .NET introduces a new suite of XML APIs built on industry standards such as DOM, XPath, XSD, and XSLT. The .NET Framework XML classes also include innovations that offer convenience, better performance, and a more familiar programming model, tightly coupled with the new .NET data access APIs—ADO .NET. XmlWriter, XmlReader, and XmlNavigator classes and classes that derive from them, including XMLTextReader and XMLTextWriter, encapsulate a number of functionalities that previously had to...
|
|
|
|
Total Hits: 2 | Today: 0
|
Author: Lance Olson
|
Rating:
|
|

Peer-to-peer applications such as Napster, Gnutella, and Scour that communicate as peers sharing and receiving information are becoming commonplace as a means for users connected on large networks to take advantage of the vast resources available to them. The Microsoft .NET Framework provides a rich platform for building P2P apps....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Jeffrey Richter
|
Rating:
|
|

Types that are built for the Common Language Runtime can be shared among applications in the Microsoft .NET Framework no matter which of the .NET languages they were built in, an obvious benefit to developers....
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Scott Mitchell
|
Rating:
|
|

Knowledge workers can understand data more effectively when raw numbers are presented in a graphical format. This is especially true when displaying database information on a Web page, where a simple chart can make the difference between a dry presentation and a vivid data source. In the past, creating dynamic, data-based charts on the fly in ASP required purchasing a third-party, image-generating COM component. Now with ASP.NET, developers can access the .NET Framework's drawing classes directl...
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Dino Esposito
|
Rating:
|
|

If you wanted to, you could distinguish two general categories of classes in the Microsoft® .NET Framework—classes that introduce new functionality such as XML readers and ADO.NET providers, and collections and classes that wrap underlying Win32® system functions. However, the .NET Framework provides classes for only some of the basic Win32 system routines. For many other functions, it still relies a great deal on the native Win32 API. An example is the stream classes of System.IO. The stream cl...
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Panos Kougiouris
|
Rating:
|
|

The .NET Framework Class Library and the common language runtime (CLR) serve as the foundation for all .NET-based applications. But how much do you know about any of the thousands of CLR classes in the library and where do you begin to learn about them?...
|
|
|
|
Total Hits: 2 | Today: 1
|
Author: Mark Brown and David Meunier
|
Rating:
|
|

Developers have myriad options when it comes to creating solutions for mobile devices. One of the greatest challenges facing mobile developers is finding a compact yet robust local storage solution. SQL Server CE 2.0 promises to deliver on both fronts. This new release represents a tremendous leap in terms of features and performance over its predecessor. This article will review some of the platform and tools choices developers have today. The authors will compare and contrast the significant n...
|
|
|
|
Total Hits: 2 | Today: 0
|
Author: Chris Sells
|
Rating:
|
|

With the much-anticipated release of the .NET Framework 1.1, developers are eager to know what's been added to their programming bag of tricks. In this article, the author focuses on new developments in Windows Forms, such as namespace additions, support for hosting managed controls in unmanaged clients, and designer support for C++ and J#. Integrated access to the Compact Framework and new mobile code security settings also make this release noteworthy. Along with these features, the author rev...
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Paul DiLascia
|
Rating:
|
|

I have a question about window objects (Forms and Controls) based on your November 2002 column about nondeterministic destruction in the Microsoft® .NET Framework. With MFC, I can put cleanup code in my destructor because MFC deletes the window object automatically when the window is destroyed. What about with the .NET Framework? If a window is destroyed, does the .NET Framework immediately destroy the corresponding Form, or does it wait until a garbage collection to do this? If the .NET Framewo...
|
|
|
|
Total Hits: 1 | Today: 0
|
Author: Dino Esposito
|
Rating:
|
|

In the .NET Framework, XmlTextReader and XmlTextWriter provide for XML-driven reading and writing operations. In this article, the author discusses the architecture of readers and how they relate to XMLDOM and SAX parsers. He also shows how to use readers to parse and validate XML documents, how to leverage writers to create well-formed documents, and how to optimize the processing of large XML documents using functions to read and write Base64 and BinHex-encoded text. He then reviews how to imp...
|
|
|
|
|
|