(Jim Mischel) What we want is a class similar to theChunk class from a few sections back. This new class, new class,StringChunk, exactly duplicates the interface of theChunk class with two exceptions: it reads strings from a file rather than integers from an array; and I changed the semantics of t
Tag: Development
Parsing Sentences and Building Text Statics in Visual Basic
(salysle) This article describes three approaches to parsing the sentences from a body of text; three approaches are shown as a means of describing the pros and cons for performing this task using each different approach. The demonstration application also describes an approach to generating sentenc
Animated Banners in XAML
(Mahesh Chand) Prior to XAML, I was using Adobe Fireworks to create my images and banners or asking my designer to create animated banners but more and more I delve into XAML, more I like it. Now, I can actually control my animations from my code. Being a programmer by nature, I would rather control
Techniques for Randomly Reordering an Array
(Scott Mitchell) While reading through some of Jeff Atwood’s old blog entries, I stumbled across this gem: The Danger of Navet. In it, Jeff discussed the pitfalls the can befall a programmer who implements a nave algorithm and calls it a day. Consider an algorithm to randomly reorder an array. If yo
Avoiding Annoying Mistakes in Your ASP.NET Web Applications
(Jani Jrvinen) Thinking about technology alone, developing a feature-rich, performing, and secure ASP.NET web application is a challenge. However, a great web application is not just about backend code; instead, it is a combination of skillful design and coding.
An Introduction to xUnit.net for ASP.NET MVC Developers
(Stephen Walther) The purpose of this blog entry is to provide you with an introduction to the xUnit.net unit testing framework, the newest unit testing framework for the .NET framework. I want to demonstrate how you can use the xUnit.net framework when practicing test-driven development. In particu
Parsing Sentences and Building Text Statics in C#
(salysle) This article describes three approaches to parsing the sentences from a body of text; three approaches are shown as a means of describing the pros and cons for performing this task using each different approach. The demonstration application also describes an approach to generating sentenc
Database Performance: The Web Layer
(Kenneth Downs) A database application is a like a convoy of ships, it is only as fast as the the slowest ship. The three “ships” in a web-based database application are the database itself, the web layer, and the browser. Today we will continue our series on performance by examining how the web lay
SOS: Upcoming release has a few new commands HeapStat
(Tom) There are a lot of times where all you want to see are the sizes of the various heaps and generations. For the heaps, you can use !eeheap -gc to see the sizes, but the output can be a little difficult to read as it prints out so much other stuff.
Creating a User Control in XAML and WPF
(Mahesh Chand) This article discusses how to create a User Control in XAML and WPF using Visual Studio 2008 and how to use it in a WPF application. The first part of this article creates a XamlFileBrowser user control that is used to browse a file on a system and second part shows how to use it in a
