.NET Articles

News and insights on .NET technology, tools, and events.

.NET Core

Announcing the Windows Compatibility Pack for .NET Core

Porting existing code to .NET Core used to be quite hard because the available API set was very small. In .NET Core 2.0, we already made this much easier, thanks to .NET Standard 2.0. Today, we’re happy to announce that we made it even easier with the Windows Compatibility Pack, which provides access to an additional 20,000... Read more

UPDATE – Microservices and Docker containers: Architecture, Patterns and Development guidance (Updated for .NET Core 2.0)

Nov. 15th 2017 update Earlier this year, we published this eBook/guide and sample application offering guidance for architecting microservices and Docker containers based applications. We have recently published updates to the eBook (2nd edition) and sample application to bring them in line with the latest releases of .NET Core 2.0 and many other updates coming... Read more

UPDATE – Web Applications with ASP.NET Core Architecture and Patterns guidance (Updated for ASP.NET Core 2)

Nov. 15th 2017 update Earlier this year, we published an eBook/Guide and sample application offering guidance named Architecting Modern Web Applications with ASP.NET Core and Microsoft Azure. We have recently published updates to the eBook (2nd edition) and sample application to bring them in line with the latest releases of ASP.NET Core 2.0 and Entity Framework... Read more

Announcing F# support for .NET Core and .NET Standard projects in Visual Studio

We’re pleased to announce that Visual Studio 2017 15.5 Preview 4 now supports F# projects targeting .NET Core, .NET Standard, and .NET Framework through the .NET Core SDK. Some of you have noticed various levels of this support in the first, second, and third previews. We still had a few work items left to complete... Read more

Prism and WPF

Prism for WPF License Announcement

Prism for WPF and it associated projects now use the Apache 2.0 license. The latest source code can be found on the following CodePlex sites: http://prism.codeplex.com Prism.Composition, Prism.Interactivity Prism.UnityExtensions Prism.MefExtensions http://pnpmvvm.codeplex.com Prism.Mvvm http://pnppubsub.codeplex.com Prism.PubSubEvents Prism.Mvvm and Prism.PubSubEvents are portable class libraries that now target Windows Phone 8.1. Prism.Mvvm targets: .NET framework 4.5 Windows 8 Windows...

Prism for Universal Apps available on Codeplex

Prism for Universal Apps is now available on CodePlex. Prism can now be used to develop apps for Windows 8.1, Windows Phone 8.1, and Universal Apps that run on both. The AdventureWorks Shopper reference implementation now also runs on both the Windows 8.1 and Windows Phone 8.1. AdventureWorks Shopper uses Prism.StoreApps, Prism.Mvvm, and Prism.PubSubEvents. In...

Mike Taulty Prism for Windows Runtime Video

Mike Taulty gave a great walkthrough of how to create an application using Prism for Windows Runtime 8.1. Check it out.

Prism 5.0 for WPF and .NET 4.5 Just Released

We are pleased to announce that the Microsoft patterns & practices team just released the Prism Library for WPF and .NET 4.5. As I mentioned when we started the project. the major themes of the release are: Provide Portable Class Library version of Prism library (where reasonable) Address high priority items identified on the CodePlex...

Updated PDF for Prism for the Windows Runtime is now available

An updated PDF for Prism for the Windows Runtime is now available at https://aka.ms/prism-winrt-pdf. This is the version I promised in my Just released Prism for the Windows Runtime on Windows 8.1 blog post.

Azure App Service

IP Restriction for App Services on Linux

In order to restrict access to clients based on IP Address in App Services on Linux we need to add entries in the .htaccess file. For App Services on Windows click here. In App Services on Linux, the visitor/client IP is made available to the web app through “X-Client-IP” environment variable. The log format is...

AI Portal : Common Steps to debug performance issues

Here are common steps I use during troubleshooting performance issues in the Application Insights portal : Log into portal.azure.com Navigate to your Application Insight instance In the overview tab, click on the Search button as shown below Click on the Time range button and select a time range that is closer to the perf issue...

Calling Node.js from ASP.NET Core

