Click here to Skip to main content

Articles by Williarob (Article: 1, Technical Blogs: 15)

Article: 1, Technical Blogs: 15

RSS Feed

Average article rating: 0.00

Custom Controls

A Virtual Form Web Custom Control
Posted: 23 Jan 2009   Updated: 23 Jan 2009   Views: 10,298   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 103
Ever think "wouldn't it be nice if there was a control - like a panel control - that you could simply use to wrap some input controls, set a single property (to the ID of the control that should be 'clicked' when the Enter key is pushed), and that was all you needed to do?". Well, now there is such

Average blogs rating: 4.63

ASP

Custom Threading in ASP.NET [Technical Blog]
Posted: 31 Mar 2009   Updated: 31 Mar 2009   Views: 11,896   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
or "One Mans obsession with finding a way to call synchronous methods asynchronously in ASP.NET". This is for anyone interested in exploring the System.Threading Namespace in ASP.NET. There are many wrong ways to do it, one right way, and one other way that should only be used when you have no al
Multi-Threading in ASP.NET [Technical Blog]
Posted: 31 Mar 2009   Updated: 6 Jan 2010   Views: 31,285   Rating: 4.92/5    Votes: 19   Popularity: 6.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 64   Downloaded: 0
ASP.Net Threading Inside the ASP.Net Worker Process there are two thread pools. Theworker thread pool handles all incoming requests and the I/O Threadpool handles the I/O (accessing the file system, web services anddatabases, etc.). Each App Domain has its own thread pool and thenumber of ope

ASP.NET

Multi-Threading in ASP.NET [Technical Blog]
Posted: 26 Jul 2009   Updated: 28 Jun 2010   Views: 116,553   Rating: 4.91/5    Votes: 32   Popularity: 7.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 122   Downloaded: 0
ASP.Net Threading Inside the ASP.Net Worker Process there are two thread pools. Theworker thread pool handles all incoming requests and the I/O Threadpool handles the I/O (accessing the file system, web services anddatabases, etc.). Each App Domain has its own thread pool and thenumber of ope

Charts, Graphs and Images

Working with Metafile Images in .Net [Technical Blog]
Posted: 5 Apr 2011   Updated: 5 Apr 2011   Views: 14,432   Rating: 4.90/5    Votes: 8   Popularity: 4.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
What is a Metafile Image?The Windows Metafile (WMF) is a graphics file format on Microsoft Windows systems, originally designed in the 1990s.Internally, a metafile is an array of variable-length structures called metafile records. The first records in the metafile specify general information such a

Audio and Video

How to get the length (duration) of a media File in C# on Windows 7 [Technical Blog]
Posted: 23 Oct 2009   Updated: 26 Oct 2009   Views: 30,621   Rating: 4.00/5    Votes: 3   Popularity: 1.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 1,720
If you have ever looked at a media file (audio or video) in explorer on a Windows 7 PC, you may have noticed that it displays additional information about that media file that previous versions of Windows didn't seem to have access to, for example the length/duration of a Quicktime Movie Clip.

C#

Add Asynchronous Data Methods to the Enterprise Library [Technical Blog]
Posted: 31 Mar 2009   Updated: 31 Mar 2009   Views: 7,230   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
A Data Access Layer that does not support Asychronous I/O is not scalable. Period. However, since Microsoft kindly provided the source code along with the Enterprise Library, it is possible to make the Enterprise Library's Data Application Block scalable by adding the Asynchronous methods (Begin

Date and Time

Using System.Threading.Tasks and BlockingCollections to FTP multiple Files at the same time [Technical Blog]
Posted: 19 Apr 2011   Updated: 19 Apr 2011   Views: 5,527   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
I recently needed to write an application that would loop through a queue of files and FTP them to our Content Delivery Network for streaming. Users upload files, and our administrators can mark some of them as urgent. Urgent ones need to jump to the front of the queue, otherwise everything should b

String handling

Dynamically setting the Elmah connection string at runtime [Technical Blog]
Posted: 19 Mar 2010   Updated: 19 Mar 2010   Views: 6,631   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
If you have read my other articles about setting the SQL Membership provider's connection string at runtime, or automatically detecting the server name and using the appropriate connection strings then it will come as no surprise to see that I also had to find a way to set the Elmah connection strin

Expression

Using Expression Encoder 2 Silverlight 2 Templates in your project [Technical Blog]
Posted: 8 Apr 2009   Updated: 8 Apr 2009   Views: 14,815   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 0
How to use Expression Encoder 2 Silverlight 2 Templates in your project.
Using Expression Encoder 2 Silverlight 2 templates in your project [Technical Blog]
Posted: 26 Jul 2009   Updated: 26 Jul 2009   Views: 12,586   Rating: 4.67/5    Votes: 2   Popularity: 1.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
Some time ago, I wrote a popular article on how to create a scrolling Silverlight 1.x Playlist using Microsoft Expression Encoder output. Well, I finally found some time to revisit that application to see how I might upgrade it to Silverlight 2. As you are probably aware, Expression Encoder 2 Servi

Uncategorised Technical Blogs

Mock a database repository using Moq [Technical Blog]
Posted: 15 Dec 2009   Updated: 15 Dec 2009   Views: 32,605   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 0
The concept of unit testing my code is still fairly new to me and was introduced when I started writing applications with the Microsoft MVC Framework in Visual Studio 2008. Intimidated somewhat by the Moq library's heavy reliance on lambadas, my early tests used full Mock classes that I would write
Auto detect the runtime environment and use the right app settings and connection strings [Technical Blog]
Posted: 19 Mar 2010   Updated: 19 Mar 2010   Views: 6,037   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
There are many ways to manage the problem of connection string and app settings substitution in the web.config / app.config files when publishing to different environments (e.g. QA and Production servers). In the past I have made use of the Web Deployment project's ability to replace the appsettings
How to store shared app settings and connection strings with your class library [Technical Blog]
Posted: 19 Mar 2010   Updated: 19 Mar 2010   Views: 4,047   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
When working on enterprise level, multi-tiered .Net applications it is not uncommon to want to create a shared class library, that may be used in multiple related projects. For example, let's suppose you are building a public website, a separate private intranet website used by company staff to mana
Override Configuration Manager [Technical Blog]
Posted: 29 Mar 2010   Updated: 29 Mar 2010   Views: 11,210   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 6   Downloaded: 0
Override Configuration Manager
Checking for a Running Instance [Technical Blog]
Posted: 4 Oct 2010   Updated: 4 Oct 2010   Views: 3,306   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Sometimes you may not want a user to launch multiple instances of your program, or you may have a processor or I/O intensive scheduled task that runs every few minutes and you want to make sure that if it is started again before the last instance has finished it simply exits immediately. One way to
No tips have been posted.

Williarob
Software Developer (Senior) Salem Web Network
United States United States
Robert Williams has been programming web sites since 1996 and employed as .NET developer since its release in 2002.


Advertise | Privacy | Mobile
Web01 | 2.6.130619.1 | Last Updated 20 Jun 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid