Kirk Evans Blog

.NET From a Markup Perspective

Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: Querying Active Directory Using Principal Extensions in System.DirectoryServices.AccountManagement

    I recently had a project where I needed to query the extensionAttribute1 – extensionAttribute15 attributes for users from Active Directory.  I’ve already written about how to query Active Directory using System.DirectoryServices.DirectoryEntry .  In that post, a reader named Marc suggested...
  • Blog Post: SharePoint 2010 CAML List Joins

    This post demonstrates how to use the JOIN syntax in CAML. A customer pinged me asking about how to write a JOIN query in CAML.  Honestly, I haven’t done this since in a long time, so it took awhile to shake off the cobwebs.  I tried to make things explicit and easy to reproduce in your environment...
  • Blog Post: Playing with SharePoint 2010 MUI

    This post shows how to set up a SharePoint environment to explore the multilingual user interface (MUI).  Background I admit to being a typical American.  When I write applications, I hardly ever use resource files to support any language other than English.  My friend Derek Noonan sent...
  • Blog Post: 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...
  • Blog Post: 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 do...
  • Blog Post: 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...
  • Blog Post: Get Social Data from SharePoint via Web Service

    I am working on a project to create newsletters to send to my customers, and experimenting with a few ways to collect the information so that I can easily author the newsletter later.  One way that I am experimenting with is to use the Tagging feature of SharePoint 2010.  As I visit different...
  • Blog Post: Programmatically Creating a SharePoint Content Type

    I have been working on a project that requires creating a content type programmatically.  Admittedly, it took me awhile to figure it out.  You can create a content type for SharePoint declaratively in a feature using XML similar to the following: <? xml version ="1.0" encoding...
  • Blog Post: User Controls and Server Controls in SharePoint

    ASP.NET developers have enjoyed using user controls and server controls in their development since ASP.NET was created.  This post talks about user controls and server controls and shows how to implement them in SharePoint. User Controls A user control is a control that is associated with a .ASCX...
  • Blog Post: Debugging JavaScript with the IE Developer Tools

    An interesting question was posted on one of the distribution lists today. “The client wanted to look into this MSDN drag and drop typed left navigation bar to work on Sharepoint 2010, does anyone make this work or have idea about this?” Click the control that is circled, and the menu is expanded or...
  • Blog Post: WinDBG and PssCor2 for SharePoint Developers

    In this post, we’ll see some steps about how to troubleshoot a production SharePoint site using WinDBG and PssCor2.dll.  For an introduction to setting up your environment and getting started, see my blog post “ Intro to WinDBG for .NET Developers ”.  In this post, we’ll apply some of our WinDBG...
  • Blog Post: Intro to WinDBG for .NET Developers

    When your code goes into production, you usually no longer have access to its binaries when they reach their final destination.  Whether that is someone’s desktop or a set of servers, you no longer have access to directly observe your code and its environment.  Operating system patches are...
  • Blog Post: Adding jQuery to Every Page in SharePoint with Delegate Controls

    A customer asked how they could add jQuery to every page in SharePoint. They wanted to modify core.js on the disk, but of course we all know that Microsoft does not support modifying files that reside in the _layouts folder . Of course there are supported ways to do this without such hacks. All of...
  • Blog Post: 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...
  • Blog Post: 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...
  • Blog Post: Deploying Silverlight to a Custom List with Visual Studio 2010

    Interesting question today on an internal email list: I am facing an issue with deploying Silverlight application to SharePoint site. I am getting below error Error occurred in deployment step 'Activate Features': Failed to instantiate file "Lists/CustomWCFService-SharePointListInstance/SilverlightApplication...
  • Blog Post: Slides from VSLive: WCM in SharePoint 2010 for Developers with Visual Studio 2010

    I have posted slides from my VSLive! talk here .  This talk focused on deploying master pages, content types, and layout pages using Visual Studio 2010 and discussed how to use these assets with SharePoint as a content management server.  Thanks to all that attended, it was a great session...
  • Blog Post: Deploying an ASP.NET HttpHandler to SharePoint 2010

    Got a cool question in email today… how to deploy an HttpHandler to SharePoint 2010 that uses code-behind.  The answer is that you don’t really use code-behind like you would in an ASP.NET application where the code and assembly are in the same folder.  With SharePoint, you need to deploy your...
  • Blog Post: Book Review: WCF 4.0 Multi-tier Services Development with LINQ to Entities

    The great folks at Packt Publishing contacted me to ask if I was interested in reviewing a title for them.  When I saw the title, I said “heck yes!”  The book is WCF 4.0 Multi-tier Services Development with LINQ to Entities .  I have closely followed WCF since its early days as “Indigo...
  • Blog Post: SQL Server Provider for Claims-Based Authentication in SharePoint 2010

    This post shows how to implement FBA claims-based authentication for SharePoint 2010.  We will use the ASP.NET membership and role provider to authenticate users to our SharePoint 2010 site. Overview SharePoint 2007 introduced the ability to use the ASP.NET Membership Provider to authenticate users...
  • Blog Post: SharePoint as a Product Platform

    I am proud to have worked with the great guys at ThreeWill on a very badly needed paper, “ Benefits of SharePoint 2010 as a Product Platform ”.  We are still waiting for it to be published on Microsoft.com, but it has been made available so everyone can take advantage of its insight today. I talk...
  • Blog Post: Creating a SharePoint Site Page With Code-Behind Using Visual Studio 2010

    See the attachment to this post for the full source code. When I first started developing with SharePoint, I wanted to learn how to do the things that I did in ASP.NET.  Many of those things easily transfer, thanks to Visual Studio 2010.  For instance, it is very easy to use a WYSIWYG designer...
  • Blog Post: Enable JavaScript Intellisense for SharePoint Development

    One of my favorite new additions to SharePoint 2010 is the client side object model . You can easily reference it using an assembly for Silverlight or managed code development, which means you get all the Intellisense goodness. However, there is no Intellisense displayed for client side object model...
  • Blog Post: Import SharePoint Projects from Visual Studio 2008 to Visual Studio 2010

    I was working on a project for a customer today and needed to build a custom field control.  Visual Studio 2010 does not have a template for creating a field control.  I thought about crafting one by hand, but then I remembered that Visual Studio Extensions for Windows SharePoint Services 1...
Page 1 of 2 (37 items) 12