Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
i have developed a web application which takes a very long time to load for the very first time. i know the dll library takes a time to load but this one takes almost 7 to 10 mins everytime i run the project from the visual studio. once i login to the system it works fine.

my project is using .Net Framework 4.0, devexpress dll files version 13.1.7, itextsharp, office interop dll files ,microsoft enterprise library , and may be other system files.

can some one please tell me how can i reduce this time to get enter into the system.
Posted
Comments
Kornfeld Eliyahu Peter 12-May-14 9:09am    
It takes that time from VS only? Did you tested it without VS?
ravikhoda 12-May-14 9:11am    
yeah it takes that time on local machine only. on server things run fine.
[no name] 12-May-14 9:12am    
You do realize that we cannot see your project, your code or your server to know anything about your problem? Debug your code to find out what is taking so long.
ravikhoda 13-May-14 1:46am    
well i have already done that and not any code is taking long time. what is the issue id when the project run for the first time and when i see visual studio it shows at bottom left that "loading symbols from so and so folder". and this go on for as long as 7 to 8 mins or sometime 10 mins ...
_Asif_ 12-May-14 9:32am    
Check your log files. You should get the idea what went wrong. If you have not using logging. You better start doing NOW!

Hello,

When VS runs, it does the compiling etc...

So probs compiling your app is taking long.

There are other things to take into account.

Having a slowing hard drive or not a lot of ram can also slow the compiling process down.

Eg: a 5400rpm hhd + a 4gb module and lets say a core i3 will struggle a bit on a large application with VS 2013.

So I wouldn't really worry, if it runs smoothly on your server no issue.

*** TIP: while you are debugging MVC code you can edit any html etc... while you are debugging and don't have to stop and start the debugging process everytime, use Ctrl+Alt+Enter to refresh the website from within Visual Studio.

Good Luck!
 
Share this answer
 
Look in your Build Configuration Manager. As I recall click Build, Configuration Manager. If you are in debug mode make sure only the projects that actually need to be built are checked and make sure nothing is getting deployed while in debug mode.

It almost sounds as if you are in release mode and building more than is necessary.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900