.NET Rocks! - Mark Miller 25 Feb 2005 08:00 GMTMark Miller returns again and is in the studio with Carl talking about his sordid past with Delphi, some development choices he's made, pair programming, and GDI+.
Source: MSDN An Introduction to the Microsoft Enterprise Library 23 Feb 2005 00:00 GMT
One of Microsoft's efforts over the past couple of years has been to provide developers with useful code
libraries that illustrate best practices. This achieve this goal the Patterns
and Practices Group has been tasked with developing numerous application blocks, which are open-source
libraries aimed at solving common tasks. As discussed in a previous 4Guys article, An Introduction
and Overview of the Microsoft Application Blocks, the aim of the application blocks is to reduce development
cost and increase confidence. Costs are reduced because integrating the application blocks into a project
saves the development time that would otherwise be required to build the functionality, and confidence in the
application is increased because the application blocks are well tested and have been used by thousands of
developers around the world, meaning any bugs are likely to have been discovered and squashed.
Past articles on 4Guys have examined two of the existing application blocks, the Data Access Application Block (DAAB)
and the Exception Management Application Block (EMAB). The DAAB provided a wrapper class for accessing
data from a SQL Server database. It's set of methods essentially reduced data access down to one line of code,
thereby reducing the tedious amount of code that it typically required when working with database data.
The Exception Management Application Block provides a simple, yet extensible way to record exception
information. (For more information on these application blocks be sure to read Examining
the Data Access Application Block and Examining the Exception Management
Application Block.)
The DAAB and EMAB were only two of a number of application blocks released by the Patterns and Practices Group.
While all of the application blocks provided useful techniques for accomplishing common tasks, each application
block was, in a way, an island unto itself. There was no shared unity between the application blocks. To rectify
this, in January 2005 the Patterns and Practices Group released the Enterprise Library, a collection of
seven application blocks that share a common design and code base.
This article provides an overview of the Enterprise Library along with a quick demo showing how to use the
new Data Access Application Block in an ASP.NET Web application.
Read More >
Source: 4GuysFromRolla Liberty on Whidbey: Data Binding in ASP.NET 2.0 22 Feb 2005 05:00 GMTNot only has Microsoft made radical changes in how data binding is done between ASP.NET 1.x and 2.0, but it has also created significant differences between how it is done in Windows Forms and ASP.NET in 2.0. This keeps life interesting (Jesse Liberty says, gnashing his teeth). In this new column, he dives into data binding in the new Web Forms.
Source: O'Reilly XML Reader with Bookmarks 18 Feb 2005 08:00 GMTHelena Kupkova discusses the XmlBookmarkReader. It provides the ability to set bookmarks in an XML stream and then navigate between them, combining random access to the XML with the XmlReader API.
Source: MSDN Encrypting Connection Strings in Web.config 15 Feb 2005 05:00 GMTOne of the best practices in ASP.NET is to save your database connection strings in the Web.config file instead of hard-coding it in your code. It's not such a good idea to save your connection strings as plain text in Web.config – you should ideally encrypt the connection strings so it leaves no chance for a potential hacker to easily get more information about your database server. In ASP.NET 2.0, Microsoft has taken this further by allowing you to encrypt the connection strings in Web.config, all without much plumbing on your part. In this new article by Wei-Meng Lee, he shows you how it works!
Source: O'Reilly