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

Small touches: Complex text in RavenDB

AddThis Social Bookmark Button
This is what we call a “mini feature”, something that you’ll probably not notice unless pointed out to you. Often, we want to store documents that contain multi line strings properties. JSON has a very simple way to handle that: And it works, and if the text is small, it is even readable. But it isn’t really working on anything even remotely complex or long. So we have worked to fix that: Now you can actually read this much more easily. We run into this when we look at stack trace information, where without line breaks,
it is nearly impossible to see what is going on....(Read whole news on source site)

The Morning Brew #1660

AddThis Social Bookmark Button
Software BDDfy V4 – Mehdi Khalili announces the release of BDDfy version 4, based on the existing project, and with over 300 commits this new version includes a substantial number of new features including Cucumber-like examples on both Fluent and Reflective APIs, self contained HTML reports, scenario Tags, along with a few breaking changes. Announcing […]

Should I get certified?

AddThis Social Bookmark Button
The value of Microsoft certifications has split opinion for years, and both camps feel very passionate about their side of the argument.  In this post I’ll try and look constructively at the value of Microsoft certifications, so you can make the decision for yourself.  I’m specifically talking about Microsoft developer certifications here, but the concepts/points […] The post Should I get certified? appeared first on C# .NET Development Blog.

Perfect PDF $79 Sale Extended!

AddThis Social Bookmark Button
I decided to extend the Perfect PDF sale until the end of the week!  That’s $79 for the full license.  It covers your entire team and however many apps you want to use it in.  After this sale ends on Friday, August 1st, the price for this edition will jump back up to its usual $299. You can still grab a free trial off of NuGet if you want to check it out before you spend your cash:

Get Downline and Upline of hierarchical data and Performance review - SQL Server 2008

