Nov
3
2014

Top 10 Web Technologies Tools for Developers

Web developers always think of making their User Interfaces more and more friendly. The designs and efficiency of web based applications is ever increasing and this will be boosted with these upcoming technologies in 2015. [More]
Aug
15
2011

Backup files with Powershell and 7-Zip

Backup files with Powershell using 7-Zip on Server 2008 using Task Scheduler [More]
Jan
20
2011

Using IHttpModule to overlay a website

I ran into the need to shut down an application for maintenance. What I needed is a plugin that I could drop on any website and it will create an overlay on top and disable all functionality. It had to also display a message notifying the users what's going on. Using an HttpModule seems to be the mo... [More]
Apr
24
2010
WPF // MVVM // Telerik

Telerik Binding RadPaneGroup to an ObservableCollection in WPF MVVM

I had this done in AvalonDock (read my post here) but we purchased the Telerik Controls so I decided to convert my AvalonDock solution to Telerick RadDocking control. By the way Telerik does an awesome job with their controls and excellent customer service. My requirement was to have a dynamicaly po... [More]
Nov
4
2009
WPF // MVVM

WPF Cursor Handling Routine

In my WPF application I need to change the cursor to identify a potentially long running process. The cursor needs to change back when the process completes regardless if it throws back an exception or not. So I ended up writing the class below to do just that. public class CursorRoutine : IDisposa... [More]
Oct
2
2009

Lost Ability to Place Breakpoints in VS2010

Lost Ability to Place Breakpoints in VS2010 [More]
Sep
1
2009
.NET 4.0 // C# // EF

Entity Framework 4.0 - Running Ad hoc Queries or Commands

A nice addition to the latest version of ADO.NET Entity Framework is the ability to run ad hoc commands.  Two methods of the Entity Context have been introduced to accomplish that: ExecuteStoreQuery and ExecuteStoreCommand. The tricky part is passing the parameters. They are index based so the... [More]
Aug
18
2009

WPF Themes

WPF Style themes by Microsoft, combined. [More]
Aug
7
2009
.NET 4.0 // C# // WF

Running Workflows in .NET 4.0

Workflows can be run synchronously and asynchronously. Below is an example how you run a workflow instance synchronously: Dictionary<string, object> inputs = new Dictionary(); inputs.Add("InArgument", "SomeValue"); inputs.Add("InOutArgument", "SomeOtherValue"); WorkflowEleme... [More]
Jul
31
2009

In .NET 4.0 SecurityManager.IsGranted is obsolete

In .NET 4.0 SecurityManager.IsGranted has been made obsolete.  This is what it was and if you compile in .NET 4.0 compatibility it will complain. bool isGranted = SecurityManager.IsGranted(new SecurityPermission(SecurityPermissionFlag.Infrastructure)) In order to fix this now yo... [More]