Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is a simulated HTTP requests?

26 views
Skip to first unread message

Marvin Landman

unread,
Nov 23, 2009, 9:23:21 PM11/23/09
to
Hi,

I've read on
http://msdn.microsoft.com/en-us/library/system.web.hosting.iprocesshostpreloadclient(VS.100).aspx
that "ASP.NET developers who want to preload ASP.NET Web applications
should use the simulated HTTP requests in IIS 7.0 combined with the
Application_Start method in the Global.asax file."

I would like to know how to simulate a request or what is a simulated
request.

Thanks.

Regards,
Marvin

Alexey Smirnov

unread,
Nov 24, 2009, 3:24:26 AM11/24/09
to
On Nov 24, 3:23 am, Marvin Landman <mar...@newsgroup.nospam> wrote:
> Hi,
>
> I've read onhttp://msdn.microsoft.com/en-us/library/system.web.hosting.iprocessho...

> that "ASP.NET developers who want to preload ASP.NET Web applications
> should use the simulated HTTP requests in IIS 7.0 combined with the
> Application_Start method in the Global.asax file."
>
> I would like to know how to simulate a request or what is a simulated
> request.
>
> Thanks.
>
> Regards,
> Marvin

I'm not sure why that article refers to IIS7 only. Because
implementing the IProcessHostPreloadClient interface could be used to
automatically start the web application on IIS7.5 without any
"simulated HTTP requests". There is an article by Scott Guthrie about
this new feature, see
http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx

Generally, simulated request is a script to send fake requests to the
application to periodically “wake it up”. You can do it yourself using
VBS, or using the code provided on IIS.net web site
http://learn.iis.net/page.aspx/688/use-the-iis-application-warm-up-module/

Again, for IIS7.5 there is a module which can be installed in IIS
Admin panel
http://www.iis.net/expand/ApplicationWarmUp

Hope this helps

Marvin Landman

unread,
Nov 24, 2009, 11:04:33 AM11/24/09
to
Thank you very much now this makes sense to me. I like this new feature.:)

Alexey Smirnov wrote:
> On Nov 24, 3:23 am, Marvin Landman <mar...@newsgroup.nospam> wrote:
>> Hi,
>>
>> I've read onhttp://msdn.microsoft.com/en-us/library/system.web.hosting.iprocessho...
>> that "ASP.NET developers who want to preload ASP.NET Web applications
>> should use the simulated HTTP requests in IIS 7.0 combined with the
>> Application_Start method in the Global.asax file."
>>
>> I would like to know how to simulate a request or what is a simulated
>> request.
>>
>> Thanks.
>>
>> Regards,
>> Marvin
>
> I'm not sure why that article refers to IIS7 only. Because
> implementing the IProcessHostPreloadClient interface could be used to
> automatically start the web application on IIS7.5 without any
> "simulated HTTP requests". There is an article by Scott Guthrie about
> this new feature, see
> http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx
>
> Generally, simulated request is a script to send fake requests to the

> application to periodically �wake it up�. You can do it yourself using

Gregory A. Beamer

unread,
Nov 24, 2009, 12:04:30 PM11/24/09
to
Alexey Smirnov <alexey....@gmail.com> wrote in
news:efe78319-4ffd-450d...@p28g2000vbi.googlegroups.com:

> I'm not sure why that article refers to IIS7 only. Because
> implementing the IProcessHostPreloadClient interface could be used to
> automatically start the web application on IIS7.5 without any
> "simulated HTTP requests". There is an article by Scott Guthrie about
> this new feature, see
> http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-ap
> plications-vs-2010-and-net-4-0-series.aspx

In addition, while it is not "automagic" like this, you can use the
precompile.axd file on versions of IIS where this is not supported,provided
you are on a new enough version of ASP.NET (2.0+), that is.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************

Allen Chen [MSFT]

unread,
Nov 24, 2009, 9:06:07 PM11/24/09
to
Hi Marvin,

> that "ASP.NET developers who want to preload ASP.NET Web applications
> should use the simulated HTTP requests in IIS 7.0 combined with the
> Application_Start method in the Global.asax file."
>
> I would like to know how to simulate a request or what is a simulated
> request.
>
> Thanks.
>
> Regards,
> Marvin

Alexey is correct. This documentations is scheduled to be updated soon.


Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

0 new messages