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 3.0 Release date: 25 Nov, 2014

AddThis Social Bookmark Button
Barring anything major, we’ll be releasing RavenDB 3.0 in 5 days . It will be  a stable release and you’re encourage to move to it as soon as it is available, using the Esent database. The Voron database is still in RC mode (mostly because we’re paranoid and want to have more real world experience before we go full forward with this), but it is going to be fully supported. Upgrading instances will use Esent, and new databases will default to Esent unless you explicitly select Voron.

Registering SQL Server Built-in Functions to Entity Framework Code First

AddThis Social Bookmark Button
It is possible to register custom functions that exist in the database so that they can be called by Entity Framework Code First LINQ queries.For example, consider the SOUNDEX function (yes, I know, I know, I always give SOUNDEX as an example for LINQ extensions! ). We could write it in C# as this:
left; color: black; line-height: 12pt; overflow: visible; font-family: "Courier New", courier, monospace; font-size: 8pt; direction: ltr; background-color: rgb(244, 244, 244);"> 1: public static String Soundex(this String input) 2: {

Large scale distributed consensus approaches: Concurrent consistent decisions

AddThis Social Bookmark Button
So far we tackled the idea of large compute cluster, and a large storage cluster. I mentioned that the problem with the large storage cluster is that it doesn’t handle consistency within itself. Two concurrent requests can hit two storage nodes and make concurrent operations that aren’t synchronized between themselves. That is usually a good thing, since that is what you want for high throughput system. The less coordination you can get away with, the more you can actually do. So far, so good, but that isn’t always suitable. Let us consider a case where we need to have a
consistent approach, for some business reason. The typical example would be transactions in a bank, but I hate this example, because in the real world banks deal with inconsistency all the time, this is an explicit part of their business model. Let us talk about auctions and bids, instead. We have an auction service, which allow us to run a large number of auctions. For each auction, users can place bids, and it is important for us that bids are always processed sequentially per auction, because we have to know who place a bid that is immediately rejected ($1...(Read whole news on source site)

The Morning Brew #1742

AddThis Social Bookmark Button
Software ReSharper and Visual Studio: Where do We Stand – & Meet ReSharper, ReSharper C++ and ReSharper Ultimate – Jura Gorohovsky of JetBrains shares the details of the Visual Studio version support for ReSharper 9 and also discusses the new product editions and how they stack up Windows "Command Prompt Here" Generator – Now with […]

Speaking at Code Camp 2014, Macedonia

AddThis Social Bookmark Button
This year I have honor to be a speaker at Code Camp 2014, Macedonia. It’s one of the biggest developers event in Macedonia. I have been in Macedonia as a speaker once before but it was community evening and not a big conference. This time I come to Skopje with new ASP.NET vNext. In this post I will give short overview about digital hell I prepared for Macedonian techies. The post Speaking at Code Camp 2014, Macedonia appeared first on Gunnar Peipman - Programming Blog.

I lost 55lbs using these two amazing simple steps–you can too!

AddThis Social Bookmark Button
TL;DR – I got off my butt, started eating better and lost 40lbs in ~100 days.  You can too. UPDATE: As of NOV-2014 I’m down 55lbs since this timeframe.  Feel amazing, found new hobbies that are active and loving life again. This year started very depressing personally as each look in the mirror showed another chin growing under the previous.  I weighed the most I’ve ever weighed in my life and it just kept getting away from me.  My move to Redmond brought back a different office life for me from my previous role at Microsoft and I
became much more sedentary than before.  Now, this doesn’t mean I was a triathlete before, but I certainly didn’t sit in an office as much as I have in the past 4 years.  I really put myself fully into work and nothing else…and it showed physically. As my kids got more active (I have two kids; 8 and 12) I participated more with their activities.  I realized how out of shape I was when I couldn’t ride a bike like my kids, couldn’t run around the baseball field to help with Little League practices without being out-of-breath, etc.  I...(Read whole news on source site)

Unit tests that require the STA Thread

AddThis Social Bookmark Button
If you've ever written a unit test that instantiates a WPF control, you might have run into one of the following errors: The calling thread cannot access this object because a different thread owns it. or The calling thread must be STA, because many UI components require this. Prior to xUnit 2.0, we used a little hack to force a test to run on the STA Thread. You simply set the Timeout to 0. XUnit 1.9
[Fact(Timeout=0 /* This runs on STA Thread */)] public void SomeTest() {...}
But due to the asynchronous all the way down design of XUnit 2.0, the Timeout property was removed. So
what's a WPF Testing person to do? Well, I decided to fix that problem by writing two custom attributes for tests: STAFactAttribute STATheoryAttribute STAFactAttribute is the same thing as FactAttribute but it makes sure the test runs on the STA thread. Same goes for STATheoryAttribute. It's the same thing as TheoryAttribute. For example,
[STATheory] [InlineData(1)] [InlineData(-1)] public async Task SomeTest(int someValue) { ... }
I contributed this code to the xunit/samples repository on GitHub. There's a lot of great examples in this repository that demonstrate how easy it is to extend XUnit to provide a nice custom experience. STA Thread So you might be curious, what is an STA Thread?...(Read whole news on source site)

K2 Workflow: Apply HTML formatting on email events

AddThis Social Bookmark Button
For a novice, it would seem that applying HTML formatting would be straightforward with the HTML option that is provided in the Email event (or Client event) wizard, for ex: However, when I saw the output, I was stumped. The output was something like this: ——————————————- Dear XYZ, Please assign a name for task 123. Use […]

PostSharp 4.1 Preview 1: Support for Xamarin & Visual Studio 2015

AddThis Social Bookmark Button
Just one month after we published PostSharp 4.0 RTM and one week after Visual Studio 2015 Preview went out, we’re excited to release PostSharp 4.1 Preview 1 today, introducing support for Xamarin and Visual Studio 2015. PostSharp 4.1 is all about adding support for new platforms. We want to make PostSharp the number-one extension for pattern-driven programming – not only for desktop and server applications, but also for mobile devices.PostSharp 4.1 Preview 1 is available for download from our web site and from NuGet as a pre-release package. Note that this is still an early preview, and needless to
say PostSharp Tools for Visual Studio 2015 are particularly experimental.If you have 7:47 minutes to spare, look at this video, which shows the new user experience of adding INotifyPropertyChanged and undo/redo to a simple WPF app: Support for XamarinA few years ago, PostSharp had an ambiguous relationship with Mono. Technically, it was possible to run PostSharp on Mono, and there were even a few classes written specifically for this use case. However, we didn’t have any significant testing with Mono. So  even if we said we “supported” it, the idea was really just: use PostSharp with Mono at your own risks....(Read whole news on source site)