Welcome to Bilal Haidar [MVP, MCT] Official Blog Sign in | Join | Help

Browse by Tags

All Tags » ASP.NET 2.0 - General   (RSS)

Accessing the ASP.NET Authentication, Profile and Role Service in Silverlight

A great article by Brad Adams on accessing the ASP.NET Authentication, Profile and Role Services in Silerlight! Check it out here: http://blogs.msdn.com/brada/archive/2008/05/03/accessing-the-asp-net-authentication-profile-and-role-service-in-silverlight.aspx

Input Validation Helper Methods

I found a good resource on validating user input on Channel9. You can reach that resource by following this link: http://channel9.msdn.com/wiki/default.aspx/SecurityWiki.RegExInputValCode2 The page contains a set of utility methods to help you in validating

Problem in SQL Server Session State - ASP.NET 3.5

*** Updated - April 7 2008 *** I played a little bit with the command line I am using to install the SQL Server Session State database and it seems to work fine: To register the database for the SQL Server Session State on ASP.NET 2.0 or ASP.NET 3.5:

Nested MasterPage Not Firing Page_Load Event

I faced a situation today where I am trying to attach to the page_load event of a child nested master page to load some data on the master page itself. The event was not firing at all. Later on I figured out that the AutoEventWireup property on the Page

How to Postback Asynchronously from inside a GridView

I have posted a new article on the ASP.NET Wiki and the article is titled as: How to Postback Asynchronously from inside a GridView Check it out and have your comments and improvements! Regards

HotFix: Performance and Editor fixes for Microsoft Visual Studio 2008 and Visual Web Developer Express 2008

The Visual Studio Web Tools team added a new HotFix for the Visual Studio Web environment. You can read all the details about the fix here and download the hotfix from here . Regards

HttpModules and IIS 7

When working with an ASP.NET Web Application under Vista/IIS 7 and developing an HttpModule, watch out for the Application pool you are using. If your application is configured to work with classic application pool , then it is enough to define the module

Update on Website Menu + web.sitemap: A smart combination

I have updated the code I presented yesterday in: Website Menu + web.sitemap: A smart combination to handle pages that are not listed in the web.sitemap. Here is the updated code in bold: private static string GetSubRootNode() { // Get the current code

Website Menu + web.sitemap: A smart combination

I am working on a website that contains a main menu on top. In addition, I am making use of the SiteMapPath to show a breadcrumb that helps the user while browsing the website. I might have the following heirarchy in the website: Default.aspx Articles.aspx

RegisterHiddenField and ID property

In a previous post I talked about the xListBox and MoverList Controls. I did some fixes to make them work for FireFox and IE. What was the problem actually? If you read the article about xListBox, you will notice that I have based on solution on a HiddenField

ASP.NET AJAX 1.0 Released

Scott Guthrie just announced the release of the ASP.NET AJAX 1.0 . Check his post here: ASP.NET AJAX 1.0 Released Regards

Server Variables

I always find a difficulty in remembering all the server variables and how they can help me, here is a list of all the server variables I ran in a testing application. You will see the server variables with a sample data coming from the testing application:

Transactions in .NET 2.0

I was introduced yesterday to the new namespace in .NET 2.0 about Transactions. Transactions at the business layer (C# domain objects) without the use of COM+ Transactions. There are two kinds Light Weight that depends on the SQL Server 2005 (single connection),

Mono Project 1.2 Released

The Mono project 1.2 is now released. For those of you who don't know what Mono is, it provides you with an environment to run .NET code on Linux, Solaris, Mac OS, and Windows. Check it out here: Mono-Project Hope this helps, Regards

Session on Generics in .NET 2.0

On Thursday, January 4, 2007 I gave a session on Generics - .NET 2.0 for my students at the training center. The material I had didn't include any chapter on this topic, so I prepared a small power point from the Visual C# - Complete Reference and you
More Posts Next page »