(Nick Wienholt) A common coding pattern in multi-threaded development is having a number of worker threads wait to perform a task and having a manager or producer thread queue work items for them. To implement this pattern without resorting to the inefficient process of periodically polling the work
Tag: Development
Lock it down: Use the revised OWASP Top Ten to secure your Web applications — Part 2
(Tom Olzak) In this second installment in a series on the 2007 OWASP Top Ten vulnerabilities, we’ll look at the clear leader in the Web application vulnerability space — cross site scripting (XSS). XSS vulnerabilities have been around for some time. However, the business risk associated with XSS ex
Validating ASP.NET Query Strings
(Dino Esposito) For years, classic ASP developers implemented page authentication by inserting some generic code at the top of each page that would grab user credentials, attach a cookie, and redirect. All that repetitive code was swept away by the ASP.NET HTTP modules for authentication. As a resul
Microsoft Releases Visual Studio 2005 Update for Vista
(Darryl K. Taft) Microsoft has released a new version of its Visual Studio toolset for Windows Vista development.
Design Patterns for ASP.NET Developers, Part 2: Custom Controller Patterns
(Alex Homer) As you saw in the first article in this series, ASP.NET automatically implements the Model-View-Presenter (MVP) pattern when you use the built-in “code-behind” approach. However other patterns, usually referred to as “controller patterns,” are also suitable for use in ASP.NET. These pat
Policy Injection Application Block Sample – Enterprise Library 3.0 Coolness
(David Hayden) If you haven’t downloaded the Enterprise Library 3.0 February 2007 CTP, I highly recommend downloading it. It is a pretty significant release for a few reasons: –It is the last CTP before RTM –All the blocks are Release Candidates except for the Policy Injection Application Blo
.NET Tip: Compressing/Decompressing Your Files
(Eric Smith) One of the many new libraries included with .NET 2.0 allows for compression and decompression of files using the gzip file format. The major downside to this format is that it isn’t compatible with the built-in Compressed Folders format built into Windows XP. However, I was able to open
Understanding Data Warehousing
(Arindam Ghosh) Since the beginning of time reports and information to the masses have been provided. Whether that information was in the form of smoke signals, stone tablets, or hand-written records, information sharing has been around for ages. Today we call this collecting and sharing of informat
A Tale of a .Net Component (Part III)
(Peter Aitken) This is the third article in a series that covers all the details of developing a .Net component. By following this process from start to finish, you may learn aspects of .NET development that are not provided in more specialized articles.
Manage Web Users With Custom Profile Providers
(Jason N. Gaylord) With ASP.NET 2.0, you can add authentication, authorization, and profiles to your Web site without writing a single line of code. That’s quite a step forward from the way things used to be. Like most of the new features in ASP.NET 2.0, authentication, authorization, and profiles e