AddThis Social Bookmark Button
I have already posted for the HierarchyId and CTE (Common Table Expression) , also given the comparison review of them for the level and hierarchical order data. You can find the post for same here. I am not saying that HierarchyId is better than CTE or CTE is better then HierarchyId. But it all depends on. You need to practically use them and review the performance of hierarchyId and CTE. I am going to show one more demo o find the members with downline and upline. -- creating objects CREATE DATABASE HierarchyDB GO USE HierarchyDB GO IF ( Object_id('HierarchyTab') > 0 )
DROP TABLE HierarchyTab GO CREATE TABLE HierarchyTab ( NodeId INT NOT NULL ,NodeParent int ,NodeDepth VARCHAR(100) NOT NULL ,NodePath HIERARCHYID NULL ,NodeLevel as (NodePath.[GetLevel]()) ,NodeStringPath as (NodePath.ToString()) ,NodeDesc VARCHAR(100) ) GO ALTER TABLE HierarchyTab ADD CONSTRAINT U_NodePath UNIQUE CLUSTERED (NodePath) GO INSERT INTO HierarchyTab(NodeId,NodeParent,NodeDepth,NodePath,NodeDesc) VALUES (1,NULL,'1',HIERARCHYID::Parse('/'),'Node-1'), (2,1,'1.1',HIERARCHYID::Parse('/1/'),'Node-2'), (3,2,'1.1.1',HIERARCHYID::Parse('/1/1/'),'Node-3'), (4,2,'1.1.2',HIERARCHYID::Parse('/1/2/'),'Node-4'), (5,1,'1.2',HIERARCHYID::Parse('/2/'),'Node-5'), (6,5,'1.2.1',HIERARCHYID::Parse('/2/1/'),'Node-6'), (7,5,'1.2.2',HIERARCHYID::Parse('/2/2/'),'Node-7'), (8,7,'1.2.2.1',HIERARCHYID::Parse('/2/2/1/'),'Node-8'), (9,8,'1.2.2.1.1',HIERARCHYID::Parse('/2/2/1/1/'),'Node-9') GO SELECT * FROM HierarchyTab GO 1. Get down line data using CTE and HierarchyId and compare the execution plan. -- Using CTE (Not Using...(Read whole news on source site)

The perils of calculating an Average of Averages

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/darrengosbell/archive/2014/07/28/the-perils-of-calculating-an-average-of-averages.aspxI've seen questions around issues calculating averages come up a few times in various forums and it came up again last week and I feel that there is some benefit in walking through the details of this issue. For many of you the following will be nothing new, but I'm hoping that this may serve as a reference that you can point to when you get requests for this sort of calculation. The core issue here is really a fundamental mathematical one. Personally I see it surfacing most often in DAX and MDX as those
are languages that I spend a lot of time with, but also because of their multi-dimensional natures you need to be able to write generic calculations that will work regardless of how the end users slice and dice the data. The discussions invariably start with a statement like the following: "I have a calculated measure that an average, but my totals are calculating incorrectly" There are 2 different issues I see relating to this. The first one is trying to use the AVG() function in MDX. Basically if you want an average...(Read whole news on source site)

Using AngularJS to Extend Your Code Quality

AddThis Social Bookmark Button
The AngularJS API provides a function named extend that can help improve your code quality and efficiency. I always look for ways to improve quality, increase efficiency, reduce risk and eliminate ritual and ceremony when I am developing software. Perhaps the simplest way to express this is the DRY principle (Don’t Repeat Yourself). I prefer a refactoring-driven approach to this principle. Instead of trying to anticipate what might be needed in a framework, I simply evolve it and refactor when I see an opportunity to improvement. Oftentimes Angular’s extend function is a part of that refactoring. Assume I am writing
a page that allows the user to click two buttons to produce a list of categories and products. Here is a screenshot with the categories loaded and the products waiting for the user to request them. The source for data is exposed via the example API at OData.org. To encapsulate the call for categories, I create a component and register it with Angular that looks like this: function CategoriesService($http, $q) {
     this.$http = $http;
     this.$q = $q; } 




CategoriesService.prototype.get = function () {
     var deferral = this.$q.defer();
     this.$http.get('http://services.odata.org/V4/OData/OData.svc/')
         .success(function (response) {
             deferral.resolve(response.value);
         })
         .error(function (err) {
            ...(Read whole news on source site)

Continuous Delivery – Patterns for zero downtime requirements

AddThis Social Bookmark Button
One of the main problems teams face when practicing continuous delivery is to manage zero downtime deployments to the production environments. The goal is to deploy as soon as possible and depending on the heartbeat of the organization, this becomes a higher priority to manage active users without losing their data and sessions during a deployment process. In this post I'll share some of the ideas and approaches that are been used for achieving the goal of zero downtime deployments.


An important process for reducing risks and managing a zero deployment downtime is by following the blue-green deployment technique.
In a blue-green deployment scenario, the approach is to bring up a parallel green environment and once everything is tested and ready to go, you simply switch all the traffic to the green environment and leave the blue environment idle. This also helps in easy rollback and switch to the blue environment if anything goes wrong in the current installation.


In a horizontally scaled environment, where you have multiple servers handling the load where the traffic is routed to one of the servers based on the load balancer scheduling algorithm, you can update the servers one-by-one and...(Read whole news on source site)

Angularjs + TypeScript – setting up a basic application with Visual Studio 2013

AddThis Social Bookmark Button
Preface No, I have not abandoned Windows (Phone) Development, and am not planning to do that. But apart from being Windows Platform MVP (as it is called since a few weeks) I actually have a day job as an employee building web applications. A few years ago I brought in the SPA concept in the company, first based on Knockout, later Angular, and after the 2014 Dutch TechDays and actually having dinner with Erich Gamma I decided it was time to take on TypeScript. And the overall team lead agreed. Provided I would give some good feedback on
my experiences. Well, how about this? ;) Although I have ascertained the combination actually works very well, I really found myself in unchartered territory and it took some time to get off the ground. I started my blog in 2007 because there were not enough complete samples in the .NET world – well, in the web world this apparently goes squared and with a few VERY notable exceptions people are quite terse when it comes to giving help. I even got told off on Stack Overflow for commenting on an answer containing typos and suggested some calls were synchronous while...(Read whole news on source site)

Home