Geeklog
There's no place like 127.0.0.1 - ramblings about programming

Disable Attach Security Warning

July 19, 2010 09:14 by The Geek
I started getting an annoying message when debugging IIS on Windows 7 / Visual Studio 2010: Title: Attach Security Warning Message:  Attaching to this process can potentially harm your computer.  If the information below looks suspicious or you are unsure, do not attach to this process. ... [More]
Tags: , , ,
Categories: Web
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Silverlight DataTemplateSelector

September 11, 2009 19:03 by The Geek
You may or may not be aware that WPF supports System.Windows.Controls.DataTemplateSelectors.  As the documentation says, this class provides a way to choose a DataTemplate based on the object that it is bound to.  This is really useful behaviour, even though it may not be a daily task.&nbs... [More]

Another LINQ Test

September 7, 2009 18:23 by The Geek
Yes, this has been discussed quite a bit but I wanted to do a quick test on LINQ code performance. More...

At last - multiple monitor support in VS

September 3, 2009 19:14 by The Geek
At long last - VS2010 properly supports multiple monitors. See ScottGu's post.
Tags:
Categories: Visual Studio
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Coding Style (The Law)

September 3, 2009 18:29 by The Geek
There are loads of arguments on the web about how you should style your code.  These are my preferences, you can think of them as the law . Use StyleCop.  This is an absolute no-brainer.  If you live in the Microsoft world, then you should use this.  Yes, it is onl... [More]

Warning About Warnings

July 7, 2009 19:28 by The Geek
Saw this a couple of minutes ago... "Professionals treat all warnings as errors. Amateurs ignore warnings. Idiots suppress warnings." It's brilliant!  It was posted by JD on TDWTF.
Tags: ,
Categories: C#
Actions: E-mail | Permalink | Comments (1) | Comment RSSRSS comment feed

LOB Presentation Layer

February 21, 2009 15:00 by The Geek
I have recently been experimenting with different options with a view to finding "The Best" thing for implementing line of business applications. As you probably know, there are many ways of achieving any one goal - choosing one option will often solve most, but not all of the prob... [More]

Visual Studio Guidelines / Column lines (Updated)

February 21, 2009 14:49 by The Geek
I ran into this a while ago so I thought I would post it here too. Add a new string value named "Guides" to [HKEY_CURRENT_USER]\Software\Microsoft\VisualStudio\9.0\Text Editor.   Set the value to "RGB(128,0,0) 100" and you get a nice red vertical line after column 100. Update: THis funct... [More]
Tags:
Categories: Visual Studio
Actions: E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed

Have You Joined The Dark Side?

November 26, 2008 18:58 by The Geek
I've been really busy with work recently - so lots of things to post about and no time to post! Well there is something really important ;-) In case you didn't know, you can apply themes to Visual Studio - well the best one is available here: The Dark Side  (instructions a... [More]

Constant Network Traffic (Vista and Folder Redirection)

August 18, 2008 12:34 by The Geek
I have had constant network traffic and svchost using high amounts of CPU time ever since I installed SP1 on my Vista machines.  I ignored it for a while (hoping that it would go away ;-)) - unfortunately it didn't. I used Microsoft Network Monitor v3.1 to view the network traffic -... [More]