Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers

Windows Phone 7 (Mango) Tutorial - 27 - How to Detect whether the Network is Available?

Sometime we need to know whether Network connectivity is available or not from our application. In Windows Phone 7, we have the required API exposed for the developers to detect the status of the network connection and take respective step based on that.


So how to detect it? In this small tip of the tutorial series, we will learn about the API and we will also see how this can be done using a small demo which includes code too. Read to know more about it.

How to Categorize Control Properties for XAML View inside Blend and Visual Studio?

If you are a XAML designer and creating controls for Silverlight, Windows Phone 7 or WPF, you may come in some situation that the custom properties for the controls are not properly organized by the developers. If you come into such situation forward this link to the developers and they may find it useful.


In this article, we will learn how to well organize the custom properties of your control so that, designers can easily search in appropriate location. Read to know more about it.

Default Browser Switcher Extension for Visual Studio 2010 - Improve Productivity

There are many instance when we have "Browser1" as the default browser in the system and we want our web application to be run inside a different browser (say "Browser2") from the Visual Studio IDE. To do this, we need to open the "Browser2" application and set it as default one, so that, the "Browser2" will start as the application handle from the IDE. After that, you have to revert back the default browser to "Browser1" by doing the same step.


This is really very difficult job. To simplify this thing, there is an Extension for the Visual Studio 2010 IDE. If you download and install that free extension, you will be able to do this very easily. In this post I will share the step and show you how this will improve your productivity.

How to Create a Circular Loader using XAML?

Circular Loader

Sometime we need to show a circular loader in WPF and/or Silverlight. We may need it in Windows Phone 7 too. In simple statement, we need to show a circular loader in various XAML applications like Silverlight, WP7 and WPF.


In this article, we will learn how to create a Circular Loader as shown in the screenshot. I will not use a single line of C# code to create this loader. Everything will be in the XAML file itself to keep the code behind file clean. Read to know more about it step-by-step and after reading this article, you will be able to create and use a circular loader like this. Source code is also available for download at the end of the page. Feel free to use it.

Windows Phone 7 (Mango) Tutorial - 26 - What is Input Scope?

Input Scope of a TextBox defines the information related to the scope of the data provided by the input method and use to define the layout of the onscreen keyboard of the device. It is present in the "System.Windows.Input" namespace and exposed in TextBox as a property called "InputScope".


You might be wondering what is this property and why should one use it. Ok, let us discuss this in depth with a small sample. After reading this chapter, you will be able to understand it more and use it on your business requirement. Don't forget to share this tutorial links to others as this will help them to learn more.


MVVM from Scratch using Silverlight (PUG Monthly Meet - July 2011)

On coming Saturday, 9th July 2011, I am going to take an hour session on "MVVM from Scratch using Silverlight" in the Pune User Group's (PUG) monthly meeting. The session will start from 10 AM and will continue for one hour. Also there are two more sessions on Windows Phone 7 and Parallel Programming.


In this one hour session, I will demonstrate what is MVVM pattern, how a designer/developer will get the benefit of using it. I will also demonstrate how this will help you to clear up the code behind file and make a fully loosely coupled & maintainable code. Read more to find the Agenda and Venue of the event. Entry is FREE, hence you can join it directly at the venue. Will meet you there.

Weekly News Digest @SilverlightZone - 26-June-2011 to 02-July-2011

Silverlight-Zone.com completed it's 6 months

Here comes the weekly digest of Silverlight-Zone.com from 26th June 2011 to 2nd July 2011. We have completed 6 months of this site with more than 2000 news items. We received some good feedback too including a huge hit to the site. This motivates us to serve you better in future.


In this post, I am going to share the top 5 posts of this week. Windows Phone 7 is trending in this site. Top 5 posts are "The news of distribution of WP7 Mango to developers by Microsoft", "Windows 8 Rumour to Future for WP7", "A Screen Recorder application in WP7", "Hosting HTML App in WP7 Mango" and "Betting the House on LightSwitch". Read to find out these links as well as the link to daily news digest of the week in case you missed to read them.

Installation Steps of Windows Phone SDK 7.1 Beta 2

Microsoft released Windows Phone SDK 7.1 Beta 2 on 29th June 2011. Earlier it was named as Windows Phone Developer Tools. While releasing the beta 2 version of the Software, they renamed it to Windows Phone SDK 7.1.


Today I downloaded the SDK and installed it in my laptop. Sharing the same experience here just in case you want to read it. This will also help a beginner to kick start on the same.

Windows Phone 7 (Mango) Tutorial - 25 - Learn about Database Connection String

Last three days we learnt about the new feature of Windows Phone 7 (Mango) called "Local Database Support". Yesterday we discussed it in depth by building a small demo application. While working with the demo you might noticed that, we used a connection string to connect with the local database present in the Windows Phone storage.


In this post, we will discuss more on the connection string. After reading this post, you will be able to know what are the various types and parameters available for connection string.

Windows Phone 7 (Mango) Tutorial - 24 - Local Database Support, CRUD operation with Demo

In the last two chapters of the tutorial series, we discussed about the local database support in Windows Phone 7 (Mango). We learnt how to create a DataContext class from existing SQL CE database and also we learnt about the issues that arises once we add the class file in the project to build. We learnt the steps to resolve those issues too.


In this article, we are going to discuss about the CRUD operations that we can do using the DataContext class with a small application. We will learn how to create and delete a database, we will also learn how to insert or fetch records. After reading this tutorial you will also be able to do other operations like edit, search etc.

Download Windows Phone SDK 7.1 Beta 2 (Mango) - Web and Offline Installer

Microsoft released Windows Phone 7.1 SDK Beta 2 today, 29th June 2011. It has a no. of new features as well as some breaking changes respect to previous Beta 1 release.


In this post, find the link to download the Beta 2 SDK of Windows Phone 7.1 (Mango) which includes both the web and standalone offline installer. Also find the links towards new and breaking changes.

© 2008-2018 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top