Kirk Evans Blog

.NET From a Markup Perspective

How I Became a SharePoint 2010 MCM

I recently attained the Microsoft Certified Master for SharePoint 2010 certification.  I have long wanted to write about the experience, but honestly didn’t know how to begin.  After quite a few conversations with friends and colleagues, I thought I would share some insight about the process.  I am not writing this to dissuade you from… Read more

What Every SharePoint Admin Needs to Know About Host Named Site Collections

This post intends to tell you everything you need to know about host named site collections so that you can decide if they are appropriate for your environment.  This post is NOT telling you to run out and create everything as host named site collections in SharePoint, instead it is meant to help educate you… Read more

Create DNS Entries From a File

This post will show how to create DNS entries from a file using the DNSCmd.exe tool. Background I have a kind of edge case that I am trying to troubleshoot for my customer.  They have a lot of sub-companies, and they created a web application per company.  Fast forward a few years, they now have… Read more

Set IIS Log Fields with C#

This post shows how to set the log fields for IIS web sites programmatically.  Code is attached at the end of the post. Background I have a customer that has many web applications, and we need to set the IIS log fields to do some investigation.  James Blackwell posted a great sample of how to… Read more

Making The Case for Async Web Parts

This post will show how to make a call to HttpWebRequest asynchronously from a web part and wait on the result or time out. Years ago, I was fortunate to meet Jeff Richter and attend a session he gave on .NET performance.  He discussed I/O completion ports and showed why any calls from an ASP.NET… Read more

Querying Active Directory

In this post, we show how to query Active Directory using out of box tools as well as custom code.  Since joining Premier Field Engineering, I realized that an essential part of understanding SharePoint requires an understanding of Active Directory and LDAP.  You need to have a decent grasp on the basics of LDAP to… Read more

SharePoint Developers–What’s On Your Machine?

I recently got a question from a customer about utilities to include on their development machines.  My view is that you should trust your developers and let them install the tools they need.  However, some devs don’t have managers who trust their developers to do the right thing and they need to request tools in… Read more

What is a Dedicated Support Engineer?

For the past 7 years, I worked in Developer Platform Evangelism to talk to customers about the latest and greatest technologies that Microsoft would soon be releasing, and worked to gain early adopters of the technologies.  This was a very fun job, but I desired a change.  This past July, I joined the Premier Field… Read more

My New Dev Rig: Boot to VHD and Hyper-V

I have a Lenovo T61P with 8 GB RAM.  That’s what I use to do demos.  To many devs, they’re thinking, “oh man, wish I had that much RAM”.  I wish you did, too, because the ROI of adding RAM for developers is an easy justification.  But here’s the thing… I don’t just dev with… Read more

Creating a Windows Server 2008 R2 Domain Controller

I have a confession… I am a developer, a true developer.  I am infrastructure illiterate, meaning I very, very, very infrequently (like maybe twice ever) install a domain controller by myself.  I don’t assign IP addresses, heck it’s rare that I install Windows Server from scratch (we use network installs internally, I don’t even have… Read more