• ASP.NET, ASP.NET MVC

    Posted on April 10th, 2008

    Written by Emad Ibrahim

    Tags

    , , , , ,

    Tricky Asp.net MVC URL Rewriting

    I am working on an asp.net mvc application and I wanted to make the user’s main page (profile) be www.domain.com/username.  This is a problem because the routing engine in MVC treats the first item after the domain as a controller.  Ofcourse I could do a {*catchall} and do my own parsing but why re-invent the [...]

  • Interesting, Random, Startup

    Posted on March 30th, 2008

    Written by Emad Ibrahim

    Tags

    , , , , ,

    My Elevator Pitch

    I found this cool site that has a free wizard which helps you build your elevator (15 second) pitch. Here are some of my pitches: Consultant My name is Emad Ibrahim and I am a consultant specializing in .net development. I architect, design and create software. I can do it faster and better than the [...]

  • Uncategorized

    Posted on March 18th, 2008

    Written by Emad Ibrahim

    Tags

    , ,

    Cross Domain Error Fix for Silverlight

    The easiest/quickest way to fix a cross domain error is to create a test website to host your Silverlight application. When you hit F5 to debug the application, it will run the development server and the address bar will say http://localhost:xxx/blahblah.  This will prevent a cross-domain error. If you try to run it using an [...]

  • Programming

    Posted on March 17th, 2008

    Written by Emad Ibrahim

    Tags

    , , ,

    Set a Clip in Code-Behind

    You can use the Clip property on any item to clip its display area. For example if you have this two items rectBlue and rectRed like this And you want to animate rectRed by sliding it out from the right side, without clipping it would look like this But if you set the Clip property [...]

  • Uncategorized

    Posted on March 13th, 2008

    Written by Emad Ibrahim

    Tags

    ,

    Silverlight Tip: Stretch Canvas to Fill the Screen

    I am not sure if this is a bug or by-design but Canvases don’t stretch the way I expect them to – the Grid control seems to resize better. If you want your Canvas to stretch and Fill its parent, there is an easy way to do this. 1. On initialization, set the Canvas width [...]

  • Older Posts Yeah! There are more posts, check them out.

    Newer Posts Yeah! There are more posts, check them out.