Install TFS2015 ctp with basic configurations

Categories: Uncategorized Tags:

TFS2015 CTP and VS2015 CTP6 are available for download

In case you missed the news, Visual Studio 2015 CTP 6 and TFS 2015 CTP are available for download. The following link contains the release notes and the bits

Remember not to install CTP products on your production machines. They are for testing purposes and are not supported

Categories: Uncategorized Tags: ,

Test Controller machine is running out of space

Yesterday, the c: drive on the Test Controller machine was running out of space while doing load testing. There few solutions to this problem


Delete files and folders under %localappdata%\VSEQT\QTController

Solution 2

If you are still running out of space, consider moving the Test Controller VSEQT folder to another drive

  • Go to C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE
  • Open QTController.exe.config and QTController64.exe.config
  • Add to the appSettings section the following line

    <add key=”WorkingDirectory” value=”D:\Test Controller Data”/>

    The WorkingDirectory entry is the base directory for staging/temporary files, overrides Windows default Application Data Directory

  • Restart the ‘Visual Studio Test Controller”

  • Run a Load Test

Categories: ALM Tags: , ,

Free Course: Introduction to Mobile App Development

Interested in learning something new during the holidays? Here is a free course from the Microsoft Virtual Academy

Categories: Uncategorized

Replace JavaScript serializer in Kendo controls with NewtonSoft

I have been doing code optimization for an ASP MVC 5 application that uses the Telerik Kendo controls. Some of the search results may return 7000 records in this project. After I had replaced the serializer, it took 30% less time to load the search results page.


The ASP MVC Helpers for Kendo controls by default use the System.Web.Script.Serialization.JavaScriptSerializer which is slow compared to the NewtonSoft Json serializer. Telerik made it easy to replace the default serializer.


  • Created a class that implements IJavaScriptSerializer and implement the Serialize method.
    public class CustomKendoJsonSerializer : IJavaScriptSerializer
       public string Serialize(object value)
          return JsonConvert.SerializeObject(value); //use the serializer you want  here
  • Create a class that implements JavaScriptInitializer and implement the CreateSerializer method
    public class CustomKendoInitializer : JavaScriptInitializer
    public override IJavaScriptSerializer CreateSerializer()
    return new CustomKendoJsonSerializer ();
  • In the Application_Start event in the Global.asax file, register the new serializer
Kendo.Mvc.Infrastructure.DI.Current.Register<IJavaScriptInitializer>(() => new CustomKendoInitializer());
Categories: .NET,, C# Tags: , ,

ASP MVC 5: ViewBag does not exist in the current context

November 16, 2014 1 comment

After upgrading one of my client’s applications from ASP MVC 4 to ASP MVC 5, We had designers errors related to Html Helpers and ViewBag in cshtml pages.

To fix those issues make sure you do the following:
Install Asp.NET Web Helpers Library from Nuget
Open the Web.config of the project and update the bindings if they haven’t been updated when installing the Nuget packages for example

<assemblyIdentity name=”System.Web.Mvc” publicKeyToken=”31bf3856ad364e35″ />
<bindingRedirect oldVersion=”″ newVersion=”” />


Find “webpages:Version” in the appsettings and update it to version My web.config had

<add key=”webpages:Version” value=”″ />

and I updated it to

<add key=”webpages:Version” value=”″ />

Restart Visual Studio and rebuild. You may have to delete the bin folder for your project


Categories: Tags: ,

Load Testing: Context parameter ‘$HIDDEN1.__RequestVerificationToken’ not found in test context

I was doing load testing using Visual Studio 2013 Ultimate for one of the applications I was working on and I noticed the following error when I try to run the recorded load test

Context parameter ‘$HIDDEN1.__RequestVerificationToken’ not found in test context


The test scenario was the following:

  • Load home page
  • Click a url on a page
  • Dialog shows up (GET)
  • Select a value from a dropdown on the dialog (POST)
  • Submit


The tool was trying to use $Hidden1.__RequestVerificationToken from the main page but that variable wasn’t available in the current context.


Add a new Extraction Rule, create new variable at the GET request step above the POST request

Assigned the __RequestVerificationToken value in the form to a Context Parameter

In the Post request, change the form post parameter to new token

That specific request was a POST request done using Ajax.


Get every new post delivered to your Inbox.

Join 419 other followers