Monday, March 23, 2009

Unrecognized tag prefix or device filter 'asp'

The solution to this error can be found here.
The short version – if you’re using (nested) master pages and you’re seeing all of your tags underlined and complaining with “Unrecognized tag prefix or device filter ‘asp’.”, the solution is to keep your (nested) master page open in Visual Studio. That’s right – it sounds ugly – but that’s the fix.
So, if you have a Page that references a master page called ChildMaster.master which references ParentMaster.master, you should open ChildMaster.master (even if you don’t plan to make any changes to it) and leave it open in the VS IDE while you work on pages that refer to it.
Hopefully this will be fixed in the upcoming update.

Tuesday, March 17, 2009

How to Optimize Scalability for ASP.NET Web Applications

Web applications based on Microsoft ASP.NET technology are increasingly being used in high-transaction environments with thousands of users. As a result, these applications are being hosted in Web farms consisting of multiple Web servers with a load balancer.
With this increased load, many applications are experiencing major performance and scalability bottlenecks. Enterprise managers are either already grappling with these issues or are unknowingly on a fast track to crash right into those troubled areas. Scalability means keeping the same performance even during peak usage times or while supporting a higher number of users in general. More...