Here are the steps to invoke Node.js from ASP.NET Core Website Add below line in the ConfiguraServices() in Startup.cs public void ConfigureServices(IServiceCollection services) {     services.AddMvc();    services.AddNodeServices(); } Add constructor in the Controller     public class HomeController : Controller     {         INodeServices nodeServices;         public HomeController(INodeServices nodeServices)         {             this.nodeServices =...

Investigating Socket exception for ASP.NET applications in Azure App Service

In Azure App Service, the number of outbound connections are restrictive based on the size of the VM. Below are the machine wide TCP limits (as documented here.) Limit Name Description Small (A1) Medium (A2) Large (A3) Connections Number of connections across entire VM 1920 3968 8064 When an application initiates an outbound connection to...

Things You Should Know: Web Apps and Linux

Azure App Service on Linux and Web App for Containers allow you to run your Web App on Linux and Apache. Azure App Service on Linux provides a collection of Microsoft-provided runtime stacks that you can use for your Web App. Web App for Containers makes it possible to use your own Docker container in Azure Container...

Bots and Cognitive Services

Using the Cognitive Recommendations API in Bots and Websites

Anyone that has ever shopped on Amazon or listened to music on Spotify will be familiar with the concept of recommendations where the user is offered recommendations of items based on browsing history, purchase history and other indicators of how the user has interacted with a product, artist etc. Recommendations often take one of these...

The Artificial Intelligence track at Future Decoded 2016

If you have been to or watched any event this year from Microsoft such as Build, Ignite or TechDays Online, you'll know that Artificial Intelligence (AI) is core to Microsoft's overall vision for how we'll help every person and organisation on the planet achieve more. Microsoft's vision include is about three bold ambitions: Reinventing Productivity...

The many features of Cognitive Services – Part 1 – Vision

Microsoft Cognitive Services is a set of 21 REST APIs that enable developers of any platform or language to add machine learning smarts to their applications. Whilst there are 21 APIs, many of the APIs have several distinct functions within them. For example, the Computer Vision API facilitates the following capabilities: Analyse an image: Gives...

Smart image re-sizing with Azure Functions and Cognitive Services

A few days ago I blogged about Generating thumbnails with the Cognitive Services Computer Vision API. The article talked about how we can use the Computer Vision API to do smart image resizing in C# and JavaScript. Today I'm going to progress this idea with Azure Functions. We'll explore how to automatically create thumbnail images...


Announcing TypeScript 2.6

TypeScript 2.6 is here in time for Halloween, but have no fear! We’ve got some great treats for you in this release. If you haven’t heard of TypeScript, it’s a language that builds on top of the most up-to-date versions of JavaScript by adding optional static types. These types don’t just help catch things like... Read more

Announcing TypeScript 2.6 RC

TypeScript 2.6 RC is now available! To get started with the latest stable version of TypeScript, you can grab it through NuGet, or use the following command with npm: npm install -g typescript@rc Visual Studio 2015 users (who have Update 3) can install TypeScript 2.6 RC from here, and Visual Studio 2017 users using version... Read more

TypeScript Turns 5

This past weekend marked 5 full years since we released TypeScript publicly! Just half a decade ago, we announced our project with the ambitious goal of “getting JavaScript development to scale.” At the time, it was clear to us that JavaScript’s usage was growing, but with that, so were many of the pain points as... Read more

Announcing TypeScript 2.5

Today we’re happy to bring you TypeScript 2.5! If you’ve read our RC announcement, we’ve got a few new items that we’re proud to highlight! If you’re not familiar with TypeScript, it’s a typed superset of JavaScript. More simply put, it’s just JavaScript with optional static types. Static types can make it easier to maintain your... Read more

Announcing TypeScript 2.5 RC

Announcing TypeScript 2.5 RC Today we’re happy to announce our RC of TypeScript 2.5. To get started with the latest stable version of TypeScript, you can grab it through NuGet, or use the following command with npm: npm install -g typescript@rc Visual Studio 2015 users (who have Update 3) can install TypeScript 2.5 RC from here, and Visual... Read more


Latest release – 1.3.1

On November 15th we published our latest release - 1.3.1. It is a patch release with a number of bug fixes and improvements that have been merged into master since 1.3.0. There were two main reasons for 1.3.1. 343 Industries needed a release with a couple of improvements to streaming and the EventHub stream provider...