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

Large scale distributed consensus approaches: Calculating a way out

AddThis Social Bookmark Button
The question cross my desk, and it was interesting enough that I felt it deserves a post. The underlying scenario is this. We have distributed consensus protocols that are built to make sure that we can properly arrive at a decision and have the entire cluster follow it, regardless of failure. Those are things like Paxos or Raft. The problem is that those protocols are all aimed at relatively small number of nodes. Typically 3 – 5. What happens if we need to manage a large number of machines? Let us assume that we have a cluster of 99
machines. What would happen under this scenario? Well, all consensus algorithm works on top of the notion of a quorum. That at least (N/2+1) machines have the same data. For a 3 nodes cluster, that means that any decision that is on 2 machines is committed, and for a 5 nodes cluster, it means that any decision that is on 3 machines is committed. What about 99 nodes? Well, a decision would have to be on 50 machines to be committed. That means making 196 requests (98 x 2) (once for the command, then for the confirmation) for each...(Read whole news on source site)

ASP.NET 5: Using shared sources

AddThis Social Bookmark Button
ASP.NET 5 supports code sharing between projects. It’s not about referencing libraries or something related to portable libraries – it’s different. Libraries can share their source that is compiled to referencing project output. In this posting I will show you how this new source sharing system works. The post ASP.NET 5: Using shared sources appeared first on Gunnar Peipman - Programming Blog.

Desired State Configuration - Elements of the configuration

AddThis Social Bookmark Button
DSC is a feature built into the Windows Operating System. It’s based on the standards like CIMS and WS-Management remote management offered by the operating system. With DSC you can move to a way of configuration management where you can create a script that defines how the state of the server should be instead of defining how to make the server in the desired state. That means, DSC is more of a declarative syntax than an imperative one. This makes DSC scripts/ configurations easy to understand and maintain by the operations.
A sample DSC configuration for configuring the web applications
in a SharePoint farm looks like:
Configuration SPSiteCollectionConfig {
    param($nodes)

    Import-DscResource -ModuleName xDSC_SPSiteCollection
    Import-DscResource -ModuleName xDSC_SPWebApplication
    Node ($nodes) {

        xSPWebApplication WebApplication{
            WebApplication = "WebApplication MYWebApp"
            Ensure = "On"
        }
       

        SPSiteCollection SiteCollection {           
            SiteUrl = 'http://MYWEBAPP.com/newSite'
            SiteName = 'New Site'
            SiteTemplate = 'BLANKINTERNET#2'
            ContentDatabaseName = 'CONTENT_NEWSite'
            Language = '1033'
            Ensure = 'Present'
            DependsOn = "[xSPWebApplication]WebApplication" 

        }
    }
}
SPSiteCollectionConfig

The  Configuration script start with a Configuration block which is used to give the configuration a meaningful name. The configuration keyword is the core component of DSC that defines the desired configuration of a target system. Following the Configuration keyword, the Node keyword is used to specify the target system/ systems on which the configuration should be applied by the LCM. You can also parameterize the values that are passed to the...(Read whole news on source site)

All Windows Phone 8 Lumia devices to receive Windows 10

AddThis Social Bookmark Button
If you are using Windows Phone 8 Lumia devices and wondering whether you will get the next big update of the OS or not, here’s the good news. Microsoft confirms to few consumers over Twitter about availability of Windows 10 in future updates. That’s definitely a good news for the consumers using Windows Phone 8 Lumia devices and everyone will get a big relief.   While Microsoft is working on building Windows 10 and pushing multiple releases to the consumers as part of Windows Insider program, the official twitter handle @lumia recently confirms about Windows 10 for phone devices too.
Earlier Microsoft mentioned about one OS across all it’s devices, there was news about new phone devices with Windows 10 but what about existing WP8.x users? In the past we already noticed that there was no upgrade path set to Windows Phone 7.x users to get the bits of Windows Phone 8, thus currently running WP8.x users were wondering about future updates with Windows 10 in their devices. So, this cloud has been removed by @lumia twitter handle. According to them, all Windows Phone 8.x Lumia devices will get Windows 10 in their phone devices in future. Here you can find...(Read whole news on source site)

Introduction to the AllJoyn Framework

AddThis Social Bookmark Button
training [wiki]:



The AllJoyn™ open source project enables devices in close physical proximity to locate, negotiate connections, and interact with each other using peer to peer connections over a variety of transports. I



The AllJoyn open source project provides an object-oriented approach, making peer to peer discovery and connection easy and avoiding the need for developers to deal with lower level network protocols and hardware.



a small sampling of the sort of devices that might fit into such a definition could be:


Light switchesThermostatsAir conditionersVent dampersSmoke detectorsMotion detectorsHumidity detectorsMicrophonesSpeakersEarphonesDoorsDoorbellsOvensRefrigeratorsToasters

As
the AllJoyn ecosystem expands, one can imagine any number of applications. For example:
Create a playlist consisting of music, and stream the songs to an AllJoyn-enabled car stereo system, or store them on a home stereo (subject to digital rights management)Sync recent photos or other media to an AllJoyn-enabled digital picture frame or television upon returning home from an event or tripControl home appliances such as televisions, DVRs, or game consolesInteract and share content with laptops and desktop computers in the areaEngage in project collaboration between colleagues and students in enterprise and educational settingsProvide proximity-based services like distributing coupons or vcards...(Read whole news on source site)

The C# and Visual Basic Code-Focused IDE Experience - The Visual Studio Blog - Site Home - MSDN Blogs

AddThis Social Bookmark Button
The C# and Visual Basic Code-Focused IDE Experience - The Visual Studio Blog - Site Home - MSDN Blogs:



few key areas:
Refreshed Core IDE Experiences – your existing coding experience just got better
Code Fixes and Refactorings – improve your code with live code analysis and refactorings
Inline Rename – increase your productivity with a brand new Rename experience

Feedback-Centric Development - The One Hacker Way

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/theArchitectsNapkin/archive/2014/11/16/feedback-centric-development---the-one-hacker-way.aspxErik Meijer got something right in his talk "One Hacker Way". There's a lot of bashing and ranting... but at the core there also is a precious diamond to be found. It's his admonition to be driven by feedback. As software developer we should focus on production code - and let ourselves be guided by feedback. How true! How simple! But contrary to the audience's belief it's no easy feat. He got much applause when he suggested, attendees who had not committed code recently should leave. People liked him extolling the virtues of "hacking",
of focusing on code - instead of on fuzzy stuff like a process or even talking or thinking. No, it's the code, stupid! Unfortunately they did not get the implications of this, I guess. And Erik Meijer did not tell them what that really, really means. So I'll try to describe how I see what truly and honestly focusing on code and feedback means. Purpose I'm sorry, but before I get to code, we need to lay a foundation. We need to be very clear about why we should produce code in the first place. Code is a tool for...(Read whole news on source site)

Azure Websites Authentication / Authorization (Preview Release) | Microsoft Azure Blog

AddThis Social Bookmark Button
Azure Websites Authentication / Authorization (Preview Release) | Microsoft Azure Blog:



more details on Websites Authentication / Authorization in this blog post from Byron Tardif.



Websites Authentication / Authorization only supports interactive login in this release, we are working on enabling headless authentication in a future release.



this solution is stack agnostic so it works for all the different stacks supported by Azure Websites today, regardless of your site being coded in .NET, PHP, Node, Java or Python and since this solution is provided as part of the platform
it will scale with your application....(Read whole news on source site)

Home