Skip to main content


Showing posts from October, 2011

Download Free eBook: Silverlight for Windows Phone Toolkit In Depth

Boryana Miloshevska published this eBook "Silverlight for Windows Phone Toolkit in Depth" in The book includes hands on guide with code to demonstrate all the controls available in the Windows Phone 7.1 Toolkit (August 2011).   Click "Read More" to know about this book and find the links to download the eBook for Free. Hope this book will be a great help to you. Don't forget to visit the book's page to say a "Thanks" to the Author of the book.     Download eBook for FREE The eBook published on 11th October 2011 by Boryana Miloshevska (via is based on Windows Phone 7.1 (aka 7.5 Mango) release and includes 22 Chapters in 246 Pages to cover all controls from the Windows Phone Toolkit (August 2011 release).   You can Download the eBook for FREE from You will be able to Download all the Source Code used in this eBook. Also, you will be able to learn more about the Author "Boryana...

Silverlight Page Navigation Framework - Learn about UriMapper

Last day we discussed about "Silverlight Page Navigation Framework" where we understood the basic concept. We learnt how to add pages in the project from the template and the root of the page xaml. We also learnt about the assembly which we need to use to develop a navigation application using Silverlight.   Today in this post, we will discuss about Uri Mapping which will help you to implement the navigation application very easily. You will also be able to hide the actual Url of the page. We will discuss about each point in brief with a simple example continuing from previous post.   Designing the XAML Make sure that, you read my previous post "Silverlight Page Navigation Framework". We will use the same project here to demonstrate the use of this framework. First of all we need to change the UI of our main XAML page, so that, we will be able to navigate to the desired page. Open the MainPage.xaml and split it to two Rows. Insert a StackPanel in the first row and.…

Download Ubuntu 11.10 (Oneiric Ocelot) CD ISO / DVD Images

Ubuntu Linux (a GNU/Linux-based computer operating system) version 11.10 has been released and available for download. The new release includes some enhancements to make your experience even more enjoyable. The Default user interface is set to unity shell on top of GNOME 3.x. However, you will get a 2D version of Unity as a fallback for systems that lack the hardware resources for the 3D version. The good news is you will be able to install the entire GNOME 3 desktop along with GNOME Shell directly from the Ubuntu repos. Download Ubuntu 11.10Bittorent links (64 bit) and 32 bit versionDirect ISO CD Images 32 bit (desktop version)Direct ISO CD Images 64 bit (desktop version)Direct ISO CD Images 32 bit (server version)Direct ISO CD Images 64 bit (server version)Mirror list (recommended for faster download from ftp or http servers) Ubuntu 11.10 (Natty Narwhal) DVDYou can install using live DVD for Intel/Amd based systems:64 Bit DVD version (4G)32 Bit DVD version (3.9G) How Do I Upgrade…

How to get the week number for a date in C#

Today I needed to know which week of the year a certain day was in. My first instinct was DateTime.Now.Weekbut it seems there is no Week property on a DateTime instance. So I started looking for a way to get the week number. As it turns out the CultureInfo class will get you where you want to go using the Calendar property.

WPF Progress Bar using Threads

The following article describes a method to create a WPF project that provides a progress bar on a thread separate to your worker thread. The worker thread will be completing a task that will take 5 seconds, therefore you do not want your app to become unresponsive.

The code makes use of WPF windows, C# events, C# delegates. It would be useful if you are familiar with these types but it is not essential as I will explain what is needed.

In order to keep this tutorial as simple as possible, I will not make use of any WPF functionality to improve the appearance of the windows.
Read More from: Original Source

Looking at .NET Source code from Visual Studio

Today I will talk about how you can get integration of Source code server with your .NET programs so that you can easily see the Source code of the .NET library while you debug. By source code I mean the actual Source code which is written by Microsoft people not something that we disassemble with Reflector or some other tool. The source code will have all the comments available, the debug symbols, the program db and everything. I am talking in steps how to configure your Visual Studio to get Source from Microsoft servers.Microsoft Officially released the source code of .NET framework for you which you can either download or get while  you debug your application.Read More....

iPhone 4 VS iPhone 4S

The iPhone 4 just come out and it sure did make an amazing entrance, leaving behind all sales records in just one week it hit topped one million mark in a single day shattering all previous pre-order records for all Appleproducts!The sales figures look promising but is this really something new?! Every Launch of an Apple product always promised an amazing piece of technology with innovations never seen before but this time apple might have fallen short of their routine. The iPhone 4S sadly feels less exciting. Don't be fooled by the sales figures; we all love the new car smell.The iPhone 4S is 3 grams lighter, the camera has 3 more megapixels and a faster more powerful processor found in the iPad 2. Other upgrades include a bigger aperture of f/2.4, the illumination sensor has been improved and there's additional face detection. The storage capacity has been increased from 32GB to 64GB as well. It will also be pre-loaded with the iOS 5.
All these upgrades seem nice and dand…

ContextMenu using MVVM

In this post we will discuss how to use the ContextMenu using MVVM pattern. You can find the beginner level of article about how to use ContextMenu on the web. But here I will show you how to use it using MVVM pattern. This is also first time that I am using the ContextMenu control of the Silverlight. So if there is any error or if you feel that I have miss something related to the ContextMenu then please let me now about it. For this example I have used the Text Box control when you right click on the text box it will display the ContextMenu in the Text Box control. As you can see in theImage 1 when user right click inside the Text Box control Context Menu open  with the cut, copy and paste option in it. Here you can also see that I have also place TextBlock control with text "Message will be displayed here" which will show you the menu item click concatenated with the Time.
Read More....

Generic Types and Static Members

One of my friend recently asked me a question that I think I should share with you. Say you have a Static Implementation of a Type T which you pass as Open Type in your Generic Class. Now the problem is how to get reference to the Static Members or invoke a method that is Static to the Type from the Open Type T.  In this post, I will demonstrate few implementations that help you getting the Static implementation.

First of all, According to C# documentation, any type allocates its static members once per Type rather than once per Open Type. Now lets define this using the code below :
Read More....

Silverlight ‘Loading’ Spin Icon in XAML

When loading large object collections in Silverlight, there is enough of a time delay so that I need some kind of animated icon that indicates a 'loading' state. There were many such icons used when loading data via AJAX, which are basically animated Gif's. As Gif's aren't supported in Silverlight, I needed to create one. I decided therefore to create a design in Expression Design, and then animate it in Blend, with a little tidying up in VS2008.Im not sure how well it'll perform with large number of instances in a single control, but it does the trick for my needs.The code for my animated spinning logo is below. (Use the scaletransform in the grid to change the size)<Gridx:Name="LayoutRoot"Background="White"><Grid.RenderTransform><ScaleTransformx:Name="SpinnerScale"ScaleX="0.5"ScaleY="0.5"/></Grid.RenderTransform><CanvasRenderTransformOrigin="0.5,0.5"Width="120"…