ThreadAbortException

December 2007 Entries

Top 10 Articles in this Blog

Here below is a collection of articles from this blog which seemed to have interested (and benefited) many folks and I thought of sharing the links and the respective topics.

Error: allowDefiniton='MachineToApplication' - Not configuring a folder as application before using application level settings. http://geekswithblogs.net/ranganh/archive/2005/04/25/37609.aspx

Dynamically assigning the URL for an Iframe in ASP.NET http://geekswithblogs.net/ranganh/archive/2005/04/25/37635.aspx

Parser Error: Could not load type 'WebApplication1.Global' http://geekswithblogs.net/ranganh/archive/2005/04/25/37610.aspx

Login failed for user '(null)' Trusted SQL Server connection http://geekswithblogs.net/ranganh/archive/2005/05/25/40489.aspx

'Sys' is undefined ASP.NET AJAX, ATLAS Error http://geekswithblogs.net/ranganh/archive/2006/11/24/98276.aspx

Unable to start debugging on the Web Server http://geekswithblogs.net/ranganh/archive/2005/12/30/64446.aspx

ASP.NET TreeView CheckBoxes - Check All http://geekswithblogs.net/ranganh/archive/2006/03/25/73300.aspx

"Server Error in /Application name" Error    http://geekswithblogs.net/ranganh/archive/2005/04/25/37613.aspx

Login failed for user '(null)' Trusted SQL Server Connection - Part II http://geekswithblogs.net/ranganh/archive/2005/05/25/40503.aspx

Underlying connection was closed.  Unable to connect to remote server - Web Services http://geekswithblogs.net/ranganh/archive/2005/08/29/51474.aspx

Cheers !!!

ASP.NET 3.5 Officially it is !!!

Well, I blogged about Visual Studio 2008 and have just started a series on Whats new in Visual Studio 2008 for Web Developers.  However, I also wanted to write on ASP.NET 3.5 which is released along with .NET 3.5.

ASP.NET 3.5 has the following key features

Built-in ASP.NET AJAX - System.Web.Extensions has the version 3.5.0.0 and yes it can happily co-exist with ASP.NET AJAX 1.0 with System.Web.Exntesions version 1.0.61025.0 which works well with ASP.NET 2.0

List View Server Control a Databound control which allows you to control the output HTML Format unlike GridView, DataGrid which render HTML Tables

DataPager Server Control which combined with List View can provide a flexible paging mechanism with full customization support.  The built-in paging mechanism of DataGrid, GridView etc., provide little support for customization

LINQDataSource Control which allows you to bind directly to LINQ Expressions.  It pretty much follows the same DataSource pattern that was shipped with .NET 2.0.

Again, I have started this thread and I would write more about each of the above controls in the subsequent posts.  I have one big list of things to write about during the following weeks !!!

Cheers !!!

What is new in Visual Studio 2008 for Web Developers - Part I

Well, I did a webcast as well on the exact topic as the post title, but quickly to get started, Visual Studio 2008 offers a world of benefits to Web Developers as I have mentioned in the earlier posts.

The first thing that you would notice is probably the Split View Designer. One of the coolest things about Visual Studio 2008 is that it provides Split View Designer which kind of allows you to chose to see both the HTML Markup as well the Design at the same time.  There is a history behind this and I would like to brief on that.

It kind of started with earlier versions of Visual Studio (Visual Studio .NET 2002, 2003) where you need to switch between Design and HTML to autogenerate the control declaration in the code behind.  If you have worked with .NET 1.x versions and Visual Studio .NET 2003, you would know that, you need to explicitly declare the controls defined in the ASPX Webforms in the code behind with a protected void Control ControlID ....

To do that you could switch to Design, Drag and Drop a control and if you switch back to code behind / HTML you would get this control declared automatically in the code behind.  This was a handy utility to save manually typing the control reference.

However, with Visual Studio 2005, the need for explicitly declaring the controls in the code behind was removed and even the event handling delegate was removed with the AutoEventWireup enabled by default.

But people still had the habit of switching between HTML, Design and Code behind for two reasons

1. To verify how their control is positioned, color etc.,

2. With the same old style of Visual Studio .NET to generate the code behind reference

Imagine if there are 15 controls in a page added and people switch to a minimum of 10 times and there are around 10 pages.  Its going to be 100 times they switch between the HTML Designer and the Code behind / Markup. 

With SplitView Designer one can see both the HTML View as well as the Design View and save a number of round trips between the 3 screens.

The coolest thing is that Visual Studio 2008 can also work with earlier versions of .NET Framework viz.. .NET 2.0 and 3.0 and hence the Split View Designer would be available for projects / websites targetting earlier versions as well.

I will write more about Split View as well as other Visual Studio 2008 features in my subsequent posts.

Cheers !!!

ASP.NET Performance - Useful Resources

As a part of the ASP.NET Developer Webcast Series I also talked about ASP.NET Performance and how you can write better web applications targetting performance when working with ASP.NET.

Here below are some very useful resources that help you with planning, measuring and tuning performance.

Improving ASP.NET Performance
=============================

http://msdn2.microsoft.com/en-us/library/ms998549.aspx


10 tips for writing high performance web applications
=====================================================

http://msdn.microsoft.com/msdnmag/issues/05/01/ASPNETPerformance/


Check List for ASP.NET Performance
==================================

http://msdn2.microsoft.com/en-us/library/ms998596.aspx

In addition, I also wrote a couple of posts on ASP.NET Performance which you may want to check as well.  Here below are the links

http://geekswithblogs.net/ranganh/archive/2006/08/04/87099.aspx

http://geekswithblogs.net/ranganh/archive/2005/04/25/37601.aspx

Cheers !!!

ASP.NET Developer Webcast Series - Download Video Recordings

We just concluded the ASP.NET Developer Webcast Series today.  It was a five day webcast series comprising of the following topics:-

  • ASP.NET 2.0 - Building Enterprise Applications
  • ASP.NET 3.5 - What this web platform has to offer in the next version
  • Best practices in developing Web based applications
  • IIS 7 for Web Developers
  • ASP.NET and Silverlight

You can download the webcast recordings from the Ondemand page.  Scroll down to the ASP.NET Developer Series section.

You may also want to check the earlier webcasts on Visual Studio 2008, ASP.NET "Futures" and ASP.NET AJAX. Click on the "ASP.NET" link under the "By Category" list in the left on the ondemand webcast page.

Cheers !!!