Tuesday, November 25, 2014

Customizing ASP.NET Authentication with Identity

Customizing ASP.NET Authentication with Identity





  • Identity Overview
  • Local Users
  • OAuth and OpenID
  • Two-Factor Identification
  • Migrating Membership to Identity
  • Authentication/Authorization Best Practices

Assessing and Improving Your DevOps Capabilities

Assessing and Improving Your DevOps Capabilities

Open Source for DevOps Practices

Virtual Machine (VM), Windows Virtual PC & Browserstack | Modern.IE

DevOps: An IT Pro Guide - Introduction Course in DevOps for IT Professional | Microsoft Virtual Academy





Transform Your IT Skills in a DevOps World | TechEd North America 2014 | Channel 9

Transform Your IT Skills in a DevOps World | TechEd North America 2014 | Channel 9



how to deploy applications and infrastructure as code to Microsoft
Azure using PowerShell and resource group templates. Set up continuous
deployments to Microsoft Azure with Visual Studio Online, and detect and
fix problems earlier by monitoring your applications and infrastructure
using Application Insights and System Center Operations Manager (SCOM). 

Async Programming - Unit Testing Asynchronous Code: Three Solutions for Better Tests

Async Programming - Unit Testing Asynchronous Code: Three Solutions for Better Tests



Sven Grand presents ways to design and refactor code for better testability, including their advantages and limitations. 

Efficiency with Algorithms, Performance with Data Structures | C++ Con 2014 | Channel 9

Efficiency with Algorithms, Performance with Data Structures | C++ Con 2014 | Channel 9



Presentation Slides, PDFs, Source Code and other presenter materials are available at:https://github.com/CppCon/CppCon2014

Rapid Progress in Automatic Image Captioning - Machine Learning - Site Home - TechNet Blogs

Rapid Progress in Automatic Image Captioning - Machine Learning - Site Home - TechNet Blogs



. There are as many definitions of image understanding as there are
computer vision researchers, but if we can create a system that can
automatically generate descriptive captions of an image as well as a
human, then I think we’ve achieved the goal.



Given all of the advances in deep learning for object classification and detection, we thought it was time to build a credible system. 

IoT at sea: oceans of data aboard floating hotels | Internet of Things

IoT at sea: oceans of data aboard floating hotels | Internet of Things





The world of offshore oil rigs and drilling vessels may not be the first place you’d expect to find the Internet of Things
(IoT), but the controls, sensors and machinery found there generate a
vast amount of valuable data — a potential boon for businesses that know
how to harness and use this rich resource.




Floatel International
manages “floating hotels” for workers on offshore oil and drilling rigs
and floating production vessels, which are connected via gangway to
stationary or floating installations in all parts of the world, from the
North Sea to the South Pacific. I

Article Series: Web APIs: From Start to Finish

Article Series: Web APIs: From Start to Finish



This
series takes the reader on a journey from determining the business case for
APIs to a design methodology, meeting implementation challenges, and taking
the long view on maintaining public APIs on the Web over time. Along the
way there are interviews with influential individuals and even a suggested
reading list on APIs and related topics.

Introducing the Child Process Debugging Power Tool - Microsoft Application Lifecycle Management - Site Home - MSDN Blogs

Introducing the Child Process Debugging Power Tool - Microsoft Application Lifecycle Management - Site Home - MSDN Blogs



Download the tool from the Visual Studio Gallery



It requires a native debugger. This means if you are debugging .NET code, you must choose to enable mixed mode debugging
(so managed and native)



Once you install the power tool from the Visual Studio Gallery, a new
menu item will appear on the “Debug” menu under the “Other Debut
Targets” sub-menu.

How To Refactor for Dependency Injection, Part 7: Using the Managed Extensibility Framework -- Visual Studio Magazine

How To Refactor for Dependency Injection, Part 7: Using the Managed Extensibility Framework -- Visual Studio Magazine



The Microsoft MEF can be used for dependency injection, but it does it
much differently than most other containers. See how to get the most
from the unique features of MEF.

C# Tips eBook Complete

C# Tips eBook Complete



Download C# Tips today.

Monday, November 24, 2014

Enabling CORS in WCF - Cross-origin resource sharing

Enabling CORS in WCF - CodeProject



