Browse by Tags

All Tags » Tips (RSS)

32 Hours Recharge Cocktail

For the people who spend more than 24 hours with no sleep ( not recommended ), I’ve discovered the magic of baring with the sleepy eyes, I tried working from a cafe instead from home trying to prevent expected fall to bed, and the waiter suggested a weird...
Posted by Adel Khalil | 3 comment(s)
Filed under:

Tiny Tip: Exporting to Excel from GridView inside UpdatePanel

This is a basic feature that most of todays application provide the most widly used implementation make use of the Response object to write to all the page which dosn't go well with ajax calls that concerns with only a portion of the page. you can...
Posted by Adel Khalil | with no comments
Filed under: ,

Tiny Tip: Automating Database Versioning with SubSonic

Database versioning is always hard and here i will demonstrate an idea to make versioning of database automated and in only few minuets Setup the Environment: First head fast to SubSonic at CodePlex and download the bits Generating Database Scheme fire...
Posted by Adel Khalil | with no comments
Filed under: ,

Tiny Tip: Improve Security with InternalsVisibleTo Attribute

In projects that span over multiple teams and for other very reasonable architecture reasons you end up with multiple assembles for your current project or even if you want to reuse a library one of the other teams wrote you will find yourself using code...
Posted by Adel Khalil | 5 comment(s)
Filed under: , , ,

Tiny Tip: is vs. as

Today's tip is a quick look at both not widely used C# operators and why prefer one to another.. Casting using is-operator: if(p is Product) // CLR?: Could i cast this to product? { Product x = (Product)p; // CLR again??: Could i cast this to Product...
Posted by Adel Khalil | 3 comment(s)
Filed under: , , ,

Mission Impossible: Opening .NET 1.1/VS 2003 Web Project

If you are lucky enough to not work with web project in VS 2003 don't read on. i have a massive amount of time trying to figure how to open a web project written in .NET 1.1/VS 2003 on another machine on couple of XP machines every time i got error...

Tiny Tip: Make sure your feed is discovered by IE7 RSS Button

To do so just add this little snippet of code to your default page and you good to go. < head > < link rel ="alternate" type ="application/rss+xml" title ="Live From Cairo" href ="http://bloggingabout.net/blogs...
Posted by Adel Khalil | with no comments