Visual Studio 2010 Beta 2 Error Message – THE APPLICATION CANNOT START

Software Development, Team System February 2nd, 2010

If you running the VS 2010 Ultimate Beta 2 and you are getting a screen with an error message – THE APPLICATION CANNOT START, you can fix this problem:

Use Visual Studio Command Prompt (2010) and  run “devenv /resetuserdata”.

[C]:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE>devenv /resetuserdata

Tags: ,

Visual Studio 2010 and .NET 4 Beta 2

Software Development, Team System October 19th, 2009

clip_image001Its here!

msdn subscribers can download now, general availability is 21st October. Visit the Visual Studio 2010 / .NET Fx 4 Beta site for more information, downloads, forums and to submit feedback.

You’ll also notice that MSDN website has undergone a redesign and MSDN subscribers will also see new benefits such as Azure compute hours, Team Foundation Server and e-learning options.

You can read Soma’s blogpost announcing Visual Studio 2010 / .NET Fx 4.

Tags: , ,

WCF Load Test

Software Development, Team System June 16th, 2009

Just published on CodePlex  -WCF Load Test tool.

Project Description from the project home page on CodePlex:

This tool takes a WCF trace file and a WCF client proxy, or a WCF interface contract, and generates a unit test that replays the same sequence of calls found in the trace file. The code generated is easily modifiable so that data variation can be introduced for the purpose of doing performance testing.
The tool generates code for both Visual Studio 2005 and Visual Studio 2008. It also installs a wizard into both editions of Visual Studio for creating the trace and processing it from inside Visual Studio. If both editions are present the tool is installed into both editions. The source code is a Visual Studio 2005 project.

Latest Release June 2009

A new beta was released in June 2009 adding support for ASMX web services. Download it from here.

Features

The tool has the following main features:

  • Replay of captured scenario in a unit test that can be included in a load test.
  • Support for the DataContractSerializer.
  • Support for message contracts.
  • ASMX support (beta)
  • Support for proxies generated using svcutil.
  • Support for clients that create proxies at run time from contract interfaces.
  • Supports calls to multiple services in a single scenario.
  • Supports multiple calls to the same service operation.
  • Filtering by SOAP action of which messages in the trace to replay.
  • Readable and modifiable code is generated.
  • Automatic association of trace message with proxy method (requires all operations to have a unique SOAP action).
  • Support for client and server side traces.
  • A command line tool for processing traces and generating code.
  • Visual Studio 2005/2008 integration (Team Developer, Team Test, Team Suite and for 2008 also Professional)) that can be used instead of the command line tool.

Tags: , , , , ,

DebuggerDisplay Attribute

Team System June 3rd, 2009

The DebuggerDisplay attribute (System.Diagnostics.DebuggerDisplayAttribute) controls how a class or field is displayed in the debugger variable windows. When a custom object is displayed, the name of the class or the result of ToString() is shown. This can be changed with a DebuggerDisplay attribute.

Look at the following demonstration. I added the DebuggerDisplay attribute:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace DebuggerView
{
    [DebuggerDisplay("User name={UserName} " +
        "& email={EmailAddress}")]
    class User
    {
        public string UserName { get; set; }
        public string EmailAddress { get; set; }
    }

    class Program
    {
        static void Main(string[] args)
        {
            User u = new User()
            {
                UserName = "maor",
                EmailAddress = "maor@example.com"
            };
        }
    }
}

The DebuggerDisplay attribute has a single argument, which is a string to be displayed in the value column for instances of the type. This string can contain braces ({ and }). Text within a pair of braces will be evaluated as a field, property or method.

And the result is:

DebuggerDisplay

Tags: , ,

Visual Studio 2010 Beta 1 is Available for MSDN Subscribers

Team System May 18th, 2009

Visual Stusio

Download it…

Tags: ,

March Meeting – Web and Load Test

Team System March 18th, 2009

This month we had a testing specialist at the podium, Shai Raiten attracted over 50 listeners with a well built lecture and fascinating demos about Visual Studio Team System web testing. The original plan was to dedicate one lecture to web testing and the other one to load testing, but since the there was a lot of interaction with the audience and a lot of discussions we’ve decided to go with the flow and dedicate the entire meeting to web testing. Shai will join us again on April (exact date will be pubished here and on MS-Event feed) and will present some web testing left-overs and a Load session

For the presentation, code examples and much more pls see Shai’s blog

Tags: , , , , , , ,

TFS Adapters – Mocking TFS objects

Team System March 5th, 2009

New project on  Codeplex -  Team Foundation Adapters implements Interfaces and Adapters for the TFS API objects.  Being able to mock dependencies is a core tenet of unit testing is important. This project allows us to create robust Unit Tests for apps that extend the TFS system.

Tags:

Oracle Support Announced for VS DB Pro 2010

Team System March 1st, 2009

Quest Software has announced that they will be creating an Oracle DSP (Database Schema Provider) for Visual Studio Team System 2010.  This means that all if you have Oracle databases in your apps you can get the same benefits from the Database Edition.

Quest has opened up a Beta program on their TeamFuze.net site for Oracle professionals using Team System.

Tags: ,

MSBuild + Team Build 2008 Presentation

Software Development, Team System February 1st, 2009

You can download MSBuild & Team Build 2008 presentation.

Tags: , , ,

New White paper on Team System Web Access 2008 Scalability Limits

Team System January 25th, 2009

This article explains the scalability limits of Team System Web Access and provides three workarounds to improve the total number of concurrent users that Web Access can support including a neat batch command that will recycle IIS and clean up the TSWA cache.

Check it out at:

Team System Web Access 2008 Scalability Limits White Paper

image

Source: chuck’s blog.

Tags: ,