.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

Scale up AppServicePlan from Azure Function App

In this blog post we are going to demo how to programmatically change AppServicePlan properties. For example, we are going to change the pricing tier (Scale Up) from a console app and also from a Azure Function App. Here are main steps : Create a Service Principal account Use Resource Explorer to get details on...

Setting up Application Gateway with an App Service that uses Azure Active Directory Authentication and URL Authorization Rules

This blog post is an optional extension of my previous post about properly configuring an Azure App Service using authentication behind an Azure Application Gateway. In the previous post, we had the whole App Service covered by Azure App Service Authentication. For this post, I will show you how to use a Preview feature to...

Setting up Application Gateway with an App Service that uses Azure Active Directory Authentication

This blog post is going to guide you through setting up an Azure Application Gateway in front of an Azure App Service that uses Azure Active Directory authentication and a custom domain. The default steps for setting up an Azure Application Gateway in front of an App Service with App Service Authentication will result in...

IP Restriction for App Service on Linux

In order to restrict access to clients based on IP Address in App Service on Linux we need to add entries in the .htaccess file. For App Service on Windows click here. In App Service 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...

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...

TypeScript

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

Orleans

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...