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


Avoid where in a reduce clause

AddThis Social Bookmark Button
We got a customer question about a map/reduce index that produced the wrong results. The problem was a problem between the conceptual model and the actual model of how Map/Reduce actually works. Let us take the following silly example. We want to find all the animal owner’s that have more than a single animal. We define an index like so: // map from a in docs.Animals select new { a.Owner, Names = new[]{a.Name} } // reduce from r in results group r by r.Owner into g where g.Sum(x=>x.Names.Length) > 1 select new { Owner = g.Key, Names = g.SelectMany(x=>x.Names) } And here is our input: { "Owner": "users/1", "Name":
"Arava" } // animals/1 { "Owner": "users/1", "Name": "Oscar" } // animals/2 { "Owner": "users/1", "Name": "Phoebe" } // animals/3 What would be the output of this index? At first glance, you might guess that it would be: { "Owner": "users/1", "Names": ["Arava", "Oscar", "Phoebe" ] } But you would be wrong. The actual output of this index… It is nothing. This index actually have no output. But why? To answer that, let us ask the following question. What would be the output for the following input? { "Owner": "users/1", "Name": "Arava" } // animals/1 That would be nothing, because...(Read whole news on source site)

The Morning Brew #1656

AddThis Social Bookmark Button
Back to the usual morning publishing slot today Software New Compiler and Moving to GitHub – TypeScript – Jonathan Turner announces a new improved compiler for the TypeScipt project, along with their migration to hosting the project on GitHub Visual Studio Online Update – July 21 – Brian Harry announces the deployment of the latest […]

APress Deal of the Day 22/July/2014 - Pro Website Development and Operations

AddThis Social Bookmark Button
Originally posted on:’s $10 Deal of the day from APress at is Pro Website Development and Operations. “Pro Website Development and Operations provides unique insights into how systems, code, and process can all work together to make large-scale website development and operations ultra-efficient. ”

jQuery Promise syntax to wrap SharePoint SP.SOD

AddThis Social Bookmark Button
  jQuery has a special function $.Deferred - which lets you create an Deferred object to build Promise(s). We use this to simplify everything we do in SharePoint and other JavaScript libraries.   Wrapping SP.ClientContext function GetCurrentUserName() { var deferred = $.Deferred();
var ctx = SP.ClientContext.get_current();
var web = ctx.get_web();
var currentUser = web.get_currentUser();
ctx.executeQueryAsync( function(sender, args) {
}, function() {;
}); var promise = deferred.promise();
promise.done( function() {
    var title = currentUser.get_title();
}); return promise;
Wrapping SP.SOD function SPLoaded() { var deferred = $.Deferred();
SP.SOD.executeOrDelayUntilScriptLoaded( function() { deferred.resolve(); }, "sp.js"); return deferred.promise(); } Resolving multiple promises var promise1 = ...
var promise2 = ...
var promise3 = ... $.when(promise1, promise2, promise3).done(function(){ ...(Read whole news on source site)

Visual Studio Online Update – July 21

AddThis Social Bookmark Button
Today we began deployment of our sprint 68 work.  There’s a bunch of really good stuff there.  I say “begun” because deployment is a multi day event now as we roll it out across instances.  Everyone should have the updates by tomorrow (Tue) afternoon.  You can read the release notes to get details. Licensing You’ll see that one part of the licensing changes I described a couple of weeks ago are now live – addition of Test Hub access to the Visual Studio Online Advanced license.  The remaining stakeholder licensing changes are still tracking to go
live in mid-August.  Stay tuned for more. Azure Active Directory support The biggest thing in the announcement is the next step in our rollout of Azure Active Directory (AAD) support in VS Online.  We started this journey back in May with the very first flicker of AAD support at the Build conference.  We added more support at TechEd but I’ve stay pretty quiet about it because, until this week, there was no way to convert and existing account to AAD.  With this deployment we’ve enabled it.  Officially it’s in preview and you have to ask to get access...(Read whole news on source site)

O’Reilly 50% off all programming E-Books until 05:00 PT 25/July/2014

AddThis Social Bookmark Button
Originally posted on:’Reilly are offering 50% off all programming E-Books until 05:00 PT 25/July/2014 at This is in celebration of the Open Source convention. There are many, many books available under this offer…  

Coding music

AddThis Social Bookmark Button
As a software developer, you need a headphone and music to get into the zone. If I have to explain what “the zone” is, you might consider skipping this blog. Mark Zuckerberg was in the zone in the movie the social network. My current headphone is a on-ear Sony MDR-NC7 with active noise-cancelling. It was the cheapest noise-cancelling headphone and I wanted to check out if noise cancelling would work. So if you have a nice affordable suggestion for a new headphone (preferably with noise cancelling) please let me know in the comments below. As a developer, you

Yet Another Podcast Show 127–Laurent Bugnion, Xamarin & MVVM Light

AddThis Social Bookmark Button
Laurent Bugnion, Microsoft MVP, Microsoft Regional Director and Senior Director for IdentityMine, works from Zurich Switzerland where he is the author of MVVM Light, one of the premier libraries and toolkits for MVVM on all XAML systems and now Xamarin … Continue reading → For the complete article and hyperlinks, please visit my blog at