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

How to auto publish a website each time a #TFS build succeeds?

Once you set up your TFS build server with an automated build, the big boss will ask you to publish the web project to the intermediate server each time a new build occurs. This might be for the testers to make sure that the code is working properly.

 

What to do? You analysed that, it will hamper your productivity. Isn’t it? Then what to do? Can we automate the build server to deploy the new code each time it succeeds? Let’s discuss it.



Solution to TFS Build Error - The Silverlight 4 SDK is not installed

Today while creating my first CI Build definition in the Visual Studio Team Foundation Server, I noticed that, though the Silverlight 5 SDK is installed in the server, I was unable to run the build. It was throwing an error message that says “The Silverlight 4 SDK is not installed”.

 

The issue was not actually with the Silverlight SDK and I found the solution after lots of analysis. In this post, I am going to share it so that, if you come across the same issue, it will be helpful.


How to Navigate to an URL in LightSwitch?

Sometime we might want to navigate to a specific URL in LightSwitch application. That might be a web page URL or a direct URL to some file. If you are a Silverlight developer, you might know how to navigate to an URL but there are some trick in case of LightSwitch.

 

If you are looking for a piece of code to learn the mechanism and to include in your project, then this post will guide you step-by-step.


How to create custom XMLNS namespaces to keep your XAML clean?

XAML namespace is an extension of XML namespace and conventionally written as “xmlns” in XAML pages. We use it on all XAML pages in Silverlight, Windows Phone, Windows 8, WPF related technologies to better reference assemblies and namespaces.

 

In this post we will learn more about this XMLNS namespace and the way to customize it for a cleaner XAML page. Interested to know it? Continue reading and share your feedback about the post.


Microsoft Surface won’t Turn ON - Now what to do?

I just faced an issue with my Surface RT device. I was unable to turn on the device though it was completely charged. Though I had no idea about the issue but I was guessing about the Power Switch issue. Did a lot of stuffs, searching online etc. but nothing help.

 

Finally I tweeted about the issue and got a reply which helped me to turn on the device. If you came to this page just because your Surface is not turning on, this post will help you.


Microsoft confirms Windows 8.1 (Blue) Availability and Pricing

Today Tami Reller, Chief Marketing Officer for the Microsoft Windows business confirms the general availability and pricing of Windows 8.1 (Blue) at the JP Morgan Technology, Media & Telecom Conference in Boston.

 

The first public preview of next version of Windows 8 will be available during BUILD Conference going to happen at the end of June 2013.


Now I am a Nokia Developer Champion from India

It’s the sunny morning when I woke up from bed and opened my Surface to check the mails and tweets those I received while I was sleeping. In the collection of all unread mail, I noticed a mail with the subject line that says “Welcome to Nokia Developer Champion”.

 

At the very beginning I thought it as dream but now my dream comes true. Yes, I am now a Nokia Developer Champion from India and I am feeling very proud to announce it to you.


How to Capture a Screenshot as File in Microsoft Surface?

Last year we discussed “How to Capture a Screenshot as File in Windows 8?” which you will find useful in your desktop PC or laptop. You will also find that post useful in a Surface if you have a keyboard attached to it, because “Win + Print Screen” key combination is needed to capture the screen.

 

What about Microsoft Surface which does not have a keyboard attach to it? In that case, a touch keyboard will be require to press the keys but that will fill half of the screen.


How to turn ON/OFF the Microsoft Two-Step Verification?

In the last post “What is Two-Factor Authentication?” we discussed about various factors of authentication system including different examples. We also learnt about Knowledge Factor, Inherence Factor and Possession Factor.

 

Microsoft recently added a second step authentication mechanism in all their accounts as an extra security layer. This post will guide you to turn ON/OFF this security layer.


What is Two-Factor Authentication?

Two-factor authentication is a user authentication system where an user needs to provide two different factors to authorize the user’s identity. It is not a new concept and in many places we are knowingly or unknowingly using it for secure access.

 

There could be multiple factors too and that known as Multi-factor authentication. Today in this post we will learn basics about this type of authentication system.


How to batch clean up the Visual Studio solution folder? (bin, obj etc.)

Sometime the Visual Studio’s clean project command does not return as expected and maximum time people used to manually delete the bin, obj, Client Bin, Generated_Code directories to clean all the traces of previous build.

 

Here I will share a small batch code which will help you to clean up those directories by just a single click. Tune it up if you want to add few more directories in the list.

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