Performance problems can creep into your Web app as it scales up, and when they do, you need to find the causes and the best strategies to address them.
Richard Campbell and Kent Alstad
MSDN Magazine April 2008
View Complete Post
In this month's column, the author shows how binary encoding works, the effect it has on an application's performance, and how it behaves by demonstrating it in action.
MSDN Magazine August 2009
With reflection in .NET, you can load types, understand their members, make decisions about them, and execute, all within the safety of the managed runtime. But to use this power wisely, it's important to understand the associated costs and pitfalls to keep performance impact at a minimum. This article explains how.
MSDN Magazine July 2005
Writing a Web application with ASP.NET is unbelievably easy. So many developers don't take the time to structure their applications for great performance. In this article, the author presents 10 tips for writing high-performance Web apps. The discussion is not limited to ASP.NET applications because they are just one subset of Web applications.
MSDN Magazine January 2005
When developing high-performance applications for the Web, developers often must choose between performance and ease of development. With ATL Server, new with Visual Studio .NET, developers get the best of both worlds. ATL Server uses a tag replacement engine written in C++, provides a simple programming model, and promotes enhanced performance and easy debugging. This article presents an overview of the ATL Server architecture, then creates a basic ATL Server project. It then goes on to explain processing SRF files, HTTP streams, forms, cookies, and header files. Managing session state is also discussed, along with file uploads and performance monitoring.
Shaun McAravey and Ben Hickman
MSDN Magazine October 2000
MSDN Magazine June 2000
Imagine I have a class MyTestClass. And I need an instance of this Type throughout my whole web application.Now there are several possibilities to accomplish this.
1. Make MyTestClass static, make it contain static methods onlyProbably the most performant solution. I'm not feeling lucky about using static fields though. Thread safety? What if my static class contained a static System.Collections.Queue? Good idea? Bad idea? Better idea?What's the best way to write into a Queue from many different threads at the same time anyway...
2. Make MyTestClass a singletonGood. However I don't really like the idea of checking for an instance of a Type every time I call a method. Performance is an issue. Imagine for example a logging class.
Would it make any sense to store a reference to my singleton instance somewhere to access it directly? I'd prefer something like HttpContext.Current.MyTestClass.Is this a common approach? It should be possible using the decorator pattern I guess... probably not that easily - I didn't look into it yet.
Any suggestions? :-)
One of the great features of cloud computing is the ability to scale up or down to serve the needs of the application owner. We'll show you a technique for programmatically scaling your app in Windows Azure based on application performance.
MSDN Magazine October 2010
I am working on a windows application written in C# that serves as an Excel plug-in... I am supposed to improve the performance of the application.... I went to the code, debugged the application from point to point.. there are these nested for loops used to loop through the rows and columns of the selected range in the excel sheet, this is the place where majority of the processing time is lost.. the server communications and the processing on the server seems to be happening pretty fast, ... the users are complaining real bad about the response time of the application and I donot have an answer...
Is there something I am missing really essential that would boost the performance, to the best of my knowledge I know there isn't a way to fasten the processing of the loops except for improving the processing speed of the user machines...also the application creates temp excel files that are stored on the user machine, and are sent as binary stream to the database... could that be the issue? I am clueless can anyone please throw some light on the issue any kind of help or words of advice are much appreciated.
PS: I couldn't find a section for Windows applications so I am just putting in stuff in the getting started...