Visula studio 2003 fornisce strumenti per la creazione di progetti WEB che a primo impatto risultano molto comodi ....

Questa procedura crea una serie di vincoli. Primo di tutti si possono avere problemi ad aprire una soluzione se questa non è ben configurata in ISS, un altro comportamento "fastidioso" è che il codice sorgente viene messo in una posizione differente dai file di progetto e di soluzione.... ed ancora i problemi di porting di soluzioni web complesse da una macchina ad un altra.

La soluzione a questo problema è creare  una libreria di classi e apportando delle piccole modifiche a visual studio è possibile godere di tutte le normali funzionalità disponibili con un progetto web.

Trovate il dettaglio relativo alle modifiche da apportare qui

Riporto qui di seguito una delle parti più importanti dell'articolo citato:

"To set up a class library project to run a browser when you debug it:

  1. Right-click on the project in the solution explorer and select properties
  2. Under Configuration Properties/Debugging, change Debug Mode from 'Project' to 'URL'
  3. Hit Apply
  4. In the Start URL field, enter the complete url to the page you want to hit to debug, like:

http://localhost/testproj/webform1.aspx

In order to debug ASP.NET application you also need to attach to the aspnet_wp.exe, otherwise you only can debug client script. Is there a way to auto attach to aspnet process?

If you set the 'Enable ASP.NET Debugging' option to True in the Debugging options, it should attach automatically when you run the project."

Aggiungo una nota forse ovvia ... per permettere alla vostra applicazione di partire dovete confiugurare la cartella in cui si trova il sorgente del progetto "WEB" come directory vistuale in IIS.

Buon divertimento......