ASP.NET News from Blogger: Stephen Toub   Get the feed of: Stephen Toub

Total News: 68

.NET Matters: Stream Pipeline

My latest .NET Matters column in MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/08/02/NETMatters.  In it, I discuss one approach to implementing a Blocking...

Parallel Extensions CTP!

For those of you who haven't heard, we released a CTP of the Parallel Extensions to the .NET Framework.  You can download it here, and you can learn more about it in the new Parallel Computing de...

.NET Matters: Debugging finalizers

My latest .NET Matters in MSDN Magazine is now online:http://msdn.microsoft.com/msdnmag/issues/07/11/NETMatters/default.aspx...

Fun with DVR-MS (now on my blog)

Several years ago, I wrote an article for MSDN on programming against the DVR-MS file format.  I'm very pleased with how well the article was received, and to this day I get a lot of people writi...

.NET Matters: Deadlock Monitor

My latest .NET Matters in MSDN Magazine is now online:http://msdn.microsoft.com/msdnmag/issues/07/10/NETMatters/default.aspx...

Latest column online: Tales from the CryptoRandom

It's been a while since I've added to this blog; been very busy with some really cool stuff at work (more about that soon).  In the meantime, my latest .NET Matters column in MSDN Magazine i...

Handling window messages in console apps

If you've ever wondered how to handle window messages in .NET console applications, check out my latest .NET Matters column in the June 2007 issue of MSDN Magazine, which just went online an hour or s...

Improving a Graphics Application with Tablet APIs

In May 2006, I wrote a small digital imaging application to produce what I like to call the "Pleasantville" effect.  If you've seen the movie, you can probably guess what I mean.  An image...

Update to PreviewHandlerAssociationEditor for Vista x64

John Robbins emailed me tonight to let me know that he found a bug with my PreviewHandlerAssociatedEditor tool with Vista running on x64.  The tool first looks in the registry to see what handle...

Code for PreviewHandlerAssociationEditor

I've had several requests for the code for the PreviewHandlerAssociationEditor tool I put up a few weeks back to accompany my MSDN Magazine article on preview handlers.  I've updated the download...

Position Changer Add-In updated for Media Center in Windows Vista

Back in early 2005, I wrote an article for MSDN on implementing add-ins for Windows XP Media Center Edition 2005.  As part of that article, I implementing an add-in that made it easy to jump arou...

Awesome new version of WebGuide for Vista Media Center

I've been using WebGuide with Media Center since the initial version, and Doug Berrett has always done a terrific job with it.  But with the newest version, WebGuide 4, he's completely outdone hi...

Error 2869 when installing preview handlers MSI

If you're getting an error with error code 2869 when installing the sample preview handlers associated with my preview handler article from the January 2007 issue of MSDN Magazine, make sure you're fo...

UnauthorizedAccessException in PDF Preview Handler

For my article on preview handlers in the January 2007 issue of MSDN Magazine, I wrote a sample preview handler for previewing PDF files.  This allows you to view PDF files in Outlook and in the ...

January 2007 MSDN Magazine now online

As announced over on the MSDN Magazine blog, the January 2007 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/07/01....

MSDN Magazine December 2006 issue now online

We've created an MSDN Magazine blog, and I've posted about the December 2006 issue, which just went live online last night, at http://blogs.msdn.com/msdnmagazine/archive/2006/11/16/1088873.aspx.&...

Free MSDN Magazine subscription to MSDN Premium subscribers in the US

