Paulo Morgado

.NET Development & Architecture

Recent Articles

view all

Events

Projects

Recent Readers

Visitor Locations

Visitor Locations

Disclaimer

The opinions and viewpoints expressed in this site are mine and do not necessarily reflect those of Microsoft, my employer or any community that I belong to. Any code or opinions are offered as is. Products or services mentioned are purchased by me, made available to me by my employer or the manufacturer/vendor which doesn't influence my opinion in any way.

Browse by Tags

All Tags » TipsAndTricks (RSS)
O Estranho Caso Do Computador Que Acordava Sozinho Misteriosamente
Normalmente, quando eu vou dormir, também ponho o meu computador a dormir. Mas, desde há alguns meses, o computador acordava sozinho e eu não conseguia percber porquê. Com a ajuda do Pete consegui perceber porquê: C:\>PowerCfg -LASTWAKE Wake History...
The Strange Case Of The Mysterious Self Awaking Computer
Usually, when I go to sleep, I also put my desktop computer to sleep. But, for the last couple of months, the computer would always wake up by itself and I couldn’t figure out why. With the help of Pete I was able to find out: C:\>PowerCfg -LASTWAKE...
How To Add And Remove SQL Server 2008 / 2008R2 Instances
After installing Visual Studio 2010 I, inadvertently ended up with SQL Server 2008 Express having already installed SQL Server 2008 Developer . Only when I was going to upgrade to SQL Server 2008R2 I found out I had two instances installed. I looked everywhere...
Fixing Windows Virtual PC Missing “Create Virtual Machine” Folder Option
Some of my Windows 7 systems, after installing Windows Virtual PC , were missing the Create virtual machine option. Bob Comer directed me to this post from the Virtual PC Guy's Blog but, before trying the recipes in the post (which involved logging out...
Is Your ASP.NET Development Server Not Working?
Since Visual Studio 2005 , Visual Studio comes with a development web server: the ASP.NET Development Server . I’ve been using this web server for simple test projects since than with Visual Studio 2005 and Visual Studio 2008 in Windows XP Professional...
Detecting User Regional Settings In The Web Browser
Recently, a friend of mine asked me something like: “How do I get the user’s regional settings for a request to a web server?” As far as I know, web browser only send an Accept-Language HTTP header and nothing more. You can take this and use the default...
Visual Studio: Setting Up The Current Project And Run
Using Visual Studio macros to change the current project as the startup project and start it....
Web Site Globalization With ASP.NET Routing
For those who don’t know, I have this web site http://PauloMorgado.NET/ that I use both as a web presence besides my blogs and a playfield. Because I write both in English and Portuguese, I wanted the web site to have both English and Portuguese versions...
Coupling ASP.NET Session State With Forms Authentication
Today I was talking with João about a way to couple the lifetime of the ASP.NET   session state with the lifetime of Forms Authentication ticket . My idea was to store the session ID in the UserData property of the forms authentication ticket upon...
Playing With LINQ: Getting Interface Property Implementations
Today, my friend Nuno was writing some code to get the PropertyInfo s of a class implementation of an interface. Given this interface: public interface ISomeInterface { int IntProperty { get ; set ; } string StringProperty { get ; } void Method(); } and...
More Posts Next page »