Performance implications of certain CSS Selectors are not specific to a certain JavaScript Library like Prototype. I recently blogged about the internals of CSS Selectors in jQuery. The same holds true for every JavaScript library that offers CSS Selectors. Certain lookups can be done by using the native browser functions like getElementById or getElementsByTagName. Lookups by [...]
Read full post >>
Ajax, Frameworks
Every time I work with one of our .NET customers to help them with managing their application performance I come across the same problems as seen with other clients before: lots of ADO.NET queries, many hidden exceptions in core or 3rd party .NET libraries, slow 3rd party components, inefficient custom code, …
Too often we from [...]
Read full post >>
Database, Frameworks, SharePoint
I recently gave a talks on the behaviour of different JPA frameworks at W-JAX(Germany) and TheServerSide Java Symposium (Prague). As some people have asked me, I am publishing the samples as well. I would also give away the eclipse project, however with all the third party libraries I am sure I will end up not [...]
Read full post >>
Database, Frameworks, Hibernate, O/R Mapper
Distribution and communication between applications and services is a central concept in modern application architectures. In order to profit from distribution you have to keep some basic principles in mind – otherwise you can easily run into performance and scalability problems. During development these problems often do not surface. Then suddenly in load testing or [...]
Read full post >>
Frameworks, Remoting, REST
This might be “old hat” for most of you experienced ASP.NET Developers out there – but I think it is worth another blog entry as I just ran into the following problem:
Step 1: Migrated an Application from .NET 1.1 to .NET 2.0
I worked with an ASP.NET Application originally developed on ASP.NET 1.1. We upgraded to [...]
Read full post >>
Frameworks
I’ve spent some time in the last weeks playing with different ASP.NET and ASP.NET MVC Applications. Using dynaTrace I created a Technology Package that covers all different aspects of ASP.NET Development, Testing and Production Monitoring:
Tracing of ASP.NET Web Requests
Tracing of Unit, Web- and Load-Tests executed by Visual Studio, NUnit, XUnit, …
Out-of-the-Box configuration for the ASP.NET Development Web [...]
Read full post >>
Frameworks, Performance
I am working with an ASP.NET MVC Application and had problems with some of my calls to the HtmlHelper Extension functions. The following code
produced the following exception
In order to analyze the problem I started with commenting the codeline in question like this
Well – unfortunately that is not the way to comment source code in your [...]
Read full post >>
Frameworks
In my previous blog post I described a performance problem that I thought I found in the HtmlHelper.RenderPartial method. It turned out that – thanks to comments and posts like this - I had my debug setting in /system.web/compilation on true. In debug mode HtmlHelper.RenderPartial is not caching the resolved names and therefore every call may result [...]
Read full post >>
Frameworks
The problem that has been discovered in this blog entry was resolved – thanks to Simone. Read my follow up blog post that describes why I ran into this problem: http://blog.dynatrace.com/2009/04/23/aspnet-mvc-htmlhelperrenderpartial-caches-resolved-names-in-release-mode/
Original Post
There are some great blog entries about how to improve ASP.NET MVC Performance. Simone Chiaretta bloged about How to improve the performance of ASP.NET [...]
Read full post >>
Frameworks, Performance
I’ve started to look closer at the ADO.NET Entity Framework that ships with .NET 3.5 SP1. There are some interesting blogs from the ADO.NET Product Team that you should read. I started with a sample database that contains a simple Address table. I created an Entity Model that automatically created my ObjectContext, my Entity Classes and [...]
Read full post >>
Database, Frameworks