Community Blogs

Browse by Tags

Related Posts

  • Sample chapter from upcoming book

    There is a sample chapter from my upcoming book on all things performance related within the Microsoft platform. Specifically, the book will be about performance testing, profiling and optimisation for web and desktop applications developed using Microsoft.NET. This sample chapter is just a teaser and the book itself goes into great detail about how to setup a performance test rig using Visual Studio, how to record, manage and analyse performance metrics, and what you can change to make your apps fly. Anyways, the sample chapter is located here . ( http://www.simple-talk.com/dotnet/performance/understanding-performance-profiling-targets/ ) Hope you like it. Read More...


  • Comments on my recent benchmarks.

    Overall I’ve been pretty impressed with the reactions to my first round of PHP/Linux/Windows/ASP.NET performance tests. I’d like to comment of the comments   First, while I appreciate the enthusiasm of my .NET friends, the point of my exercise Read More......( read more ) Read More...


  • PHP versus ASP.NET – Windows versus Linux – Who’s the fastest ?

    NOTE: This is “Misfit Data” - While I do work for Microsoft, this data is NOT “official Microsoft” data and is not endorsed or ratified by Microsoft in any way. I built and ran these tests because I was personally curious about comparative performance Read More......( read more ) Read More...


  • LINQ To Entities, SQL and performance

    I have introduced my photo gallery building process in couple of postings. As my gallery uses Entity Framework 4.0 it is good source for some internal processing that takes place inside Entity Framework. In this posting I will show you some LINQ To Entities queries and SQL that is generated for them. I added also some thoughts about performance. My gallery model is shown here with database structure. Class diagram of gallery. Database structure of gallery. Get all public gallery items that have no parent album First example shows LINQ query that returns all gallery items that have no parent album. I can use this query for gallery main page by example. query = from g in context.GalleryItems         where g.ParentAlbum...


  • Watching the new Bing bot

    Worth noting...The Bing team wants us to know they are hard at work but we need to keep an eye on our sites: Back in December of 2008, we alerted you to the possibility that you might start seeing our new web crawler in your referrer logs. Given the recent excitement around the arrival of Bing, we wanted to take a moment to update you on the latest bot news. As we said earlier, you will see the new Bing crawler user agent string listed as: msnbot/2.0b (+http://search.msn.com/msnbot.htm) . Note that...( read more ) Read More...


  • Global Application settings and the web.config file.

    While getting started on . NETOOP , one of the first issues to address is that of “Global” settings. When you build a web application for a single purpose, you can hard-code things without much concern. Microsoft.com is probably always going to have the Read More......( read more ) Read More...


  • ASP.NET MVC: How to combine scripts and other resources

    ASP.NET pages that use AJAX components make usually many requests to server per one page to load all required JavaScript and CSS files. Connections, like all other real time resources, are most expensive to create and keep. If we can somehow decrease the number of requests per page load then we need less server resources for same amount of users. For ASP.NET forms we can use script combining, for ASP.NET MVC applications we can use ASP.NET MVC Client-side Resource Combine . MVC Resource Combine is open-source project you can find in CodePlex . ASP.NET official ScriptManager needs server-side form as a container. This means that all scripts are loaded in the body of page. I have found no way how to make ScriptManager to create script and other...


  • Getting better performance in web apps with a few lines of script

    We had a situation where a web application was utilising near 100% of CPU all the time under light load and it was proving very hard to reduce this significantly through code optimisation. We were performance testing and profiling, but only seeing marginal gains. The infrastructure that was hosting the web application was as follows: Virtual Server (Hosted via VMWare Server) running Windows Server 2003 64 bit .Net 3.5 Dual Virtual CPUs 2 Gb of memory. Now I am not a big fan of virtualisation for hosting high performance web sites but we were stuck with this. At any rate, we had consistently high CPU utilisation for seemingly no real reason. Some of the most simple requests were generating high CPU usage. After some investigation, and also the...


  • If VS2010 ends up hosing Vista. . .

    It happens to the best of us, right? OK, OK, I should be using VM for things like this but I admit that I was so excited to test VS2010 that I jumped right on the Web install from Microsoft. At first everything was fine. I use two Vista SP2 systems, Ultimate for my Webcasts and Expression Studio plus VS2008 and SQL Server 2008. . . Thing is...I tested VS2010 on my Vista Home Premium machine. . .Which I actually like a lot more than the Ultimate system, especially the way the UAC works, better. Yes...( read more ) Read More...


  • SQL Server Index Defrag Script

    Hiya. . . Some of you may have already seen this, but just in case you haven't; Some excellent SQL Server work from Michelle Ufford, also known as "SQL Fool". http://sqlfool.com/2009/06/index-defrag-script-v30/ Index Defrag Script, v3.0 June 23, 2009 by Michelle Ufford Filed under: Performance & Tuning , SQL 2008 , Syndication , T-SQL Scripts I’ve just completed the latest version of my index defrag script! Here’s a brief list of the updates: Fixed a bug with the LOB logic. In the previous version...( read more ) Read More...


Page 1 of 11 (104 items) 1 2 3 4 5 Next > ... Last »
Microsoft Communities