Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Starting Web App after PC restart is slow
ThomasS
#1 Posted : Thursday, January 8, 2015 8:34:50 AM(UTC)
Groups: Member
Joined: 8/9/2012(UTC)
Posts: 8

Thanks: 2 times
Hi,

UltiDev is installed on a PC with windows 7. (UltiDev Version 2.0.20)
When I start my Browser with the link from the web app, then it is very fast (less than 1 second)
But when I restart my PC, then the first time, I want to start the application in the browser, there are 10 seconds to show the application in the browser.

Is there a way, to start it more faster, after a PC reboot?

Best regards
Thomas
Ultidev Team
#2 Posted : Thursday, January 8, 2015 11:24:54 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Thomas.

You may specify "ping" URL as shown on the attached screenshot. If ping URL is specified, UWS will periodically send a request to the URL. For ASP.NET applications it makes sense to specify a URL that points to a dynamic page, ensuring that application initialization code is executed, which helps to warm up caches, etc.

Please let us know if this has solved the problem. If not, please post details of your application registration with UWS.

Best regards,
UltiDev Team.
Ultidev Team attached the following image(s):
Ultidev Team attached the following image(s): UWS preloading an app.png
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
1 user thanked Ultidev Team for this useful post.
ThomasS on 1/12/2015(UTC)
ThomasS
#3 Posted : Thursday, January 8, 2015 11:41:37 AM(UTC)
Groups: Member
Joined: 8/9/2012(UTC)
Posts: 8

Thanks: 2 times
Hi,

I have a ASP.Net MVC application. Which file should I make as "ping url"?
Is it ok, when I set my WebConfig as ping url? (/web.config)

Thomas
Ultidev Team
#4 Posted : Friday, January 9, 2015 12:43:53 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Thomas,

You may choose to use your default application URL ("/") as a ping URL, if your home page is not terribly expensive performance-wise. You may also create a special page just for pinging. In general, imagine someone hitting a page on your site periodically to keep the application running - whatever page you would choose for that (existing or new) should be selected as a ping URL.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
1 user thanked Ultidev Team for this useful post.
ThomasS on 1/12/2015(UTC)
ThomasS
#5 Posted : Monday, January 12, 2015 2:55:25 AM(UTC)
Groups: Member
Joined: 8/9/2012(UTC)
Posts: 8

Thanks: 2 times
Thanks,

perfect. It works.

Thomas
Ultidev Team
#6 Posted : Monday, January 12, 2015 10:59:12 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
No problem, Thomas! We are very happy it worked for you.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Guest
#7 Posted : Wednesday, January 14, 2015 3:58:52 AM(UTC)
Groups:

Message was deleted by a Moderator.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.