Friday, April 18, 2014

Exciting Times for .NET - Beth Massi - Sharing the goodness - Site Home - MSDN Blogs

Exciting Times for .NET - Beth Massi - Sharing the goodness - Site Home - MSDN Blogs





Microsoft tends to enterprise Windows users -- but kicks consumers to the curb | Microsoft windows - InfoWorld

Microsoft tends to enterprise Windows users -- but kicks consumers to the curb | Microsoft windows - InfoWorld



we've seen reports about Microsoft reducing the price of XP support for its largest customers and been told that after eight days of no-shows Windows 8.1 Update is going back out to WSUS corporate update servers.

Building your Dream DevOps Dashboard with the new Azure Preview Portal - Brian Keller - Site Home - MSDN Blogs

Building your Dream DevOps Dashboard with the new Azure Preview Portal - Brian Keller - Site Home - MSDN Blogs



When developing for the cloud today, we are oftentimes managing individual resources
(databases, storage, cloud services, virtual machines, and so on). It’s
left up to us as cloud developers and IT professionals to piece these
resources together in some meaningful way and manage them over time.
Have you ever provisioned a cloud resource and later forgot what it’s
being used for? Is this resource important, or was it just for testing?
Which application was it for?



The new portal brings together all of the cloud resources, team members,
and lifecycle stages of your application and provides you with a
centralized place to plan, develop, test, provision, deploy, scale, and
monitor those applications. This approach can help teams embrace a
DevOps culture by bringing both development and operations capabilities
and perspectives together in a meaningful way.

Visual Studio Installer Projects Extension - The Visual Studio Blog - Site Home - MSDN Blogs

Visual Studio Installer Projects Extension - The Visual Studio Blog - Site Home - MSDN Blogs



For those of you looking for an improved deployment experience in Visual
Studio we are continuing our partnership with Flexera to provide InstallShield Limited Edition
(ISLE) as our in-box solution. ISLE is a great solution for those
customers looking for added capabilities not found in Visual Studio
Installer Projects, such as TFS and MSBuild integration, support for
creating new web sites and ISO 19770-2 Tagging support, etc.



To use this extension you can either open the Extensions and Updates
dialog, select the online node and search for “Visual Studio Installer
Projects Extension” or you can click here to go directly to the Visual Studio Gallery page that hosts the control.

Racing to writeness to wrongness leads | 6guts

Racing to writeness to wrongness leads | 6guts



we most certainly should take the time to offer newbie-friendly
concurrent, parallel, and asynchronous programming experiences in Perl
6. However, I feel that needs to be done by guiding folks towards safe,
teachable, understandable patterns of a CSP (Communicating Sequential
Processes) nature. 

Tuesday, April 15, 2014

Input Validations: Introducing Data Annotations Extensions - Scott's Blog

Introducing Data Annotations Extensions - Scott's Blog



How to: Customize Data Field Validation in the Data Model Using Custom Attributes



also look in to Code Contracts.



Frederik Gheysels' DevLog: Locking system with aspect oriented programming



using System;
using System.Globalization;
using System.ComponentModel.DataAnnotations;


