Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

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

Follow us on FB

Search

ConcurrentCollections Can Be Prohibitively Expensive

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/akraus1/archive/2015/01/26/161276.aspxSince most of us use multiple threads we get all sorts of race conditions which we can solve with proper locking and concurrent data structures. A simple issue is if you have concurrency on an object which exposes a Dictionary from where you get exceptions back if concurrent writers add the same data to it. You would then either need to coordinate the writers or use a different dictionary which allows concurrent adds. As it turns out ConcurrentDictionary is just the collection you were searching for and your exceptions are gone. You let the tests run.
All green, check in and submit it to the main branch. A long time later at the end of the project until now ignored performance issues tend to get identified and fixed. Someone calls you that your checkin from a long time ago is the root cause of a major performance issue and that you are showing up as mount Everest in the VirtualAlloc reports.   How can that be? The problem with the Concurrent collections which claim to be largely lock free is that to achieve uncontended writes you have to...(Read whole news on source site)

The benefits of Visual Studio Online for the Enterprise

AddThis Social Bookmark Button
I last posted on why you should use Visual Studio ALM due to a customer ask, and now I have been asked to justify a move to Visual Studio Online for a company looking to use it for about 5,000 people. The post The benefits of Visual Studio Online for the Enterprise appeared first on naked ALM - Experts in ALM, TFS & lean-agile with Scrum.

The benefits of Visual Studio Online for the Enterprise

AddThis Social Bookmark Button
I last posted on why you should use Visual Studio ALM due to a customer ask, and now I have been asked to justify a move to Visual Studio Online for a company looking to use it for about 5,000 people. The post The benefits of Visual Studio Online for the Enterprise appeared first on naked ALM - Experts in ALM, TFS & lean-agile with Scrum.

The Morning Brew #1785

AddThis Social Bookmark Button
A rather late Links Only edition today as my car had to be towed to the garage this morning Information Fun with ASP.NET 5, Linux & Docker – Mark Rendle Symbols in ES6 – K.Scott Allen ES6 Object Enhancements – Chris Ng Node.js and TypeScript Modules: Internal, External… Shake it All About – Steve Wilkes […]

Excerpts from the RavenDB Performance team report: Optimizing Memory Compare/Copy Costs

AddThis Social Bookmark Button
Note, this post was written by Federico. Where I had notes or stuff to extend, I explicitly marked it as such. TLDR: Optimizing at this level is really hard. To achieve gains of 20%+ for Compare and from 200% to 6% in Copy (depending on the workload) we will need to dig very deep at the IL level. Another area we looked deeply into is, how do we move and access the memory. This type of optimization work is especially relevant if you are using Voron to handle big workloads. With small databases the improvements can be felt,
but where they shine is when dealing with multi-gigabyte databases or high-throughput key-value retrieves and put workloads (did anyone thought Bulk-Inserts?). Using FreeDB as in this previous post we build an experiment which we could use to pinpoint the pain points making sure we could also repro it every single time (no indexes, no extra call around). Under the microscope 2 pain points were evident when dealing with memory. Comparing and moving memory around. We usually compare memory straight from the mmaped unmanaged memory when looking for a particular document in Voron Trees; and to copy...(Read whole news on source site)

Slack? An even better cross-team collaboration tool?

AddThis Social Bookmark Button
Two weeks ago, I talked about Flowdock, an online tool to aggregate multiple sources into a single environment where agile teams can work together. I also promised to look at an alternative service named Slack. When we introduced Flowdock, somewhere in November 2013, Slack was still in its very early stages. However, after one year, I decided to check it out once again…and it has changed, boy has it changed. But before I continue, let me quickly recap Flowdock's biggest pain points: A separate inbox No option for sending messages between flows. No
support for Markdown in technical discussions. No support for SharePoint and OneNote URLs. No per-flow notification settings Unintuitive search functionality No Windows Phone and Windows desktop versions. So here's one of Slack's many views: You will immediately notice that messages from external services such as Github or TeamCity appear inline with the remainder of the conversations. I'm not entirely satisfied with the look-and-feel and the noise created by the RSS feed, but I suspect the guys behind Slack will work on that soon enough. The right pane is used to either...(Read whole news on source site)

Public Holidays Kenya 2015

AddThis Social Bookmark Button
Below is the list of some of the National and Public Holidays in Kenya in the year 2015 Public Holidays Kenya 2015 January 01, 2015 (Thursday) New Year’s Day Friday, April 03, 2015 Good Friday Monday, April 06, 2015 Easter Monday Friday, May 01, 2015 Labour Day in Kenya Monday, June 01, 2015 Madaraka Day [...]
or Even
...(Read whole news on source site)

SpecsFor 4.3.1, SpecsFor<Web> Helpers 1.4.1 released!

AddThis Social Bookmark Button
I have two bug-fixe releases for you tonight.  First, SpecsFor now supports partial matching on List types, including generic lists.  It works exactly the same as an array.  Here are the passing specs to illustrate what you can do now: [Test] public void then_it_does_not_throw_on_a_matching_pair_of_objects() { var obj1 = new TestClass { Name = "Name", Items = new List { new NestedClass { Id = 1, Name = "One" } } }; Assert.DoesNotThrow(() => obj1.ShouldLookLike(() => new TestClass { Name = "Name", Items = new List { new
NestedClass { Id = 1 } } }) ); } [Test] public void then_it_does_throw_on_a_non_matching_pair_of_objects() { var obj1 = new TestClass { Name = "Name", Items = new List { new NestedClass { Id = 1, Name = "One" } } }; Assert.Throws(() => obj1.ShouldLookLike(() => new TestClass { Name = "Name", Items = new List { new NestedClass { Id = 2 } } }) ); } Thanks go to Brant Wheeler for pointing out this bug! Next, there was...(Read whole news on source site)

Adding Azure Active Directory and OWIN Code into an AngularJS/ASP.NET MVC Application to Handle User Authentication

AddThis Social Bookmark Button
In a previous post I discussed how to setup the necessary configuration code and assemblies in an AngularJS/ASP.NET MVC application in order to authenticate users against Azure Active Directory (AAD). Once the initial configuration is complete you can write code to redirect users to the AAD login screen to retrieve an ID token. In Part 4 of an article series I’m writing for http://itunity.com I discuss the necessary code that’s required to authenticate a user and retrieve the ID token. Additional topics covered include hooking AAD into the ASP.NET MVC pipeline, creating an Entity
Framework token cache, triggering authentication against AAD in MVC controllers, and more. Here’s an excerpt from the article. The complete code for the application discussed in the article series can be found on the OfficeDev Github site.
Adding AAD Configuration and Assemblies into an Application Part 3 of this series covered how to access the Client ID, Key, and Tenant ID values from Azure Active Directory (AAD) and add them into web.config. It also showed how to get the necessary AAD and OWIN NuGet packages in place and create a SettingsHelper class to simplify the process of...(Read whole news on source site)

Home