Saturday, June 23, 2007

My Articles on

Read my ASP.NET articles on here

MoonLight (Or SilverLight For Linux)

The mono team made it, they are finishing the Linux version of SilverLight called MoonLight

Wednesday, June 13, 2007 is Now Live!

We launched a new .net Developers Community in Riyadh, if you are in Riyadh and interested in the new .net technologies (WPF, WCF, WWF), register now

Monday, June 11, 2007

Quraan Online Library (MP3) :)

Check out this site it contains MP3 version of Quraan for most of the famous Shoyokh

Tuesday, June 05, 2007

Xceed DataGrid For WPF

Wow!! i came across this control a while ago but i didn't notice that it's FREE, register and download from here


"Acropolis builds on the rich capabilities of Microsoft Windows and the .NET Framework, including Windows Presentation Foundation (WPF), by providing tools and pre-built components that help developers quickly assemble applications from loosely-coupled parts and services. With Acropolis you will be able to:

  • Quickly create WPF enabled user experiences for your client applications.
  • Build client applications from reusable, connectable, modules that allow you to easily create complex, business-focused applications in less time.
  • Integrate and host your modules in applications such as Microsoft Office, or quickly build stand-alone client interfaces.
  • Change the look and feel of your application quickly using built-in themes, or custom designs using XAML.
  • Add features such as workflow navigation and user-specific views with minimal coding.
  • Manage, update, and deploy your application modules quickly and easily."

More Info Here

Monday, May 28, 2007

Popfly Invitation

Couple of days ago i received an invitaion to Microsoft Popfly, today i played with it and in a couple of minutes i created a simple web page that displays my Flickr photos in a photosphere control

Wednesday, May 09, 2007

Refactor!™ for ASP.NET

Refactor!™ for ASP.NET is a free tool from Developer Express that provides many refactoring options for ASP.NET 2.0 Developers this is a must have tool for any ASP.NET Developer

Watch a demo video here, read a blog post on this tool here

Tuesday, May 01, 2007

SilverLight Poster

From BradA download it from here

MIX it With SilverLight

The MIX'07 Conference has many goodies for SilverLight

Sunday, April 22, 2007

Arabic RAP Songs!!

My friend Mansour pointed me to this arabic rap band

Tuesday, April 17, 2007

Windows CE 5.0 Emulator

Nice post on how to configure your Windows CE 5.0 Emulator to connect to the internet

Monday, April 16, 2007

WPF/E Goes Silver

Today Announced SilverLight formerly known as WPF/E, more info here.

I need to start working with this ASAP

Thursday, April 12, 2007

ASP.NET 2.0 Hotfix

A public hotfix is available for Asp.Net 2.0, read more.

Wednesday, April 04, 2007

Google Reader

I have been using NewsGator as my RSS reader for a very long time now and i always suffered from keeping the news item i read in home and work both in Sync, i decided to try Google Reader, so i exported my feeds subscriptions in NewsGator to an OPML file and i uploaded it to Google Reader, till now everything is working great and it's actually faster than the Desktop application :)

Tuesday, March 06, 2007

ASP.NET RadioButtonList and AJAX

I ran into a very strange problem that happens when you use a RadioButtonList as a trigger for an UpdatePanel, you can read more about this problem here

Monday, March 05, 2007

Asp.Net Forms Authentication, Cached User Control and Session ID

I faced the following problem that i wanted to share with you, I have a user control that populates a menu to be shown to the user, the menu is populated based on the user privileges. i wanted to cache this user control so that the menu population logic won't run for every page request, so i decided to cache the output of the user control based on the SessionID, to do this i added the following attribute to the control

<%@ OutputCache Duration="1" VaryByCustom="Session" VaryByParam="None" %>

the VaryByCustom attribute allows you to vary the cached output by your defined string, having specifying the "Session" as my defined string i had to override the HttpApplication.GetVaryByCustomString method in the Global.asax file

Overrides Function GetVaryByCustomString(ByVal context As HttpContext, ByVal custom As String) As String
If custom = "Session" Then
Return Session.SessionID
Return ""
End If
End Function

The function simply returns the session id so that the user control is cached for this user session only, until now everything is working perfectly, and the menu user control is cached correctly.

later on i added a Logout LinkButton

Protected Sub lnk_Click(ByVal sender As Object, ByVal e As System.EventArgs)


End Sub

The code is supposed to log out the user and cleans the session, i expected that the cached user control to be ignored a new version to show but the user control is still showing the cached version, for some unknown reason the Asp.Net is still returning the same session id although the Session.Abandon method should create a new session object.

after googling a little i found this knowledge base article and this blog entry that describe the problem and the solution, the solution was to explicitly remove the cookie that stores the session id

Protected Sub lnk_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Response.Cookies.Add(New HttpCookie("ASP.NET_SessionId", ""))
End Sub

Hope this helps :)

Technorati tags:

Thursday, March 01, 2007

071-510 TS: Team Foundation Server

I took this beta exam earlier today, most questions were on the customization of the process template, work item types, the TFS command line tools and Security and permissions. the only useful resource i found is the Visual Studio Team Foundation Administrator's Guide . i should know the result within weeks, wish me luck :)

Wednesday, February 28, 2007

Thursday, February 22, 2007

Bill Gates Vs. Steve Jobs

From Windows Now blog: Bill Gates and Steve Jobs will appear together in the Fifth Annual 'D: All Things Digital' Conference.

Tuesday, February 20, 2007

Reflector 5.0

A new version from reflector is available here, including many new features ( C# 3.0 support), see this presentation for details

Free New Bits

Microsoft SQL Server 2005 SP2

Microsoft Virtual PC 2007

Saudi Driving License

Yes! yesterday i passed the exam and got my driving license, the next step is to search for a good used car :)

Saturday, February 17, 2007

New Laptop and Vista Ultimate

A couple of days ago I bought a new laptop DELL Inspiron 6800 (1.8 Core2 Duo, 1 GB DDR Ram, 160 GB SATA Hard Disk, 15" Screen), I though I would give Windows Vista a try, the installation was seamless and took about 25 minutes. Vista recognized all the hardware drivers and everything is working perfectly (although I have a 1 GB RAM shared with the graphics card memory)

Tuesday, February 06, 2007

Update Statements

Nice Post from Omar Al Zabir, read it here

Thursday, February 01, 2007

Raining In Riyadh

It's has been raining all day long here in riyadh

Sunday, January 28, 2007


This is my mobile number in KSA +966569489065

Wednesday, January 24, 2007

Blogging From Riyadh

My first post from outside egypt, i arrived to Riyadh last Saturday, you may know that i left OMS and moved to a new job in the Ministry of Higher Education at Kingdom of Saudi Arabia. Riyadh is very big with large network of roads and bridges the kind that makes you feel lost.

I'm staying with my friends for the time being, still don't know if i will continue there or get a separate appartment.

The work at the ministry starts on 8 AM till 4 PM, untill now i haven't been assigned any tasks, still searching for a PC, desk, partition, etc., but i guess that the applications/systems here is not very complex.

Anyway please wish me luck in my new job :)