I was chatting with a few Microsoft folks last week, and they asked me if they could get a discounted rate on MSDN Magazine.  (Not that it's expensive to begin with; at $35 if you buy it through ...

Sudoku en español

I found out this morning that my Sudoku article on MSDN has been translated into Spanish:http://www.microsoft.com/spanish/msdn/articulos/archivo/160506/voices/tbconSudokuSampleFinal.mspx Cool!  K...

July 2006 MSDN Magazine now online

The July 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/07. And for those of you on the go, a downloadable CHM file of the entire issue is avai...

Generic Levenshtein edit distance with C#

A friend of mine asked me about common algorithms for determining string similarity.  One of the most well-known string similarity algorithms is the Levenshtein edit distance algorithm, possibly ...

June 2006 MSDN Magazine now online

The June 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/06. The June installment of my favorite column, .NET Matters, is available at http://m...

30

With the June 2006 issue of MSDN Magazine online as of today, I now have 30 articles published on MSDN.  I figure that's a good time for a recap.  Here are the articles and the user-submitte...

Low-Level Mouse Hook in C#

After my last post on implementing low-level keyboard hooks in C#, Soumitra asked if it was possible to implement a low-level mouse hook in C#, too.  Sure.  Here is an example that will...

Low-Level Keyboard Hook in C#

I answered a question today where someone asked for an example of setting a low-level keyboard hook with C#. I actually have an example of doing so in my May 2006 MSDN Magazine article on Managed Debu...

Sudoku en français

I just found out that my Sudoku article has been translated into French:http://www.microsoft.com/france/msdn/mobilite/sudoku-sur-tablet-PC.mspx Cool!...

Sudoku on a non-Tablet PC

I've received a bunch of emails over the past week from people asking if I have a version of Sudoku.exe that runs on non-Tablet PCs.  I tell them yes, and I tell them that they do, too :) Sudoku....

Bounded blocking queues

In my last post, I took a look at implementing blocking queues in .NET using semaphores (both System.Threading.Semaphore and a managed semaphore implementation).  I defined a blocking queue as on...

Blocking queues

In many concurrent systems, one thread performs some work, the result of which another thread consumes. This producer/consumer pattern is frequently implemented on top of blocking queues. If you exam...

May 2006 MSDN Magazine now online

The May 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/05. Enjoy,Steve...

Randomness bugs

Some of the hardest bugs to discover are those involved in features that contain intentionally random behavior. Sudoku was originally written using System.Random as its source of randomness. As is de...

Solving Sudoku Puzzles from the Newspaper

A few people have asked me if it's possible to use Microsoft Sudoku to solve puzzles other than the ones it creates, such as the ones in daily newspapers.  Yes, it is!  (However, a few lines...

Adding Skin Support to Sudoku

With the source code for Microsoft Sudoku released on MSDN at http://msdn.microsoft.com/library/en-us/dntablet/html/tbconSudokuSampleFinal.asp, you can take the code and modify it to your liking, addi...

Sudoku article on MSDN

My Sudoku article on MSDN is live at Microsoft Sudoku: Optimizing UMPC Applications for Touch and Ink.  At 60 pages, it's practically a book :)  I sincerely hope you enjoy it....

Sudoku code now available!

I'm happy to announce that the code for Microsoft Sudoku for the Tablet PC and Ultra-Mobile PC is now available for download at:http://www.microsoft.com/downloads/details.aspx?FamilyID=C0461E1A-BD6A-4...

Chicago's "Urinetown" is a hit!

The Chicago production of the musical "Urinetown" is a hit! Just check out some of these reviews: Chicago Sun-Times "Not only does the show look fabulous in the intimate, brick-walled, 300-seat co...

Sudoku... want the code?

In my last post I talked about the implementation of Sudoku we created for the Tablet PC and the Ultra-Mobile PC.  Want the source code?  How about an MSDN article explaining the i...

I'm on the Media Center Show!

Ian was nice enough to have me on the show this week.  Check it out:http://mediacenter.thepodcastnetwork.com/2006/03/09/the-media-center-show-48-stephen-toub-msdn/ 00:50 Coming up this week01:30 ...

Sudoku for the Tablet PC

In July of 2005, I was visiting my brother and my college roommate John in London.  While there, John got me hooked on Sudoku, a puzzle game that was then sweeping Europe and is now sweeping...

April 2006 MSDN Magazine now online

The April 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/04. And for those of you on the go, a downloadable CHM file of the entire issue is av...

TechNet Magazine MarchApril 2006 now online

The MarchApril 2006 issue of TechNet Magazine is now available online at http://www.microsoft.com/technet/technetmag/issues/2006/03/default.aspx. And for those of you on the go, a downloadable C...

Do I speak Spanish, Italian, French, Japanese, Chinese, Russian, Korean, and Portugese?

No, I don't, unfortunately, although at one point I knew a fair bit of Italian and French.  C'est la vie. Of course, you wouldn't necessarily know that I don't speak all of these languages a...

MSDN Magazine RSS feeds

I've had several people recently ask me if it would be possible for MSDN Magazine to expose RSS feeds for our content.  These folks want to know anytime a certain author publishes a new article, ...

March 2006 MSDN Magazine now online

The March 2006 issue of MSDN Magazine is now available online at http://msdn.microsoft.com/msdnmag/issues/06/03. The March installment of my favorite column, .NET Matters, is available at http:/...

"Urinetown" in Chicago!

Urinetown, the Tony-Award winning musical comedy created by Chicago's Mark Hollmann and Greg Kotis, will begin its first resident commercial Chicago run March 15 toward an opening of March 26 at The M...

Visual Studio 2005 Guided Tour

2005 was a truly exciting year for us here at MSDN Magazine. We launched a new magazine. We covered all sorts of amazing advances for the programmer, courtesy of Visual Studio 2005. We lost a cou...

Web Development Job!

Looking for a challenge? Want to own the responsibility for communicating with over 500,000 developers and IT pros every month via two award winning Microsoft web sites? If you are passionate about Mi...

Write Articles for MSDN Magazine

MSDN Magazine is always on the look out for talented developers and writers looking to get their quality ideas and content published in the magazine.  If you've got a great idea for an article re...

MSJ Scam

First, a bit of history on MSJ, as taken from the MSJ archive at http://www.microsoft.com/msj/: Microsoft Systems Journal was the first programming publication from Microsoft. Predating the Windows op...

DevConnections

Heading to Las Vegas today for DevConnections.  If you're attending the conference and are interested in some of the new reliability features in the .NET Framework 2.0, come to my talk VSY352 at ...

Position Changer Add-In updated for Windows XP Media Center Edition 2005 Update Rollup 2

Today, the Media Center team released Update Rollup 2 for Windows XP Media Center Edition 2005 (you may have heard of the update referred to previously as "Emerald"). Update Rollup 2 includes a plet...

View Other bloggers