Bloggers

Blogs

  • Solving the TFS Build Agent Error - The session for this agent already exists

    Recently we've been getting the following error for our TFS build agents which caused all our builds to fail The error reported is "The job has been abandoned because agent did not renew the lock. Ensure agent is running, not sleeping, and has not lost communication with the service." Investigating the _diag folder of the build agent itself reveals the actual error. Read More...
    Posted to Eric Phan's SSW Blog by Blog - EricPhan.net on Fri, Jun 10 2016
    Filed under: ,
  • Visual Studio 2015 hangs when publishing a website

    For the last month or so I've been living with my Visual Studio 2015 hanging for up to two minutes when simply right clicking on the web project and selecting Publish. Well today I got fed up with waiting and went to search for solutions. I stumbled across this Stack Overflow answer from Mike. Read More...
    Posted to Eric Phan's SSW Blog by Blog - EricPhan.net on Thu, Jan 28 2016
    Filed under:
  • Consolidating NuGet Package versions

    One of my pet peeves is having differently versioned NuGet packages across my projects. Previously I would just dig around in the packages.config of each project and check if the versions are consistent and install the right versioned package. Never again! Read More...
    Posted to Eric Phan's SSW Blog by Blog - EricPhan.net on Fri, Jan 22 2016
    Filed under:
  • Test Driving the Tesla Model S

    Thanks Adam for lending me his Tesla Model S for the last two weeks. It has been really fun to drive and both Hayden and Michelle love it. Hayden’s going to miss it! Read More...
    Posted to Eric Phan's SSW Blog by Blog - EricPhan.net on Mon, Jun 29 2015
    Filed under:
  • KendoUI - Grid - Footer Template Formatting

    Ran into an issue today whereby I was showing an aggregated Sum in the footer of a column. This worked correctly but the number was not formatted and showed 6 decimal places. Looking through the KendoUI docs and forums yielded plenty of results, but this was all for client side binding and formatting. Read More...
    Posted to Eric Phan's SSW Blog by EricPhan.net on Wed, Nov 13 2013
    Filed under: ,
  • Suggestion - Visual Studio 2013 - Team Explorer Home window

    I have been using Visual Studio 2013 for a while now (Preview, RC and now RTM) and one thing that I believe can improve the development experience is the Team Explorer - Home window/hub. Read More...
    Posted to Eric Phan's SSW Blog by EricPhan.net on Fri, Oct 18 2013
    Filed under: ,
  • Javascript Corner - Font Awesome

    I have been Font Awesome over the last year for all my web projects. It's goal is to do away with all the images that you need for a modern web application and replace them with a single font. Why replace images with a font you may ask? There are several advantages: * Fonts are scalable, so they look crisp at whatever size you want them * You can use all your font styles on these icons to style them (like size and colour) * All modern browsers support the download of custom fonts (there is a...
    Posted to Eric Phan's SSW Blog by EricPhan.net on Tue, Oct 15 2013
    Filed under: ,
  • Javascript Corner - jquery.lazyload

    I've used this usefully little plugin on several projects, and Scott Hansleman recently highlighted it in his Pinching pennies when scaling in The Cloud blog post. It's useful for situations where: You want to load images based on some convention but aren't sure if they exist You want to load only images that the use is able to see on their page Take this example that I've been working on this week. It's a leader board for our timesheeting application that shows the current top...
    Posted to Eric Phan's SSW Blog by EricPhan.net on Fri, Apr 26 2013
  • Javascript Corner - jquery.cookie

    I'm trying to do a regular post on useful javascript libraries and plugins to existing frameworks such as jQuery , knockoutJs etc... So to kick things off, let me introduce jquery.cookie . This usefully little library allows you to get and set cookies on the client side. Now why might you want to do this? Serve up a generic cached page and personalize based on cookie information (a lot of sites do this, like eBay shows your name, but will still require you to sign in) Retrieve some information...
    Posted to Eric Phan's SSW Blog by EricPhan.net on Mon, Apr 22 2013
  • Switching to Javascript and CSS Bundling in MVC 4

    I was working an an internal project that started on MVC 2, and has recently been upgraded to MVC 4. There's a lot of house keeping to do to keep the codebase maintainable. One custom piece of code that was implemented to make sure assets like javascript and css were not cached when a new version was released was implemented as follows: <link rel = "stylesheet" type = "text/css" href = "@Url.Content(" ~/Content/themes/base/jquery-ui.css " + Versioning.Latest...
    Posted to Eric Phan's SSW Blog by EricPhan.net on Mon, Apr 15 2013
1 2 3 4 5 Next > ... Last »