Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


Noida Techie's Tweet Wins $36000 Worth MBA Seat in U.S.

AddThis Social Bookmark Button
Noida Techie's Tweet Wins $36000 Worth MBA Seat in U.S.:

"What makes you an exceptional Tippie full-time MBA candidate and future MBA hire?" was the question asked in the competition.  Rathi found an answer for this question in a unique tweet, "In an age where packaging is as imp as content, I present me in a manner that makes me stand out from the crowd."  The tweet showed a link to his personal blog where he shared his views on leadership, decision-making, problem solving and team-playing skills. This made him the only international winner in the contest
which was announced in the last year.
...(Read whole news on source site)

Amazon Product Advertising API SOAP Namespace Changes

AddThis Social Bookmark Button
About two months ago (twowards the end of February 2012 I think) Amazon decided to change the namespace of the Product Advertising API. The error that would come up was: was not expected. If you've used the Amazon Product Advertising API you probably know that Amazon has made it a habit to break the services every few years or so and I guess last month was about the time for another one. Basically the service namespace of the document has been changed and responses from the service just failed outright even though the rest of the schema looks
fine. Now I looked around for a while trying to find a recent update to the Product Advertising API - something semi-official looking but everything is dated around 2009. Really??? And it's not just .NET - the newest thing on the sample/APIs is dated early 2011 and a handful of 2010 samples. There are newer full APIs for the 'cloud' offerings, but the Product Advertising API apparently isn't part of that. After searching for quite a bit trying to trace this down myself and trying some of the newer samples (which also failed) I found an obscure forum...(Read whole news on source site)

Windows 8 Custom events in WinJS

AddThis Social Bookmark Button
source: In this post, we'll perform a refactoring that moves some code that controls the AppBar in a Metro application written in HTML5. The code is currently placed in each page in the application and each page searches the DOM for an element with an id 'appbar' and then hides or shows a button in the AppBar, depending on if a "full view" button should be visible or not. But even if we have data in the DOM available as global state, it doesn't mean that we should use it - writing
Metro applications in WinJS doesn't change the fact that encapsulation is still an important property of the design of your application! In our example, we have a page, default.html, which creates a div which is an AppBar control, so it should also be responsible for turning on and off a button in the bar. But this is not the current case, instead all the other JavaScript files controls the AppBar. ...Read more ...(Read whole news on source site)

Creating a Windows Metro style application in C++

AddThis Social Bookmark Button
source: I am going to step out of my comfort zone a bit and write a post that touches the surface of C++ in Windows 8. Let us start off by looking at an image of what the new WinRT(Windows Runtime) look like: As you can see, there are a lot of powerful ways to create both metro style and desktop applications. Notice that in Metro style applications, XAML is connected to both C++ and C#/VB. During my years of .NET development, the reason for using C# or VB has been; RAD(Rapid Application Development). In
a world filled with consultants where the customers only see the end result, it can often be hard to convince that putting down 200% more time using C++ is a great idea. .....Read more ...(Read whole news on source site)

I hate this code

AddThis Social Bookmark Button
I really hate this code, it is so stupid it makes my head hurt, and it have so much important factors in it. In particular, there is a lot of logic in here. You might not see it as such, but a lot of this is actually quite important, default values, config parsing, decisions. This is important. And it is all handled in a a few methods that goes on forever and hide important details in the tediousness of parameter unpacking. This approach works if you have 5 parameters, not when you have 50.

Async III: Cancellation

AddThis Social Bookmark Button
The previous posts in this series talked about the basics of async and exception handling. In this post we will take a look at cancellation and the beginnings of progress reporting.

For cancellation you can make use of a CancellationToken. This is an extra parameter that can be send to an asynchronous method call, most asynchronous methods you find in the .NET framework provide an overload with cancellation. You can extend your own asynchronous methods as well to take in a CancellationToken.

For progress reporting the IProgress interface can be used. This interface defines a Report
method that can be used to report progress from within an asynchronous method. Asynchronous calls again can define overloads that take in a IProgress interface.

Let's first take a look at cancellation.

protected async override void OnNavigatedTo(NavigationEventArgs e)
cts = new CancellationTokenSource();

await _restCaller.PublishHikeRequest(cts.Token);

var driverIds = await _restCaller.GetDrivers(cts.Token);

if (driverIds != null)
...(Read whole news on source site)

How-to create a tile without app title for Windows Phone

AddThis Social Bookmark Button
source: Every App has always a title on its dedicated tile for the Windows Phone start screen. But what if your tile icon contains already the title of your app? Normally, you are setting the appearance of your app within the properties:     If you have done this, your logo is displayed, but contains the title string. So how can we delete this? In properties, you are not allowed to delete the name. You will face an error: "Title cannot be empty". You need to go to the
Application Manifest and edit the XML manually. Go to solution explorer, and open the properties tree. With a double click on "WMAppManifest.xml" you will see the following Window: ...Read more ...(Read whole news on source site)