While browsing Visual Studio Developer Center at MSDN if found this interesting article which identifies the known issues you will face when using Visual Studio 2003 on Windows Vista. While Visual Studio 2003 is not supported on Windows Vista.

Check the full issues list here

You may get the below error while trying to load ASP.NET web site/Web application while using Visual Studio under Windows Vista.

image image

To resolve this error and get the project loaded follow the following steps :

1- close the current running instance of Visual Studio

2- Run the Visual Studio again but in Administration Mode , to do so :

- From Start menu select Visual Studio , right click and select Run as Administrator option.

image 

3- You should now see that the title bar has been changed to show that you are running in administration mode. [Project Name] -  Microsoft Visual Studio (Administration)

image

Congratulations !  You will now be able to load the web site .

BTW : If we you don't have a web site configured on IIS 7.0 you will be prompt to create one , just click yes

image

 

Good luck :)

Hello All,

I've finally manage to upgrade my development machine from Windows XP to Windows Vista and of course this was not a normal operation !.

In fact I've spend a lot of time between handling the normal Windows programs to get it run on Vista, and the development software which are only my needs in this live :).

I'll start a blogging series about common problem I've faced and how to fix it , I'll concentrate mainly on the development software

- Visual Studio

- ASP.NET Web sites/ Web application and the integration with IIS 7.0

- SQL server 2000 and 2005.

- Common tips and tricks for developer who works with Vista as a primary operation system.

 

So , Wait for me ....

 

Regards,

Hosam Kamel

A nice ASP.NET handler created by Omar AL Zabir to help compressing and combining multiple Javascript/CSS files to enhance the page load.

image image

Read the full article here

You can find details about the HttpHandler from this CodeProject article:

http://www.codeproject.com/KB/aspnet/HttpCombine.aspx

You can also get the latest code from this code site:

http://code.msdn.microsoft.com/HttpCombiner

Team System Web Access (formerly known as TeamPlain) is a Web interface to Visual Studio 2008 Team Foundation Server.

Team System Web Access is a free download that will be incorporated into a future release of Visual Studio Team System. You may install it with licensed installations of Team Foundation Server. You must be a licensed user of Team Foundation Server to use Team System Web Access.
New With Service Pack 1


Features in Team System Web Access

Version 1.0 of the SQL Server 2005 Driver for PHP is available for download on the MSDN download site.

 

Via : BrettBlog

EnjoyA nice series of articles by Tom Hollander

image

Part 1

Part 2

Part 3

 

Enjoy ....

Project Description

This tool takes a SQL Profiler trace file and generates a unit test that replays the same sequence of database calls found in the trace file. The unit test is designed to be used in a Visual Studio Load Test. 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. The source code is a Visual Studio 2005 project.
This is a V1 release with some known limitations which are specified in project description.

Why Load Test SQL?


There is a lot of code out there that makes load testing the application very difficult. The most common type is a client application that contains direct database calls. The application however is not structured to allow the business logic to be exercised without the GUI. Another common scenario is a legacy application written in a language such as Visual Basic 6. In cases like these, it can be difficult to load test the application without a GUI test tool, which introduces other disadvantages. GUI test tools are notoriously difficult to use, generally lead to brittle tests and also have limitations in scaling the load injectors sufficiently to exercise the servers.
This tool offers one possible alternative. You start with using the client application to generate a trace of the SQL statements which typically represent a usage scenario. You can then turn the trace into equivalent ADO.NET code program that can be used in a load test.

Tool Description


The tool generates a Visual Studio 2005/2008 Unit Test from a SQL Server Profiler trace. It extracts all the SQL statements and stored procedure calls from the trace and turns them into a single Visual Studio Unit Test, which can then be configured as a Visual Studio Load Test. The tool does not interact with the database itself when it analyzes the trace and generates the test code. It can therefore be used in “offline” scenarios.
The generated code needs to be customized to include a connection string to the database under test. That code also includes hooks to allow the user to customize the parameters that are passed to the SQL statements and stored procedures, so that variability can be introduced into the data to prevent caching from producing artificially high performance figures.
The tool is intended to be used in conjunction with a client program that runs against a database. A trace of the client’s SQL Server activity is captured using the SQL Server Profiler. This represents a test scenario, which is then processed by the tool to produce a Unit Test that replays the scenario.

Installing


Make sure SQL Server 2005 SDK is installed.
Copy the packaged assemblies to a convenient location.
To use the generated code in a load test you need to have one of the following installed:
  • Visual Studio 2005 Team Edition for Testers
  • Visual Studio 2005 Team Suite
  • Visual Studio Team System 2008 Test Edition
  • Visual Studio Team System 2008 Team Suite

Supported Functionality

  1. SQL Server 2005 only (others not tested).
  2. ADO.NET 2.0 (others not tested).
  3. Most data types.
  4. Named input, output and input-output parameters.
  5. Positional input parameters to stored procedures.
  6. Operation timers generated for each database call.

Limitations

  1. Only supports code that operates against a single database with a single connection.
  2. Prepared statements are not supported.
  3. The tool cannot (yet) configure and capture the trace for you, it requires you to use the SQL Profiler yourself to get a trace. With SQL 2005 it is possible to automate this.
  4. Not (yet) integrated into Visual Studio or the DB Pro edition.
  5. The tool has only been tested in an English environment, it is unlikely to work correctly in other environments, particularly with dates. In a future version this could be resolved by requiring the ExistingConnection event class, which lists language and date format.
  6. The tool does not support the XML data types.
  7. InputOutput parameters that are initialised with a NULL cannot be distinguished from Output-only parameters, so they are treated as Output only.
  8. When the trace passes a NULL to a binary parameter (e.g. image, binary, varbinary) the generated code will generate a runtime error. The generated code needs to be modified to pass SqlBinary.Null. The custom code generation extensibility point can be used to work around this.
  9. Positional parameters passed to SQL statements (as opposed to stored procedure calls) are not supported.

 

Check project page at CodePlex Here

image

This starter kit allows for simple CRUD operations to maintain a company's employee information. It is intended to be a guideline for building enterprise level projects, by utilizing new ASP.NET 2.0 and SQL Server 2005 features, as well as latest best coding practices.

A nice article by Scott how to speed up FireFox when using ASP.NET Development server.

read it here.

More Posts Next page »