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


Consumed: Queries and projections (F#)

AddThis Social Bookmark Button
This is the third post in my series on porting a node.js application to an F# application.

So far, I've looked at parsing command line arguments, handling commands and storing events. Today, I want to project those events into something useful that can be formatted and printed to the console.

In the original application, I only had a single query. The result of this query lists all items consumed grouped by category, sorted chronologically

Handling the query is done in a similar fashion to handling commands. The handle function matches each query
and has a dependency on the event store.

Where C# requires a bit of plumbing to get declarative projections going, F#'s pattern matching and set of built-in functions give you this for free.

We can fold over the event stream, starting with an empty list, to append each item that was consumed, excluding the ones that were removed later. Those projected items can then be grouped by category, to be mapped into a category type that contains a sorted list of items.

The result can be printed to the console using a more imperative style.

And...(Read whole news on source site)

Understanding AngularJS Isolated Scope

AddThis Social Bookmark Button
In Angular, directives can have an isolate scope that creates an inner scope that is separated from the outer scope. There are a variety of options for mapping the outer scope to the inner scope, and this can often be a source of confusion. Recently, I’ve noticed a ton of up-votes for my answer to the Stackoverlow question: Differences among = & @ in Angular directive scope? I created a simple jsFiddle to answer the question. The HTML markup looks like this:
Outer bar:... [[ This is a content summary only. Visit my website for full links, other content, and

I was speaking at Techorama 2015

AddThis Social Bookmark Button
Last week was my first time to be a speaker at Techorama, Belgium. It’s not a big and massive event like Build or Ignite but it’s still pretty big for Europe, I think. And it’s challenging for speakers as line-up is very strong. Really, it’s not kids game. Here is my short overview of Techorama and if you want to get quick answer then yes, for sure get there next year! The post I was speaking at Techorama 2015 appeared first on Gunnar Peipman - Programming Blog.

Last Post… But not the End

AddThis Social Bookmark Button
Originally posted on:'ve been actively blogging here since 2008 and I've witnessed a lot of great improvements and features in the site. Being a part of GWB is awesome and things has been great. It's been months since i thought of having my own blog, getting a new domain, hosting it myself,getting a new look and a more modern feel. GWB offers most of the things you need for managing your blog except that it doesn't have a really nice built-in editor for you to use. Fortunately Windows Live Writer was there to help you make life
easier when publishing a post. The downside for using WLW as editor is I wont be able to create or edit post anywhere. Another thing that lacks GWB is thing called "responsiveness". These two main reasons pushed me to make my plans on getting my own blog put into a reality. So yes. This will be my last post here as I will be moving into a new blog. Note that this blog will remain active because I will not be moving my blog posts over. Feel free to visit my new blog for future posts....(Read whole news on source site)

Right To Left (RTL) Text Display in Angular and ASP.NET

AddThis Social Bookmark Button
Yesterday I got a request for my Westwind.Globalization library about better support for Right To Left (RTL) language editing. The request was a simple one: When editing resources in our resource editor the editor should support RTL display for any locale that requires RTL, which makes good sense. I’m as guilty as the next guy to sometimes ignore forget that not all languages use left to right to display and edit text. Westwind.Globalization is a bit unique in its use of localized resources in that the front end app ends up displaying any number of resource locales
simultaneously since we display all of the localized versions for each resource Id for editing. After some experimentation on how to actually provide the RTL information to the client application I ended up with an UI that looks like this: Notice the Arabic and Hebrew languages showing with Right to Left display and that can be edited that way as well. ASP.NET RTL Language Detection So how can you detect Right To Left support? In this Web Resource Editor resources are served from the server running an ASP.NET Web application and the backend has a routine that returns...(Read whole news on source site)

Apple Watch Is A Needful Thing

AddThis Social Bookmark Button
Needful Things is the name of a book by Stephen King (who I happen to think is America’s most underrated author, and best storyteller, but that is another matter).  I’ve co-opted his title to mean those things that seem absurdly … Continue reading → For the complete article and hyperlinks, please visit my blog at

Visual Studio Code Webinar

AddThis Social Bookmark Button
Mac OSX, Linux, or Windows … pick your OS! I recently co-presented the launch of Visual Studio Code (aka Code) at //Build with Erich Gamma and Chris Diaz, and on May 26th, 2015 at 10 PT you can join me for a live presentation of Code as a cross-platform editor followed by an interactive Q&A. Whether you are on a Mac or Windows and into Angular, TypeScript, JavaScript, Node.js and/or C#/ASP.NET there’s something here for you! Just some of the topics discussed include getting started, editing, refactoring, debugging, running tasks, and what’s coming down the road. Visual Studio Code Series