[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
sealed public class PhoneMaskAttribute : ValidationAttribute
{
    // Internal field to hold the mask value.
    readonly string _mask;


Top 3 Features I’m Excited About in SQL Server 2014 - SQL Server Team Blog - Site Home - TechNet Blogs

Top 3 Features I’m Excited About in SQL Server 2014 - SQL Server Team Blog - Site Home - TechNet Blogs



mark certain transactions as delayed durable,
meaning control returns to the client before the log record is written
to disk, as opposed to fully durable, which hardens the transaction log
to disk before returning control to the client. Also called Lazy Commit



read more about the new estimator in Books Online: What’s New (Database Engine) and in the white paper “Testing cardinality estimation models in SQL Server.”



SQL Server 2012 introduced nonclustered columnstore indexes, many of us have been looking forward to clustered columnstore indexes

Friday, April 11, 2014

An Overview of Project Katana : The Official Microsoft ASP.NET Site

An Overview of Project Katana : The Official Microsoft ASP.NET Site



The ASP.NET Framework has been around for over ten years, and the platform has enabled
the development of countless Web sites and services. As Web application development
strategies have evolved, the framework has been able to evolve in step with technologies
like ASP.NET MVC and ASP.NET Web API. As Web application development takes its next
evolutionary step into the world of cloud computing, project
Katana provides the
underlying set of components to ASP.NET applications, enabling them to be flexible,
portable, lightweight, and provide better performance – put another way, project
Katana cloud optimizes your ASP.NET applications. 

Thursday, April 10, 2014

Build 2014: Empowering Developers in a Cloud-First, Mobile-First World - Steve "Guggs" Guggenheimer's blog - Site Home - MSDN Blogs

Build 2014: Empowering Developers in a Cloud-First, Mobile-First World - Steve "Guggs" Guggenheimer's blog - Site Home - MSDN Blogs



right now we see developers focusing on three major approaches to software development – native development using technologies like C, C++, DX, and going down to the metal; managed development using technologies like .NET, WPF, embedding, etc.; and web development using technologies like HTML5, JavaScript, Cordova and so on.



Johnshew's blog

The JIT finally proposed. JIT and SIMD are getting married. - .NET Blog - Site Home - MSDN Blogs

The JIT finally proposed. JIT and SIMD are getting married. - .NET Blog - Site Home - MSDN Blogs



Processor speed no longer follows Moore’s law.
So in order to optimize the performance of your applications, it’s
increasingly important to embrace parallelization. Or, as Herb Sutter
phrased it,
the free lunch is over.


You may think that task-based programming or offloading work to
threads is already the answer. While multi-threading is certainly a
critical part, it’s important to realize that it’s still important to
optimize the code that runs on each core. SIMD
is a technology that employs data parallelization at the CPU level.
Multi-threading and SIMD complement each other: multi-threading allows
parallelizing work over multiple cores while SIMD allows parallelizing work within a single core.

Adding Two-Factor authentication to an ASP.NET application - Scott Hanselman

Adding Two-Factor authentication to an ASP.NET application - Scott Hanselman



watch a video of Pranav Rastogi and I upgrading the ASP.NET Membership systems on an older ASP.NET application to the latest bits. There's also migration docs in detail:

Deep Dives

Deep Dives



A keynote presentation from Chris Sims (coauthor of “The Elements of Scrum”)
will begin the conference talking about the use of games within
coaching activities at Agile Learning Labs. Chris will later present a
Deep-Dive workshop detailing the techniques used at Agile Learning Labs
to develop agile games so as to best enable attendees to develop and
facilitate their own games to help teams improve. More information about
Chris is online at: http://www.agilelearninglabs.com/people/chris-sims/



Dr. Greenaway is found at: http://www.reviewing.co.uk/



“Doc” was recognized in November 2013 as being the Agile Coach Camp’s “Facilitator of the Year”  - more information is available at: http://blog.agilecoachcamp.us/?page_id=10



The second day of the 2014 Agile Games conference will begin with a presentation of “Common Ground for Action
open to all conference attendees.  “Common Ground for Action” was
developed under the guidance of Luke Hohmann (author of “Innovation
Games: Creating Breakthrough Products Through Collaborative Play”)



http://www.mobprogramming.org



http://llewellynfalco.blogspot.com/



http://derekwwade.net/blog/

Determining if a Table or Stored Procedure Should Be Ported to In-Memory OLTP

Determining if a Table or Stored Procedure Should Be Ported to In-Memory OLTP

SQL Server 2014's Analysis, Migrate, and Report Tool

SQL Server 2014 AMR Tool | SQL Server 2014 content from SQL Server Pro



Determine which tables and stored procedures would benefit from In-Memory OLTP





  • Transaction performance collector (which
    collects data about existing tables and stored procedures in order to
    analyze workloads) and transaction performance analysis reports (which
    gives recommendations about the tables and stored procedures to migrate
    to In-Memory OLTP based on the collected data)
  • Memory Optimization Advisor (which guides you through the process of migrating a table to a memory-optimized table)
  • Native Compilation Advisor (which helps you identify T-SQL elements that need to be changed before migrating a stored procedure to a natively compiled stored procedure)


  • Stored Procedure Usage Analysis collection
    set (which captures information about stored procedures for a future
    migration to natively compiled stored procedures)
  • Table Usage Analysis collection set (which captures information about disk-based tables for a future migration to memory optimized tables)


Wednesday, April 09, 2014

Windows Azure Active Directory Graph

Windows Azure Active Directory Graph



Windows Azure AD Graph provides programmatic access to Windows Azure
Active Directory (AD) through REST API endpoints. Using Windows Azure AD
Graph developers can execute create, read, update, and delete (CRUD)
operations on Windows Azure AD objects such as users and groups. In the
on-premise world, you would usually programmatically access Windows
Server Active Directory by using ADSI or ADO.NET libraries. In the
cloud, you programmatically access Windows Azure AD using Windows Azure
AD Graph.



Windows Azure AD Graph REST API Reference.

Windows Azure AD Graph Authentication.

Windows Azure AD Graph and Role-Based Access Control.



The Graph federates with Windows Azure AD, which serves as a Security Token Service (STS) for client requests. 



Multi-Tenant Applications That Require Windows Azure AD Access.
In this scenario, you are building a multi-tenant application that
requires access to a tenant’s directory data (very similar to an
on-premises application that use LDAP to query the local directory).
Directory access for reading or writing data is done by calling the
Graph API. Typical use cases include people pickers, validating a
user’s security group membership, updating group membership,
provisioning new users and groups, resetting users’ passwords, and
validating a tenant or users’ licensing information.





Nuget package from https://www.nuget.org/packages/Microsoft.Azure.ActiveDirectory.GraphClient/
Download the complete MVC Sample Application for the Graph API, that shows how to use this helper class
http://code.msdn.microsoft.com/Write-Sample-App-for-79e55502

Offbeat Adventures - Windows Azure Active Directory: Querying the Graph API for group memberships

Offbeat Adventures - Windows Azure Active Directory: Querying the Graph API for group memberships



The reason we’re interested in the Graph API to begin with is that WAAD
Authentication provides us with the user’s identity, but doesn’t tell us
anything else about them. If we want more details, such as group
memberships, we need to do some extra work.



Go to the References node in your project, right-click and select
“Manage NuGet Packages…”. Select “Online” from the left, click on the
search box and type in
“Microsoft.WindowsAzure.ActiveDirectory.Authentication”



The library in question is the Windows Azure Authentication Library, or AAL



the article Integrating Multi-Tenant Cloud Applications with Windows Azure Active Directory




Using the Graph API to Query Windows Azure AD

Using the Graph API to Query Windows Azure AD



This sample application is intended for .NET developers who want to add
to existing applications and build new applications for Windows Azure
Active Directory (Windows Azure AD). This walkthrough builds on the Adding Sign-On to Your Web Application Using Windows Azure AD,
which produced a sample app that demonstrates how to provide a web
single sign-on user experience for Windows Azure AD customers. This
walkthrough shows how to use the Windows Azure AD Graph API to read
directory data. The Graph API is a RESTful API that allows applications
to access customer Windows Azure directory data.

'Heartbleed' bug in web technology seen as major threat to user data | Reuters

The Heartbleed Bug is bad. The finding of the so-called "Heartbleed" vulnerability, by
researchers with Google Inc and a small security firm
Codenomicon, prompted the U.S. government's Department of
Homeland Security to advise businesses on Tuesday to review
their servers to see if they were using vulnerable versions a
type of software known as OpenSSL.




'Heartbleed' bug in web technology seen as major threat to user data | Reuters



There’s a Heartbleed Bug website that has the technical details.



Dan Goodin over at Ars Technica has a good piece on the bug as well, with details about how the bug worked on Yahoo’s servers

Monday, April 07, 2014

Vagrant: Development environments made easy

Vagrant



Create and configure lightweight, reproducible, and portable development environments.



Download and install Vagrant within minutes on Mac OS X, Windows, or
a popular distribution of Linux. No complicated setup process, just a
simple to use OS-standard installer.

Visual Studio extensions for web developers

Visual Studio extensions for web developers



Download: SideWaffle in the VS Gallery

Download: File Nesting in the VS Gallery

Download: WebJobsVS in the VS Gallery

Download: Routing Assistant in the VS Gallery