INTELLIGENT.TECHNICAL.ARCHITECTURE.TRAINING

 
 
Blogs:
 
 

Archive for the ‘.Net’ Category

Performing the Gilded Rose kata

November 20, 2011 / No Comment
AUTHOR: Ian Davis
CATEGORY: C#

I ran across the Gilded Rose kata and had to try it. I cloned the repo and recorded the result. I hope you enjoy it.

Toji – custom brewed psake goodness

November 9, 2011 / No Comment
AUTHOR: Ian Davis
CATEGORY: .Net, ALM, Headlines

I have use psake a few times, and I wanted to see what I extract to be more productive. With the rate at which I spin off OSS and side projects, I need something that just works out of the box and is fast to set up. Borne of this need, I created Toji, and it is available as a NuGet package.

I must have my build set up with compiling, testing, packaging, and deployment. I have some xunit, nunit, nuget, msbuild helpers in the project to get projects up quickly. The lack of a xunit NuGet package, [...]

read more

Windows 8 Development Architecture and Strategy with Mark Michaelis

September 30, 2011 / No Comment
AUTHOR: Mark
CATEGORY: .Net, C#, Headlines, WinRT

With Windows 8 Microsoft ushers in a new set of technologies designed to challenge Apple’s market share while maintaining the full productivity of the PC.  In this session we discuss what they are offering and what technologies they are introducing to successfully compete – both from a users perspective and a developers perspective.  Don’t miss this session to understand a new breed of applications from Microsoft and the development technology and architecture that makes it all possible.

Sponsored by the Spokane .Net Programming User Group and Presented by Mark Michaelis

Async CTP (SP1 Refresh) Fails to Fully Install

July 4, 2011 / 1 Comment
AUTHOR: Mark
CATEGORY: .Net, C#

Although the installation of the Async CTP (SP1 Refresh) appeared to be successful, the final web page titled “Microsoft Visual Studio Async CTP” did not appear and the  “My Documents > Microsoft Visual Studio Async CTP” directory was not successfully created.  Furthermore, when I attempt to open an Async project (such as a sample), Visual Studio reports this project type is not supported.

I tried the following but none of them was successful:

  • Running a repair on Visual Studio SP1
  • Uninstalling Visual Studio SP1
    Installing SP1
    Installing Async CTP
  • Uninstalling Visual Studio 2010
    (Visual Studio SP1 stays installed and won’t uninstall at this point)
    Installing SP1
    Installing [...]

    read more

    Work Item Search in Visual Studio vNext

    May 24, 2011 / No Comment
    AUTHOR: Mark
    CATEGORY: .Net, ALM, Blog, Headlines, TFS

    Finally, there will be a search everything in Visual Studio vNext.  Here are a couple screen shots:

    TeamNavigatorSearchWorkItemsTeamNavigatorSearchWorkItem2

    Notice from the second image that there is a “standard” search syntax allowing you to search specific fields within the work item.

    Upgrading Your C# Programming Skills to Be a More Effective Developer – Microsoft TechEd DEV318

    May 24, 2011 / No Comment
    AUTHOR: Mark
    CATEGORY: .Net, Headlines, LINQ

    During my talk at TechEd, DEV318 – Upgrading Your C# Programming Skills to Be a More Effective Developer (video) (Slides), I did a full review of all the most significant C# changes since C# 1.0 as shown in the following MindMap:

    Configuring Windows SMTP Server on Windows 2008 for Relay

    October 23, 2010 / No Comment
    AUTHOR: Mark
    CATEGORY: .Net, TFS

    My SMTP mail server requires that email be sent with TLS encryption and on port 587.  This makes it problematic for Team Foundation Server (TFS) to send emails directly.  To work around the problem, I installed the Windows 2008 SMTP Server service and configured it for relaying to my real SMTP mail server. 

    Install SMTP Server

    To begin, launch Server Manager and add the SMTP Server feature.

    image

    This includes a dialog to add some additional items.

    read more

    Parallel.For where i does not go to i++

    April 25, 2010 / 1 Comment
    AUTHOR: Ian Davis
    CATEGORY: .Net, Headlines, LINQ

    A problem was recent posed that I hadn’t thought to do using Parallel.For in C#. How do you parallelize a for loop variable increased by something other than i++? Typically, I would simply iterate over a enumerable collection and run against the data in parallel using Parallel.For and Parallel.ForEach.

    It turns out that there is no support for this in the PFX API. Parallel.For does not support incrementing other than one and it does not support reverse iteration. Also, Enumerable is a static class – which means we can’t do extension methods on Enumerable. However, we can use a custom iterator to generate the sequence for us. By using a Func<int, int> allows us to use our familiar i+= syntax for the increment function. We can quickly create a very simple iterator that will help us out.

    read more

    Visual Studio Keyboard Shortcuts Wrap-up (MSDN Flash – Feb. 2, 2009)

    January 23, 2009 / 1 Comment
    AUTHOR: Mark

    In this edition, I am going to wrap up a few loose ends with a selection of miscellaneous keyboard shortcuts and links to a summary keyboard shortcut poster.

    Debugging:

    I realize that none of you would write bugs, but in case you meet someone that does or perhaps on occasion you need to debug some code in order to explain a complex algorithm, here are some invaluable debugging keyboard shortcuts.

  • F9 and CTRL+F9
    F9 creates or removes a breakpoint based on the cursor’s current location. CTRL+F9 toggles whether a breakpoint is enabled or not.
  • F5, CTRL+F5 and SHIFT+F5
    CTRL+F5 launches the application or begins running the [...]

    read more

    Visual Studio Keyboard Shortcuts for Editing (MSDN Flash -Jan. 19, 2009)

    January 3, 2009 / 2 Comments
    AUTHOR: Mark

    Knowing all the keyboard shortcuts for editing shows off our programming prowess, just like it would it did for programmers that could use VI.   Rather than describing the well known ones like CTRL+F and CTRL+H, I am going to review some that are more unique to Visual Studio Programming:

    Find

  • CTRL+I/CTRL+Shift+I
    imageIncremental Search: Turns on incremental search so that characters typed next will be search for in sequence within the file.  Use CTRL+Shift+I to search up and ESC to cancel.
  • CTRL+Shift+F and Ctrl+Shift+H
  • Find in Files:  Displays the find dialog with Look in: set to [...]
    read more

  •  

    IntelliTechture Corporation
    3024 S. Bannen Ct.
    Spokane Valley, WA  99037

    Phone: (509) 720-8842
    Email: info@intelliTechture.com

      COPYRIGHT © 2010 INTELLITECHTURE. ALL RIGHTS RESERVED.