<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ASP.NET Debugging : AJAX</title><link>http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx</link><description>Tags: AJAX</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>ASP.NET MVC and JSON and when do you use Async</title><link>http://blogs.msdn.com/tom/archive/2009/04/03/asp-net-mvc-and-json-and-when-do-you-use-async.aspx</link><pubDate>Fri, 03 Apr 2009 13:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9528356</guid><dc:creator>Tom</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/tom/comments/9528356.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=9528356</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=9528356</wfw:comment><description>&lt;p&gt;I wanted to post somewhat of a discussion starter around some of the new technologies that ASP.NET has recently released. &lt;/p&gt;  &lt;h3&gt;ASP.NET MVC&lt;/h3&gt;  &lt;p&gt;This technology has one huge benefit of allowing you to do unit testing on your site.&amp;#160; But there are also a number of other advantages to it, for example, you can have a web page call commands inside a controller.&amp;#160; This allows multiple pages to call the same command which helps keep things clean.&amp;#160; It also does a pretty good job of separating the code from the presentation layer.&amp;#160; But I did find myself doing a lot of coding like I used to with classic ASP or even IDC where we loop through results and have &amp;lt;%= %&amp;gt; snippets all over the aspx page.&lt;/p&gt;  &lt;h3&gt;JSON/AJAX&lt;/h3&gt;  &lt;p&gt;These technologies have really opened the door to a lot more asynchronous commands on the web.&amp;#160; They allow you to do lots of small submissions and updates without the need to submit and refresh the whole page.&lt;/p&gt;  &lt;h3&gt;jQuery&lt;/h3&gt;  &lt;p&gt;This is a really interesting new functionality in that it really isn’t anything new but just a way of collecting things in a cleaner way.&amp;#160; The way it is designed really gives us an ability to do things that you generally don’t consider doing.&amp;#160; For example, you can make images clickable without having any link code in the html.&amp;#160; It can also give some interesting ways to hide some of your IP (although they can always see it using something like netmon).&lt;/p&gt;  &lt;h3&gt;Silverlight&lt;/h3&gt;  &lt;p&gt;I think with Silverlight 3, we have really raised the bar for making Silverlight a choice for developing an application.&amp;#160; Especially if you combine it with RIA, there are a lot of great applications of Silverlight that before would be much harder to create.&amp;#160; I know Silverlight 3 is just in developer beta, but I have been using it quite a bit lately and I think it is really going to change things.&amp;#160; The deep linking and search engine optimization functionality really help make this a good solution as well.&lt;/p&gt;  &lt;h3&gt;So when would you use which?&lt;/h3&gt;  &lt;p&gt;That is what I’d like to hear from everyone.&amp;#160; If you have a page, when do you decide that you should do something async?&amp;#160; When do you decide that you should just submit the entire page?&amp;#160; Have you considered using Silverlight yet?&amp;#160; What functionality makes it attractive to you?&amp;#160; Is it the off-line functionality?&lt;/p&gt;  &lt;h3&gt;My take&lt;/h3&gt;  &lt;p&gt;I wanted to give some of my thoughts on these things, but remember that they are just thoughts as a lot of these technologies I haven’t used enough to know which is best for what situation.&lt;/p&gt;  &lt;p&gt;I think that most of these technologies allow for very fast creation of a site.&amp;#160; I think a lot of it boils down to what you are comfortable with or what you have available.&amp;#160; If you have designers at your disposal, Silverlight is a great choice as they can create the Xaml to make your application look amazing.&lt;/p&gt;  &lt;p&gt;I think one of the powerful things about MVC is that you can combine it with AJAX, jQuery, JSON to get a bunch of these things in the same application.&amp;#160; But it still is a question as to when to use what.&amp;#160; For me, I really like using jQuery to control the UI and then have it call commands through AJAX/JSON.&amp;#160; It also allows you to update a page with new content without having to refresh the page.&amp;#160; Which makes the user experience a lot cleaner.&lt;/p&gt;  &lt;p&gt;As for Silverlight, in general I think it is a wildcard out of the bunch.&amp;#160; You can do all the same things you can with these other technologies but within the same framework.&amp;#160; So I think if you want to have the best of all worlds and learn the smallest amount, this may be a good way to go.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;So what are your thoughts?&amp;#160; And do you have any other functionality that you would like that see that isn’t available yet?&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9528356" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/tom/archive/tags/MVC/default.aspx">MVC</category><category domain="http://blogs.msdn.com/tom/archive/tags/jQuery/default.aspx">jQuery</category><category domain="http://blogs.msdn.com/tom/archive/tags/RIA/default.aspx">RIA</category><category domain="http://blogs.msdn.com/tom/archive/tags/JSON/default.aspx">JSON</category></item><item><title>ASP.NET Troubleshooting</title><link>http://blogs.msdn.com/tom/archive/2009/03/24/asp-net-troubleshooting.aspx</link><pubDate>Tue, 24 Mar 2009 19:31:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9504630</guid><dc:creator>Tom</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/tom/comments/9504630.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=9504630</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=9504630</wfw:comment><description>&lt;p&gt;So with how long ASP.NET has been out for now, I am really curious to know how people go about tracking down issues in their project.&lt;/p&gt;  &lt;p&gt;I’d like to know things like:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;How do you know there is a problem&lt;/li&gt;    &lt;li&gt;What tools do you use to confirm that the problem really is a problem&lt;/li&gt;    &lt;li&gt;How do you gather data about the problem&lt;/li&gt;    &lt;li&gt;How do you determine if the problem is your code or something else (like the network, hard drive failure, etc)&lt;/li&gt;    &lt;li&gt;If the problem is your code, how do you ensure your fix resolves the problem (how do you test the fix)&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;If there are any others, I’d also like to hear them.&lt;/p&gt;  &lt;p&gt;Also, if you do anything in the Cloud now, I’d love to hear how you troubleshoot that.&amp;#160; And it can be from any cloud service provider.&lt;/p&gt;  &lt;p&gt;And have any of these things changed with some of the new ways to program that have come out.&amp;#160; For example, AJAX, MVC, Silverlight, IE8, jQuery, etc.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9504630" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/tom/archive/tags/IE8/default.aspx">IE8</category><category domain="http://blogs.msdn.com/tom/archive/tags/MVC/default.aspx">MVC</category><category domain="http://blogs.msdn.com/tom/archive/tags/ADO.NET/default.aspx">ADO.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Linq/default.aspx">Linq</category><category domain="http://blogs.msdn.com/tom/archive/tags/jQuery/default.aspx">jQuery</category></item><item><title>Creating an Auto-complete textbox</title><link>http://blogs.msdn.com/tom/archive/2008/10/27/creating-an-auto-complete-textbox.aspx</link><pubDate>Mon, 27 Oct 2008 13:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9017272</guid><dc:creator>Tom</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/tom/comments/9017272.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=9017272</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=9017272</wfw:comment><description>&lt;p&gt;It seems that auto-complete is very popular these days with different sites.&amp;#160; So I wanted to show you how you can create your own Auto-complete textbox on your web sites.&amp;#160; There are two ways that this can be accomplished depending on what you are using and what you want to use.&lt;/p&gt;  &lt;h3&gt;Ajax control toolkit&lt;/h3&gt;  &lt;p&gt;This method is described very well on the following blog post: &lt;a href="http://weblogs.asp.net/stephenwalther/archive/2008/08/23/asp-net-mvc-tip-37-create-an-auto-complete-text-field.aspx"&gt;ASP.NET MVC Tip #37 – Create an Auto-Complete Text Field&lt;/a&gt;.&amp;#160; The best thing about this method is that you can use a webservice as the backend for what you call to get the data back.&amp;#160; This enables you to have a database of possible results and populate the box as the person types.&amp;#160; For example, if you were going to write a web site that allows someone to post a blog, you could have a Auto-Complete textbox for the tags on the post.&amp;#160; Pulling down the list of tags they have used in the past.&lt;/p&gt;  &lt;h3&gt;JQuery&lt;/h3&gt;  &lt;p&gt;Another way to accomplish this is to use JQuery.&amp;#160; With this javascript library, you can get this to work pretty easily.&amp;#160; To see how, check out: &lt;a title="http://docs.jquery.com/UI/Autocomplete" href="http://docs.jquery.com/UI/Autocomplete"&gt;UI/Autocomplete on JQuery.com&lt;/a&gt;.&amp;#160; This also has some advantages, less code and easier to setup.&amp;#160; But would take some more to make it more powerful, like adding Ajax to make a call to the server.&amp;#160; But if you have a known list, this could be really nice and would be quick.&lt;/p&gt;  &lt;h3&gt;Silverlight&lt;/h3&gt;  &lt;p&gt;You can also use Silverlight to make an Auto-complete textbox.&amp;#160; This method is described by Nikhil on his blog here: &lt;a title="http://www.nikhilk.net/Silverlight-AutoComplete.aspx" href="http://www.nikhilk.net/Silverlight-AutoComplete.aspx"&gt;Silverlight AutoComplete&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I hope this gives you some options to add this useful method to your web sites.&amp;#160; Feel free to post other methods here as well.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9017272" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/Code/default.aspx">Code</category><category domain="http://blogs.msdn.com/tom/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://blogs.msdn.com/tom/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/tom/archive/tags/MVC/default.aspx">MVC</category></item><item><title>The PDC this year…</title><link>http://blogs.msdn.com/tom/archive/2008/09/29/the-pdc-this-year.aspx</link><pubDate>Mon, 29 Sep 2008 13:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8966273</guid><dc:creator>Tom</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/tom/comments/8966273.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8966273</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8966273</wfw:comment><description>&lt;p&gt;Not sure how many people are planning on attending the PDC (Professional Developers Conference) this year, but it is going to be a fantastic conference.&lt;/p&gt;  &lt;p&gt;We announced some huge announcements on the PDC web site.&amp;#160; &lt;a href="http://www.microsoftpdc.com/"&gt;http://www.microsoftpdc.com/&lt;/a&gt;&lt;u&gt;&lt;/u&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;We have a major lineup of executive &lt;a href="http://www.microsoftpdc.com/Agenda/Speakers.aspx"&gt;keynote speakers&lt;/a&gt;&lt;u&gt;&lt;/u&gt; representing most of the core Microsoft businesses. &lt;/li&gt;    &lt;li&gt;We’ll have 20+ &lt;a href="http://sessions.microsoftpdc.com/public/sessions.aspx"&gt;Windows 7 sessions&lt;/a&gt;&lt;u&gt;&lt;/u&gt;, and we’ll be giving out the &lt;a href="http://microsoftpdc.com/View.aspx?post=91d46819-8472-40ad-a661-2c78acb4018c:8962840&amp;amp;tag=PDC2008"&gt;Win7 bits&lt;/a&gt;&lt;u&gt;&lt;/u&gt;. &lt;/li&gt;    &lt;li&gt;We also announced our in-depth &lt;a href="http://www.microsoftpdc.com/View.aspx?post=91d46819-8472-40ad-a661-2c78acb4018c:8962797&amp;amp;tag=PDC2008"&gt;symposia&lt;/a&gt;&lt;u&gt;&lt;/u&gt; sessions including parallel computing and S+S.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;If you have any questions about the PDC, feel free to check out the site listed above, or you can &lt;a href="http://www.askthebrain.net/"&gt;&lt;/a&gt;&lt;a href="http://www.askthebrain.net/"&gt;&lt;/a&gt;&lt;a href="http://www.askthebrain.net/"&gt;Ask the Brain&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The conference runs from October 27th to October 30th with the pre-conference on October 26th.&amp;#160; You can see the full agenda &lt;a href="http://microsoftpdc.com/Agenda/"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;We have also &lt;a href="http://channel9.msdn.com/posts/Dan/Countdown-to-PDC-2008-This-is-the-Software--Services-PDC-Plus-a-Hard-Drive-Chock-Full-oBits-is-a-PDC/"&gt;just announced&lt;/a&gt;&lt;u&gt;&lt;/u&gt; that all partners and customers attending the PDC will receive a very special gift this year:&amp;#160; a 160GB external USB2 hard drive with all of the bits!&amp;#160; That is a very cool gift and very useful as well.&amp;#160; I’d love to hear if anyone is going or thinking about going to the PDC!&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8966273" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/tom/archive/tags/Vista/default.aspx">Vista</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS7/default.aspx">IIS7</category><category domain="http://blogs.msdn.com/tom/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://blogs.msdn.com/tom/archive/tags/Windows/default.aspx">Windows</category><category domain="http://blogs.msdn.com/tom/archive/tags/IE8/default.aspx">IE8</category><category domain="http://blogs.msdn.com/tom/archive/tags/Live+Mesh/default.aspx">Live Mesh</category><category domain="http://blogs.msdn.com/tom/archive/tags/MVC/default.aspx">MVC</category><category domain="http://blogs.msdn.com/tom/archive/tags/Mobile/default.aspx">Mobile</category><category domain="http://blogs.msdn.com/tom/archive/tags/ADO.NET/default.aspx">ADO.NET</category></item><item><title>Slow performance of a GridView inside an UpdatePanel</title><link>http://blogs.msdn.com/tom/archive/2008/09/15/slow-performance-of-a-gridview-inside-an-updatepanel.aspx</link><pubDate>Mon, 15 Sep 2008 13:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8947099</guid><dc:creator>Tom</dc:creator><slash:comments>12</slash:comments><comments>http://blogs.msdn.com/tom/comments/8947099.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8947099</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8947099</wfw:comment><description>&lt;P&gt;Here is an interesting problem we ran into recently.&amp;nbsp; The customer had a large GridView that was being updated by AJAX inside on UpdatePanel and seeing bad performance.&lt;/P&gt;
&lt;P&gt;The reason is that the Client-Side Javascript has to walk the entire DOM of the Content of the UpdatePanel to tear down the HTML DOM as the Page goes through an Asynchronous update.&lt;/P&gt;
&lt;H3&gt;First Solution&lt;/H3&gt;
&lt;P&gt;To alleviate the Expensive Stack Walks to destroy DOM Elements and its related Time Delay, the developers suggested that we remove the Unnecessary payload from the DOM of the UpdatePanel during an Asynch Postback.&lt;/P&gt;
&lt;P&gt;The Way you would implement this is to:&lt;/P&gt;
&lt;P&gt;1. Hook up an Event handler to the beginRequest Event . &lt;/P&gt;
&lt;P&gt;EX: &lt;/P&gt;&lt;PRE class=code&gt;&amp;lt;script language ="javascript" type ="text/javascript"&amp;gt;&lt;BR&gt;&amp;nbsp; Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(clearDisposableItems)
&amp;lt;/script&amp;gt;&lt;/PRE&gt;
&lt;P&gt;2. Destroy an DOM Elements that you don’t want the Framework to tear down by tearing it down manually.&lt;/P&gt;
&lt;P&gt;EX: &lt;/P&gt;&lt;PRE class=code&gt;function clearDisposableItems( sender , args ) {
  if (Sys.Browser.agent == Sys.Browser.InternetExplorer ) {
    $get('&amp;lt;%=GridViewID.ClientID%&amp;gt;').tBodies[0].removeNode(true);
  } else {
    $get('&amp;lt;%=GridViewID.ClientID%&amp;gt;').innerHTML="";
  }
}&lt;/PRE&gt;
&lt;P&gt;This gave us a slight decrease in the time taken for async Updates, about 3 seconds less.&amp;nbsp; But, we are still far away from the optimal turn-around time of a few seconds.&lt;/P&gt;
&lt;P&gt;In a sample that I setup on my machine using about 500 rows in a GridView,&amp;nbsp; the turn-around times were in the order of sub-seconds when the GridView had text labels instead of textboxes.&lt;/P&gt;
&lt;P&gt;When I changed the text labels to textboxes, there was an exponential jump in the time taken to process the Form even before the request was submitted to the Server.&lt;/P&gt;
&lt;P&gt;Sub-second response times changed to 25 seconds!!&lt;/P&gt;
&lt;P&gt;The main reason for this slow-down is due to the number of Controls that are present in the Grid.&amp;nbsp; We cannot optimize the Javascript to give good performance in this scenario.&lt;/P&gt;
&lt;H3&gt;Alternative methods&lt;/H3&gt;
&lt;P&gt;So what can we do if we need a GridView with controls?&amp;nbsp; Well, the best suggestions are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Enable paging to allow the control to stay smaller but still give all the information required.&lt;/LI&gt;
&lt;LI&gt;Change the UI to allow for an optimal number of rows that give acceptable performance.&lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8947099" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/ADO.NET/default.aspx">ADO.NET</category></item><item><title>Internet Explorer 8 Beta 1 Hands-on Labs</title><link>http://blogs.msdn.com/tom/archive/2008/08/04/internet-explorer-8-beta-1-hands-on-labs.aspx</link><pubDate>Mon, 04 Aug 2008 13:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8769619</guid><dc:creator>Tom</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/tom/comments/8769619.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8769619</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8769619</wfw:comment><description>&lt;p&gt;Just wanted to pass along some really interesting labs that I came across the other day.&amp;#160; These labs cover the following topics:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;IE 8 Activities&lt;/li&gt;    &lt;li&gt;AJAX&lt;/li&gt;    &lt;li&gt;Developer Tools&lt;/li&gt;    &lt;li&gt;Standards Support&lt;/li&gt;    &lt;li&gt;IE 8 WebSlices&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You can check out all these labs at &lt;a title="http://code.msdn.microsoft.com/ieteched08labs" href="http://code.msdn.microsoft.com/ieteched08labs"&gt;Internet Explorer 8 Beta 1 Hands-on Labs for Tech-Ed 2008&lt;/a&gt;.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Note: These labs assume you are running Windows Vista.&amp;#160; They will work on Windows XP but the visual experience and instructions may vary.&lt;/p&gt;&lt;/blockquote&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8769619" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IE8/default.aspx">IE8</category></item><item><title>ASP.NET Scaling Strategies</title><link>http://blogs.msdn.com/tom/archive/2008/08/01/asp-net-scaling-strategies.aspx</link><pubDate>Fri, 01 Aug 2008 13:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8769605</guid><dc:creator>Tom</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/tom/comments/8769605.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8769605</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8769605</wfw:comment><description>&lt;P&gt;So there is a very good article that came out in the April 2008 issue of the MSDN Magazine, &lt;A title=http://msdn.microsoft.com/en-us/magazine/cc500561.aspx href="http://msdn.microsoft.com/en-us/magazine/cc500561.aspx" mce_href="http://msdn.microsoft.com/en-us/magazine/cc500561.aspx"&gt;Scaling Strategies for ASP.NET Applications&lt;/A&gt;.&amp;nbsp; The main things in this article are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Scaling ASP.NET Applications and databases&lt;/LI&gt;
&lt;LI&gt;Optimizing code&lt;/LI&gt;
&lt;LI&gt;Using efficient caching&lt;/LI&gt;
&lt;LI&gt;Affinity and load balancing&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;One of the most useful things I found about the site is the &lt;A title=analyze href="http://websiteoptimization.com/services/analyze" mce_href="http://websiteoptimization.com/services/analyze"&gt;analyze&lt;/A&gt; tool.&amp;nbsp; This site will look at your web site and give you detailed analysis of your page.&amp;nbsp; Telling you things you can do to make your site have better performance.&amp;nbsp; The types of things it talks about are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Total_html – number of web pages&lt;/LI&gt;
&lt;LI&gt;Total_objects – number of objects on the page&lt;/LI&gt;
&lt;LI&gt;Total_images&lt;/LI&gt;
&lt;LI&gt;Total_css&lt;/LI&gt;
&lt;LI&gt;Total_size&lt;/LI&gt;
&lt;LI&gt;Total_script&lt;/LI&gt;
&lt;LI&gt;Html_size&lt;/LI&gt;
&lt;LI&gt;Images_size&lt;/LI&gt;
&lt;LI&gt;Script_size&lt;/LI&gt;
&lt;LI&gt;Css_size&lt;/LI&gt;
&lt;LI&gt;Multim_size – size of multimedia files on site&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;They give a lot of useful tips to make your site perform better and have less data to download. &lt;/P&gt;
&lt;P&gt;After this, there are a bunch of useful topics, but the most important thing mentioned is to use AJAX where possible.&amp;nbsp; Not only does this make the web page look more like a desktop application, but since it is only going to update the specific content that needs to be changed.&amp;nbsp; All the rest of the data will still be downloaded to the client.&amp;nbsp; This greatly reduces the load to the server.&lt;/P&gt;
&lt;P&gt;One thing that they talk about is the Performance Equation for the web&lt;/P&gt;
&lt;P&gt;&lt;IMG alt="" src="http://i.msdn.microsoft.com/cc500561.fig02.gif" mce_src="http://i.msdn.microsoft.com/cc500561.fig02.gif"&gt;&lt;/P&gt;
&lt;P&gt;This is a useful for figuring out how your web site is going to perform.&amp;nbsp; And you can use it to figure out how best to improve performance.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Feel free to read through that article and you can see more information about caching and database improvements as well.&amp;nbsp; If anyone has other tools or methods that they use to help with scaling, I’d like to hear about them.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8769605" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category></item><item><title>In case you missed MIX</title><link>http://blogs.msdn.com/tom/archive/2008/05/14/in-case-you-missed-mix.aspx</link><pubDate>Wed, 14 May 2008 18:01:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8503256</guid><dc:creator>Tom</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/tom/comments/8503256.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8503256</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8503256</wfw:comment><description>&lt;p&gt;There were a lot of great sessions at MIX this year and in case you missed them, I wanted to let you know where you can find them at.&amp;#160; For individual sessions, you can go &lt;a href="http://sessions.visitmix.com/"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;But there is a better way to go through some of the really cool information that was there.&amp;#160; On the website for MIX, they have created a &lt;a href="http://www.visitmix.com/University/"&gt;University&lt;/a&gt;.&amp;#160; This is a great place to learn about many of the new technologies.&amp;#160; From Silverlight to AJAX to Media Center.&amp;#160; There are some great details here including multiple demos and a Hands on Lab for most of of the areas.&lt;/p&gt;  &lt;p&gt;Then if you look on the right side of the university page, you will see a link to some &lt;a href="http://www.visitmix.com/university/stories/default.htm"&gt;case studies&lt;/a&gt;.&amp;#160; This is a great way to see how some other companies are using some of these new technologies.&lt;/p&gt;  &lt;p&gt;By far, the coolest sample or demo on there is the &lt;a href="http://www.dinnernow.net/"&gt;DinnerNow site&lt;/a&gt;.&amp;#160; This site is a sample that demonstrates so many of the different technologies that is it hard to list them all.&amp;#160; According to the site: IIS7, ASP.NET Ajax Extensions, LINQ, Windows Communication Foundation, Windows Workflow Foundation, Windows Presentation Foundation, Windows PowerShell, and the .NET Compact Framework.&lt;/p&gt;  &lt;p&gt;I would highly suggest that you try this sample and download the project.&amp;#160; It can give you many insights into how all these technologies can come together to make something really great.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f05%2f14%2fin-case-you-missed-mix.aspx"&gt;&lt;img border="0" alt="kick it on DotNetKicks.com" src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fblogs.msdn.com%2ftom%2farchive%2f2008%2f05%2f14%2fin-case-you-missed-mix.aspx" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8503256" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/.NET/default.aspx">.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://blogs.msdn.com/tom/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>Ajax View: Remotely Monitoring Web 2.0 Applications</title><link>http://blogs.msdn.com/tom/archive/2008/04/23/ajax-view-remotely-monitoring-web-2-0-applications.aspx</link><pubDate>Thu, 24 Apr 2008 04:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8419293</guid><dc:creator>Tom</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/tom/comments/8419293.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=8419293</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=8419293</wfw:comment><description>&lt;p&gt;Microsoft research recently released a new tool to help developers with Ajax applications.&amp;#160; You can check out the site for more information, &lt;a title="http://research.microsoft.com/projects/ajaxview/" href="http://research.microsoft.com/projects/ajaxview/"&gt;Ajax View&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;This is some really cool technology that basically puts a proxy in between the server and the end-users browser and allows instrumentation and other really useful things to happen.&lt;/p&gt;  &lt;p&gt;You can see a &lt;a title="simple walkthrough Ajax View&amp;#39;s performance profiling" href="http://research.microsoft.com/projects/ajaxview/AjaxViewUsage-1.htm"&gt;simple walkthrough Ajax View's performance profiling&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;If you haven’t looked at the various things that our research team is working on, I would highly suggest you check it out.&amp;#160; Things like:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a title="http://research.microsoft.com/ivm/HDView.htm" href="http://research.microsoft.com/ivm/HDView.htm"&gt;HD View&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="http://research.microsoft.com/asirra/" href="http://research.microsoft.com/asirra/"&gt;Asirra - authentication by identification of cats and dogs&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="High Capacity Color Barcode" href="http://research.microsoft.com/research/hccb/"&gt;High Capacity Color Barcode&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="C# Software Transactional Memory" href="http://research.microsoft.com/research/downloads/Details/6cfc842d-1c16-4739-afaf-edb35f544384/Details.aspx?CategoryID="&gt;C# Software Transactional Memory&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="Translating the Web for the Entire World" href="http://research.microsoft.com/displayArticle.aspx?id=1927"&gt;Translating the Web for the Entire World&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a title="Spec# for Visual Studio 2008" href="http://research.microsoft.com/research/downloads/Details/8826adb9-8398-40d6-a22d-951923fe2647/Details.aspx"&gt;Spec# for Visual Studio 2008&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;This is just a sample of some of the really cool work then are doing.&amp;#160; Check out the main page at &lt;a href="http://research.microsoft.com"&gt;http://research.microsoft.com&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8419293" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://blogs.msdn.com/tom/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://blogs.msdn.com/tom/archive/tags/Microsoft/default.aspx">Microsoft</category></item><item><title>A few minor issues with AJAX and their resolution</title><link>http://blogs.msdn.com/tom/archive/2007/11/30/a-few-minor-issues-with-ajax-and-their-resolution.aspx</link><pubDate>Sat, 01 Dec 2007 01:27:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6620600</guid><dc:creator>Tom</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/tom/comments/6620600.aspx</comments><wfw:commentRss>http://blogs.msdn.com/tom/commentrss.aspx?PostID=6620600</wfw:commentRss><wfw:comment>http://blogs.msdn.com/tom/rsscomments.aspx?PostID=6620600</wfw:comment><description>Problem 1 Trying to debug a Javascript file from the Visual Studio IDE, if you try to open it from the Script Explorer, it doesn't open Solution Try to open another script and then go back to the original one and it will open. Problem 2 Cannot set a breakpoint...(&lt;a href="http://blogs.msdn.com/tom/archive/2007/11/30/a-few-minor-issues-with-ajax-and-their-resolution.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6620600" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/tom/archive/tags/AJAX/default.aspx">AJAX</category></item></channel></rss>