example of WCF as REST based solution and enabling CORS access, so that
this WCF service can be consumed from other domains without having
cross-domain issues.



We develop WCF service as REST service and consume that using javascript
and jquery calls. This is good to start with single page application or
purely javascript based application. You will never face any issue as
long as wcf service hosted domain remains same as the domain where you
have consumer service. The issue arises when, you started allowing other
companies to consume WCF service as REST service. For e.g. you have
some reporting service and exposed as REST service. You have a web
portal , where this is consumed. And since this purely REST based, you
want to allow 3rd party companies to consumer REST based service and
show same reporting in their website. NOTE: In this case, JS used to
consume WCF service will be sitting at client's domain, but WCF domain
will be your domain. And this different domain will cause cross domain
issue, i.e. WCF will throw error while invoking.

New Features in C# 6 - The C# Team - Site Home - MSDN Blogs

New Features in C# 6 - The C# Team - Site Home - MSDN Blogs



Some features are mostly syntactic sugar (expression-bodied members, string interpolation, nameof), some complete what felt a bit like unfinished work (getter-only auto-properties, await in catch and finally) or expand existing features in a natural way (using static, index initializers). Some expose expressiveness from IL that C# didn’t previously surface (exception filters, parameterless constructors in structs). Some are almost just “bug fixes” to the design, and you’ll hardly know that you’re making use of them (improved overload resolution, extension Add methods in collection initializers).

Your developers aren’t slow | Sprintly

Your developers aren’t slow | Sprintly



Our ticket data shows that across all of our users, cycle times are
very similar: 75% of all tickets in our system are started and completed
in about 175 hours.



In the Kanban world, this is typically called reaction time (the amount
of time from when the ticket is created to when it is prioritized).
There’s a lot of time wasted at this stage

Tuesday, November 18, 2014

Azure Storage Performance Checklist | Microsoft Azure Blog

Azure Storage Performance Checklist | Microsoft Azure Blog



Azure Storage Performance Checklist



Scenario #1: Queues: Configuration


Have you turned Nagle off to improve the performance of small requests?

Formatters in ASP.NET MVC 6 - StrathWeb

Formatters in ASP.NET MVC 6 - StrathWeb



key concepts in HTTP API development is the notion of content
negotiation (conneg). ASP.NET Web API provided first class support for
content negotiation through the use of MediaTypeFormatters.



MVC 6 ships with a bunch of formatters defined already.


Three input formatters:


  • JsonInputFormatter – based on JSON.NET
  • XmlSerializerInputFormatter – based on XmlSerializer (in the box, but not registered by default)
  • XmlDataContractSerializerInputFormatter – based on DataContractSerializer
Six output formatters:


  • JsonOutputFormatter – based on JSON.NET
  • XmlSerializerOutputFormatter – based on XmlSerializer (in the box, but not registered by default)
  • XmlDataContractSerializerOutputFormatter – based on DataContractSerializer
  • TextPlainFormatter – used to force a string into a text/plain content type
  • HttpNoContentOutputFormatter – used to force 204 status code for null action return
  • HttpNotAcceptableOutputFormatter – used to force 406
    status code if no appropriate formatter can be selected to handle the
    request (in the box, but not registered by default)
This is a slight change from Web API which itself defined four
formatters – JSON, XML and two formatter specialized in handling form
data.

Katana, ASP.NET 5, and bridging the gap - .NET Web Development and Tools Blog - Site Home - MSDN Blogs

Katana, ASP.NET 5, and bridging the gap - .NET Web Development and Tools Blog - Site Home - MSDN Blogs



roadmap 



renaming the packages and namespaces from Microsoft.Owin.* to
Microsoft.AspNet.* to conform to the rest of ASP.NET. Due to the rename
the package versions have been reset to v1.0.0.



ASP.NET 5 has built in support for the new OWIN pipeline builder model. See the extensions and samples. Middleware may use any OWIN helpers they wish internally, including the IOwinContext if that’s what they’re already using.

How Passion Saved Windows

How Passion Saved Windows



PowerShell was still young, there was no Chocolatey, and things like Puppet and Chef didn’t work on Windows yet. 



OneGet and getting it built into Windows.



Puppet is becoming the lingua franca of infrastructure configuration.