I'm using the toolkit with ASP.NET 4.0. I am looking for ways to reduce first-render latency of a deployed web site, and want to know if there's anything I can to about it with my Ajax stuff. I only use the Ajax Accordion control. Do I have to have the
entire toolkit dll in my Bin directory, or is there a way I can use a small dll for just that control, and if so, would that speed things up?
Here's what I have in my web.config:
<system.webServer>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<handlers>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
<modules runAllManagedModulesForAllRequests="true"></modules>
<caching enabled="true"></caching>
</system.webServer>
It turns out that the AjaxControl from the toolkit was not causing the latency issue. I was deploying the debug instead of the release build. All is well now.
sheeand
Member
39 Points
35 Posts
Dll For Only One Control
Feb 29, 2012 04:31 PM|LINK
I'm using the toolkit with ASP.NET 4.0. I am looking for ways to reduce first-render latency of a deployed web site, and want to know if there's anything I can to about it with my Ajax stuff. I only use the Ajax Accordion control. Do I have to have the entire toolkit dll in my Bin directory, or is there a way I can use a small dll for just that control, and if so, would that speed things up?
Here's what I have in my web.config:
<system.webServer>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<handlers>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
<modules runAllManagedModulesForAllRequests="true"></modules>
<caching enabled="true"></caching>
</system.webServer>
Shellymn
Contributor
2602 Points
485 Posts
Re: Dll For Only One Control
Feb 29, 2012 04:51 PM|LINK
You need to deploy the toolkit dll...
i read a blog from scott gu regarding resource minfication , but it supports from asp.net 4.5
http://weblogs.asp.net/scottgu/archive/2011/11/27/new-bundling-and-minification-support-asp-net-4-5-series.aspx
chetan.sarod...
All-Star
65759 Points
11153 Posts
Re: Dll For Only One Control
Mar 01, 2012 02:43 AM|LINK
Hi, Please refer this
http://www.asp.net/ajaxlibrary/act.ashx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
sheeand
Member
39 Points
35 Posts
Re: Dll For Only One Control
Mar 05, 2012 01:53 PM|LINK
Thanks to all.
It turns out that the AjaxControl from the toolkit was not causing the latency issue. I was deploying the debug instead of the release build. All is well now.