473,785 Members | 2,423 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Studio and IIS

Hi All,

I am using visual studio 2003 on a website I am developing on. I have
it running inside a VM, and use IIS to host the website when I am
viewing and debugging it.

The problem is that when I recompile the project and then load up the
site again with a browser it takes ages to load the start page
(probably about 3 or 4 minutes).

Anyway this really slows down development as you can understand.

Any suggestions?

I am using Virtual PC, and the VM has 512Mb memory allocated to it.

Aug 15 '07 #1
2 1355
Hi,

BobLaughland wrote:
Hi All,

I am using visual studio 2003 on a website I am developing on. I have
it running inside a VM, and use IIS to host the website when I am
viewing and debugging it.

The problem is that when I recompile the project and then load up the
site again with a browser it takes ages to load the start page
(probably about 3 or 4 minutes).

Anyway this really slows down development as you can understand.

Any suggestions?

I am using Virtual PC, and the VM has 512Mb memory allocated to it.
512MB sounds a little on the "small" side to me. However I am not a
Virtual PC expert. In my place, we use VMWare with good results, but it
costs.

That there is a longer delay when you recompile the project is normal,
because .NET doesn't create binaries, but IL (intermediate language),
which will be JIT-ed (Compiled Just-In-Time) when the first call occurs.
But 3 to 4 minutes sounds quite bad. How much do you get when you run
it on a non-virtual installation?

Do you have a way to use ASP.NET 2.0 instead of 1.1? That would imply
using VS2005 (or VS2008, still in Beta but really in a good shape)
instead of VS2003.

Finally, the "good old times" anecdotes: When I started developing (in
1996), I was working on embedded systems and writing code in C, and
there was no differential compilation, so the whole system had to build
every time. A compilation took 8 minutes. During these 8 minutes, it was
pretty much impossible to do anything else on the PC. Let me tell you, I
was compiling much less often than now :-)

Then I got a new computer and the compilation time dropped to 3 minutes.
It did feel really great :-)

Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog: http://www.galasoft.ch
PhotoAlbum: http://www.galasoft.ch/pictures
Support children in Calcutta: http://www.calcutta-espoir.ch
Aug 15 '07 #2
On Aug 15, 7:32 pm, "Laurent Bugnion, MVP" <galasoft...@bl uewin.ch>
wrote:
Hi,

BobLaughland wrote:
Hi All,
I am using visual studio 2003 on a website I am developing on. I have
it running inside a VM, and use IIS to host the website when I am
viewing and debugging it.
The problem is that when I recompile the project and then load up the
site again with a browser it takes ages to load the start page
(probably about 3 or 4 minutes).
Anyway this really slows down development as you can understand.
Any suggestions?
I am using Virtual PC, and the VM has 512Mb memory allocated to it.

512MB sounds a little on the "small" side to me. However I am not a
Virtual PC expert. In my place, we use VMWare with good results, but it
costs.

That there is a longer delay when you recompile the project is normal,
because .NET doesn't create binaries, but IL (intermediate language),
which will be JIT-ed (Compiled Just-In-Time) when the first call occurs.
But 3 to 4 minutes sounds quite bad. How much do you get when you run
it on a non-virtual installation?

Do you have a way to use ASP.NET 2.0 instead of 1.1? That would imply
using VS2005 (or VS2008, still in Beta but really in a good shape)
instead of VS2003.

Finally, the "good old times" anecdotes: When I started developing (in
1996), I was working on embedded systems and writing code in C, and
there was no differential compilation, so the whole system had to build
every time. A compilation took 8 minutes. During these 8 minutes, it was
pretty much impossible to do anything else on the PC. Let me tell you, I
was compiling much less often than now :-)

Then I got a new computer and the compilation time dropped to 3 minutes.
It did feel really great :-)

Greetings,
Laurent
--
Laurent Bugnion [MVP ASP.NET]
Software engineering, Blog:http://www.galasoft.ch
PhotoAlbum:http://www.galasoft.ch/pictures
Support children in Calcutta:http://www.calcutta-espoir.ch- Hide quoted text -

- Show quoted text -
Any other ideas on this? I have run this type of thing on normal
computers (not running in a virtual environment), and this problem
doesn't normally occur, or if so it is just a short delay.

Unfortunately I cannot use much more than 512 memory in the VM as my
host machine only has 1GB.

Aha, is there a conversion tool to take a virtual PC image into
VMWare? I may give it a go for comparison, I don't really care if it
makes no difference, but it could be an interesting comparison.

Aug 21 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7269
by: angelag | last post by:
I am currently taking a college course in Visual Basic.Net and I am a beginner. I bought Visual Studio.Net 2003 to do my homework at home. I built my first project and e-mailed it to myself at school. When I tried to open it in the lab, I got a message saying I couldn't open it because it was created with a newer version. Evidently the lab is using Visual Studio.Net 2002. My professor doesn't just want the executable file, he wants...
0
6139
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug file as folows. I need help to resolve them ASAP: cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D " WIN32" /D "_W INDOWS" /D "_WINDLL" /D "_AFXDLL" /D "_MBCS" /D "_USRDLL" /
0
2598
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project: OSTDLL, Configuration: Debug Win32 ------ Compiling... StdAfx.cpp
0
774
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project: OSTDLL, Configuration: Debug Win32 ------ Compiling... StdAfx.cpp
1
2545
by: Daniel A. Thomas | last post by:
License required Maybe you don't have this but have one of the products that qualifies for the upgrade such as ... Visual Studio .NET 2003 Professional Visual Studio .NET 2003 Professional Special Edition Visual Studio .NET 2003 Enterprise Architect Visual Studio .NET 2003 Enterprise Developer Visual Studio .NET 2002 Professional Edition
1
3602
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in some files and work on it. Let say, I want add new page to web project named websiteOrder.sln, i will open websiteOrder.sln in my local computer, connected to websiteOrder.sln located in Visual Source Safe 6.0(source safe located in another...
0
6686
by: marathoner | last post by:
I am currently migrating my Visual C++ 6.0 applications to Visual Studio 2005. I am getting compiler errors involving the VS2005's platform SDK. When I removed directory references to that SDK, and started using the Microsoft Platform SDK for XP SP2, the errors disappeared, but I am now getting numerous warnings (macro redefinitions) as follows: StdAfx.cpp WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) C:\Program...
2
3401
by: Cramer | last post by:
So, what is the relationship between Visual Studio and Visual Web Developer. I find a lot of documentation on MSDN that presents Visual Web Developer as it's own stand-alone product (which I'd expect of the Express editions), but apparently there are NON Express versions of Visual Web Developer. Is Visual Web Developer only built-in to Visual Studio 2008 Professional? I see "Microsoft Visual Web Developer 2008" listed as an installed...
0
7335
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the beginning CIS student who is struggling to get their programs working. I work in the computer lab at the college I'm attending and I see many students who don't know how to use the IDE for best results. Visual Studio automatically creates a number of...
3
10513
by: Johnson | last post by:
I'm not sure if this is an IIS 5.1 issue or ASP.NET issue, or Visual Studio 2008 issue -- thus posting to 3 groups. Please don't be offended. The problem I'm encountering is that Visual Studio closes unexpectedly and without any error message being displayed, or error messages written to the system logs. Visual Studio closes when I attempt to open an ASP.NET Web application (not Web site) solution for which IIS is set as the project's...
0
9483
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10346
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10157
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10096
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8982
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5386
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4055
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2887
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.