Custom Health Rules in SharePoint 2010

by Scosby Monday, April 26, 2010
You can build your own health rules in MSF or MSS 2010. SharePoint 2010 includes a new, integrated health analysis tool that is named SharePoint Health Analyzer that enables you to check for potential configuration, performance, and usage problems.  A health rule runs a test and returns a status that tells you the outcome of the test. When any rule fails, the status is written to the Health Reports list in SharePoint Foundation 2010 and to the Windows Event log. The SharePoint Health Anal... [More]

Tags: ,

IT | Programming

TFS Source Control Explorer Toolbar Button

by Scosby Monday, April 26, 2010
My favorite TFS toolbar button for Visual Studio 2010 is in the View category. You can read more about customizing menus and toolbars in Visual Studio on MSDN.

Tags: ,

General | IT

Creating SharePoint 2010 Solutions for Silverlight Applications

by Scosby Tuesday, March 9, 2010
The goal of this post is to explain the process of creating a SharePoint Solution that deploys a Silverlight application. At the time this post was written, I was using Visual Studio 2010 RC and MSS 2010 "beta 2". There are two primary benefits for using the SharePoint Solution. First, we can initially develop the SL application using our SharePoint Solution and then have an easier transition to production. Last, but not least, we can have our SL app compiled and added to ... [More]

Tags: , , ,

IT | Programming

External websites and domains - split zone woes

by Scosby Friday, February 19, 2010
This is more for my own reference, but this is a great blog post by Ace Fekay for split zone domains. A split zone domain is one where your externally hosted website has the same name as your domain (internal name). http://tinyurl.com/y8bsfz4

Tags: , ,

Technology | IT

Validation in Windows Forms

by Scosby Thursday, February 11, 2010
Validating user input should belong in every developer’s tool kit. Today we will look at how Windows Forms applications should accomplish this task. The main pattern for validation is event driven. The two events we will use are Control.Validating and Control.Validated. To begin, let’s create the simple WinForms application shown in Figure 1. Figure 1 – a simple application Let’s add one more component to spice up the UI. Open your toolbox... [More]

Tags: ,

Programming

Hitting a web page programmatically

by Scosby Tuesday, January 19, 2010
Let's say you have a friend who is trying to win a popularity contest on a local web site. Furthermore, let's say that after you go to the site and vote you notice there is no login required and you see a bunch of crap in the query string for links as you hover over them. Let's go a step further and say you decide to write a program that will hit the website and perform the vote automatically. So, let's look at the classes in the .NET Framework that will help you do this simple... [More]

Tags: , ,

Technology | Programming

Visual Studio 2010 Web Deployment Rocks!

by Scosby Wednesday, December 2, 2009
There is a new feature in VS10 that is going to rock! I'm talking about Web.Config Transforms. While, admittedly, this functionality was provided by the VS9 web deployment project's web.config section replacement, I'm really excited to see the idea incorporated directly into the RTM and even improved! http://blogs.msdn.com/webdevtools/archive/2009/05/04/web-deployment-web-config-transformation.aspx In a nutshell, VS10 will let you define "XML Do... [More]

Tags: , ,

IT | Programming

Housekeeping: minor code changes for the blog

by Scosby Monday, September 28, 2009
A little bit of CSS and master page editing tonight. The darn blog title now matches the posts, not sure why a "white on white" color scheme was the default but oh well. Plenty more in the works right now, we'll see if parenthood gives me enough time to implement before the new year!  -Scosby

Tags: ,

Technology

Hyper-V Machines taking forever to delete?

by Scosby Friday, September 25, 2009
Ben Armstrong explains the process Hyper-V goes through when you decide to delete a VM. Very informative, thanks Ben. If you want the quick and short version: apply the very first snapshot (if any) to your VM and then delete it. Otherwise, you'll have to sit through a snapshot merge. Ben's Blog Post

Tags: ,

Technology | IT

Correctly determining your computer's machine name

by Scosby Wednesday, September 23, 2009
There is an interesting problem with a NETBIOS name, it cannot be longer than 15 bytes and uses ASCII characters. So what happens when Windows allows the computer name to be up to 25 characters long? The answer is that the NETBIOS name is the truncated version of your full computer name. This breaks Environment.MachineName, which only returns the truncated NETBIOS string. Instead, use System.Net.Dns.GetHostName method to retrieve the correct computer name.

Tags:

IT | Programming