Testing ASP.NET Core MVC Controllers: Getting Started

Jason Roberts. Don’t Code Tired. 2017-06-23
When writing ASP.NET Core MVC web applications, you may want to test that controller actions behave in the expected way, for example that the action returns the correct result type (e.g. a ViewResult) or that the action behaves as expected when the model state is invalid.

[Testing ASP.NET Core MVC Controllers: Getting Started]


JavaScript IIFE (Immediately Invokable Function Expressions in JavaScript) Design Pattern

Mayank Gupta. CodeProject. 2017-06-15.
This post gives a small introduction about Singleton Pattern in JavaScript.
The post offer you more topics on Object Oriented JavaScript Design.
IIFE (Immediately Invokable Function Expression) is a important concept in JavaScript. it is a commonly used Design Pattern which is used to wrap set of variables and functions which cannot be accessed outside the enclosed scope.
These are Anonymous Function that is wrapped inside a set of paranthesis and is called immediately.
The common advantage of IIFE is that any “Function or Variable” defined inside IIFE, cannot be accessed outside the IIFE block, thus preventing global scope from getting polluted. Also helps us manage memory in an efficient manner.
In order to understand the concept of IIFE, we need to understand the difference between the following:
Function Definition
Function Expression

[JavaScript IIFE (Immediately Invokable Function Expressions in JavaScript) Design Pattern]

Cognitive Services – Enable Natural Language Interaction with LUIS

Ashish Sahu. MSDN Magazine. January 2017
The technological landscape has changed quite radically in recent years. Computing capabilities moved from PCs to smartphones and wearables, while adding even more power to these devices. This advancement in technology has also changed the way we interact with our devices. Physical keyboards have been replaced with software implementations and the input methods changed from stylus to a mere tap of the fingers. It was only a matter of time before we started looking for even more effortless ways to interact with our computing devices.
Speech is how we interact with each other and now we’re at the verge of using speech to also interact with all our smart devices. The recent launch of Bot Framework and Cognitive Services at the Build 2016 conference is a step toward that vision. Among these amazing cognitive services, Language Understanding Intelligence Service (LUIS) provides you with the capabilities to understand the natural language queries and return actionable information that you can wire up in your code to improve the UX.
In this article, I’ll explore the capabilities of LUIS and look at different ways you can use it in your apps and services.

[Cognitive Services – Enable Natural Language Interaction with LUIS]

Cognitive Services – Seeing the World with Xamarin and Microsoft Computer Vision APIs

Alessandro Del Sole. MSDN Magazine. November 2016
In my last article, I provided a brief introduction to Microsoft Cognitive Services, describing the available RESTful APIs, and showcasing the Face and Emotion APIs in a cross-platform app written with Xamarin.Forms and C# (msdn.microsoft.com/magazine/mt742868). In this article, I’ll discuss another important set of APIs, known as Computer Vision. You’ll want to read the previous article before you go on with this one because I’m going to assume you’re familiar with some concepts about Cognitive Services I explained there, and because I’ll reuse some NuGet packages and code snippets from the previous sample app. With that said, let’s start by describing the Microsoft Computer Vision APIs.

[Cognitive Services – Seeing the World with Xamarin and Microsoft Computer Vision APIs]

Cognitive Services: reconocimiento de caras y emociones en Xamarin.Forms con Microsoft Cognitive Services

Alessandro Del Sole. MSDN Magazine.Octubre de 2016
En el congreso Build 2016, Microsoft anunció una primera versión preliminar de Cognitive Services  (microsoft.com/cognitive-services), un completo conjunto de API RESTful multiplataforma que se pueden usar para crear la nueva generación de aplicaciones basadas en la interacción natural del usuario para cualquier plataforma y en cualquier dispositivo. Cognitive Services, también conocido como “Project Oxford”, se basa en el aprendizaje automático y encaja perfectamente en la filosofía de conversación como una plataforma que Microsoft pretende introducir en el ecosistema de las aplicaciones. A mayor escala, las API de Cognitive Services están disponibles a través de los servicios RESTful y actualmente ofrecen las siguientes categorías de API:
Vista: Los servicios de Vista ofrecen API que permiten analizar imágenes y vídeos para identificar caras y emociones, así como para detectar información práctica. Esta categoría incluye las API Computer Vision API, Face API, Emotion API y Video API.
Voz: Los servicios de Voz ofrecen API que facilitan la implementación de texto a voz, el reconocimiento de voz natural e incluso el reconocimiento de la persona que habla con el servicio de reconocimiento del orador. Se incluyen las API Bing Speech API, Custom Recognition Intelligent Service y Speaker Recognition API.
Lenguaje: Los servicios de Lenguaje están orientados a la comprensión del lenguaje natural, lo que implica la detección y corrección de errores ortográficos, la comprensión de comandos de voz y el análisis de texto complejo, incluidos sentimientos y expresiones clave. Se incluyen las API Bing Spell Check API, Language Understanding Intelligent Service, Linguistic Analysis API, Análisis de texto y Web Language Model API.
Información: Los servicios de Información ayudan a las aplicaciones a ampliar el conocimiento de los clientes mediante recomendaciones de productos personalizadas, eventos, ubicaciones e informes y documentos académicos. Se incluyen las API Academic Knowledge API, Entity Linking Intelligence Service API, Knowledge Exploration Service API y Recommendations API.
Search: Los servicios de Búsqueda se basan en Bing y permiten implementar herramientas de búsqueda eficaces en las aplicaciones. Los nombres de los servicios incluidos son realmente explícitos: Bing Autosuggest API, Bing Image Search API, Bing News Search API, Bing Video Search API y Bing Web Search API.

[Cognitive Services: reconocimiento de caras y emociones en Xamarin.Forms con Microsoft Cognitive Services]

Restricted Boltzmann Machines Using C#

James McCaffrey. MSDN Magazine. June 2017
A restricted Boltzmann machine (RBM) is a fascinating software component that has some similarities to a basic neural network. An RBM has two sets of nodes—visible and hidden. Each set of nodes can act as either inputs or outputs relative to the other set. Each node has a value of zero or one and these values are calculated using probability rather than deterministically.
Each visible-layer node is conceptually connected to each hidden-­layer node with a numeric constant called a weight, typically a value between -10.0 and +10.0. Each node has an associated numeric constant called a bias. The best way to start to understand what an RBM is is by way of a diagram.

[Restricted Boltzmann Machines Using C#]