I Don’t Own Any Facebook Account
I have been receiving emails about some Facebook accounts under my name. None of them belongs to me as it is possible that people having the same name might have created these accounts.
Update - I don’t have any Myspace account either.
Update - I am not against any social networking, it is just my personal preference.
Design Considerations for Mobile Development
Decide if you will build a rich client, a thin Web client, or rich Internet application (RIA)
If your application requires local processing and must work in an occasionally connected scenario, consider designing a rich client. A rich client application will be more complex to install and maintain. If your application can depend on server processing and will always be fully connected, consider designing a thin client. If your application requires a rich user interface (UI), only limited access to local resources, and must be portable to other platforms, design an RIA client.
Determine the device types you will support
When choosing which device types to support, consider screen size, resolution (DPI), CPU performance characteristics, memory and storage space, and development tool environment availability. In addition, factor in user requirements and organizational constraints. You may require specific hardware such as a global positioning system (GPS) or a camera, which may impact not only your application type, but also your device choice.
Design considering occasionally connected, limited-bandwidth scenarios when required
If your mobile device is a stand-alone device, you will not need to account for connection issues. When network connectivity is required, mobile applications should handle cases when a network connection is intermittent or not available. It is vital in this case to design your caching, state management, and data-access mechanisms with intermittent network connectivity in mind. Batch communications for times of connectivity. Choose hardware and software protocols based on speed, power consumption and chattiness, and not just on ease of programming.
Design a UI appropriate for mobile devices, taking into account platform constraints
Mobile devices require a simpler architecture, simpler UI, and other specific design decisions in order to work within the constraints imposed by the device hardware. Keep these constraints in mind and design specifically for the device instead of trying to reuse the architecture or UI from a desktop or Web application. The main constraints are memory, battery life, ability to adapt to difference screen sizes and orientations, security, and network bandwidth.
Design a layered architecture appropriate for mobile devices that improves reuse and maintainability
Depending on the application type, multiple layers may be located on the device itself. Use the concept of layers to maximize separation of concerns, and to improve reuse and maintainability for your mobile application. However, aim to achieve the smallest footprint on the device by simplifying your design compared to a desktop or Web application.
Design considering device resource constraints such as battery life, memory size, and processor speed
Every design decision should take into account the limited CPU, memory, storage capacity, and battery life of mobile devices. Battery life is usually the most limiting factor in mobile devices. Backlighting, reading and writing to memory, wireless connections, specialized hardware, and processor speed all have an impact on the overall power usage.
Reference: Codeplex (Microsoft Patterns and Practices)
How To Take Screenshots Of Windows Mobile Emulator
Followings are the steps to take screenshots of your Windows Mobile emulator:
1. Start > All Programs > Visual Studio 2008 > Remote Tools > Remote Zoom In

2. In the “Remote Zoom In” tool, choose the appropriate emulator:

If this menu is not opened as default, go to Target > Connect in “Remote Zoom In” tool.
3. Click on the Refresh (F5) button to take a new screenshot.
Getting Connection String From Web.Config Inside A DLL Code
I have been working on creating some .NET dlls at work which would commonly be utilized by our web applications. And, one of the requirements was getting the connection string information from web.config file. Simply making the call by using the ConfigurationManager class wouldn’t work since it was giving some kind of compile time error when you try to build the dll. So, I needed to find a workaround to retrieve the connection string from either connectionStrings or appSettings elements. Here is the solution that I have figured out so far.
Necessary namespaces:

Generic function that grabs the information based on your connection string name:

Sample usage:

To understand the ConnectionStringSettingsCollection and NameValueCollection classes, followings links would be helpful:
- http://msdn.microsoft.com/en-us/library/system.configuration.connectionstringsettingscollection.aspx
- http://msdn.microsoft.com/en-us/library/system.collections.specialized.namevaluecollection.aspx