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


RavenDB Sharding: Adding a new shard to an existing cluster, splitting the shard

AddThis Social Bookmark Button
In my previous post, we have increased the capacity of the cluster by moving all new work to the new set of servers. In this post, I want to deal with a slightly harder problem, how to handle it when it isn’t new data that is causing the issue, but existing data. So we can’t just throw a new server, but need to actually move data between nodes. We started with the following configuration: var shards = new Dictionary { {"Shared", new DocumentStore {Url ="http://rvn1:8080", DefaultDatabase = "Shared"}}, {"EU", new DocumentStore {Url = "http://rvn2:8080", DefaultDatabase
= "Europe"}}, {"NA", new DocumentStore {Url = "http://rvn3:8080", DefaultDatabase = "NorthAmerica"}}, }; And what we want is to add another server for EU and NA. Our new topology would be: var shards = new Dictionary { {"Shared", new DocumentStore {Url ="http://rvn1:8080", DefaultDatabase = "Shared"}}, {"EU1", new DocumentStore {Url = "http://rvn2:8080", DefaultDatabase = "Europe1"}}, {"NA1", new DocumentStore {Url = "http://rvn3:8080", DefaultDatabase = "NorthAmerica1"}}, {"EU2", new DocumentStore {Url = "http://rvn4:8080", DefaultDatabase = "Europe2"}}, {"NA2", new DocumentStore {Url = "http://rvn5:8080", DefaultDatabase = "NorthAmerica2"}}, }; There are a couple of things...(Read whole news on source site)

How to export Excel sheet to PDF format in Excel 2013 ?

AddThis Social Bookmark Button
This blog post will explain in simple steps on how to export the excel sheet to PDF format in Microsoft Excel 2013 so that it can be easily shared and be used for printing later. How to export Excel sheet to PDF format in Excel 2013 ? Follow the below steps to export the excel......(Read whole news on source site)

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)