.NET Articles

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

.NET Core

Announcing .NET Standard 2.0

The .NET Standard 2.0 specification is now complete. It is supported in .NET Core 2.0, in the .NET Framework 4.6.1 and later versions, and in Visual Studio 15.3. You can start using .NET Standard 2.0 today. While this post demos .NET Standard in C#, it’s also supported in Visual Basic and F#. For more details, take a look at the... Read more

Announcing Entity Framework Core 2.0

Today we are releasing the final version of Entity Framework Core 2.0, alongside .NET Core 2.0 and ASP.NET Core 2.0. Entity Framework (EF) Core is the lightweight, extensible, and cross-platform version of Entity Framework, the popular Object/Relational Mapping (O/RM) framework for .NET. Getting the bits Prerequisites In order to develop .NET Core 2.0 applications (including... Read more

Web Applications with ASP.NET Core Architecture and Patterns guidance

As part of the series of posts announced at this initial blog post (.NET Application Architecture Guidance) that explores each of the architecture areas currently covered by our team, this current blog post focuses on “Web Applications with ASP.NET Core Architecture and Patterns guidance“. Just as a reminder, the four introductory blog posts of this series are... Read more

Entity Framework

Announcing Entity Framework Core 2.0

Today we are releasing the final version of Entity Framework Core 2.0, alongside .NET Core 2.0 and ASP.NET Core 2.0. Entity Framework (EF) Core is the lightweight, extensible, and cross-platform version of Entity Framework, the popular Object/Relational Mapping (O/RM) framework for .NET. Getting the bits Prerequisites In order to develop .NET Core 2.0 applications (including... 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

ASP.NET and ASP.NET Core Application Restarts on Azure App Service.

Your ASP.NET \ASP.NET Core application on Azure App Service will restart for many of the same reasons that it would do on an on-premises IIS Server or VM hosted in the cloud. Here are some of the reasons that this will happen. The IIS worker process is recycled. The worker process terminated unexpectedly. The App...

Networking Related Commands for Azure App Services

The purpose of this blog is to give a general overview of the available commands to troubleshoot network connectivity issues with web apps, specifically when connecting the web apps to VNETs either in an App Service Environment (ASE) or a standard web app with a Point-to-Site VPN connection. These commands can be used via the...

Add Routes to an Azure Web App Integrated with a VNET

The default routes assigned to the Point-to-Site connection are inherited from the VNET’s routes. Additional routes may be needed to correctly route requests, bound for the VNET or on-premises, down the Point-to-Site tunnel. Below are three options to add routes the web app’s Point-to-Site configuration. The method of "Using the Azure Portal" is the recommended...

Creating a Seal for an Azure Web App Certificate Purchased through the Azure Portal

If a certificate was purchased through the Azure Portal for your Azure web app you may require a GoDaddy Seal on your website. The seal can be accessed by running the following PowerShell commands. To run the PowerShell Commands make sure to have the Azure PowerShell module installed found under the Command-line tools section. I’d...

Capturing dumps on multiple instances automatically using procdumphelper

Capturing dumps for intermittent issues happening only on certain instances could be very challenging in Azure App Service. Depending upon the scenario, you can capture dumps using Auto-heal by defining the triggers in the root web.config file of your web site and configure the actions to invoke procdump when these triggers are hit. With this approach, If you have multiple instances of...

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

Announcing TypeScript 2.4

Today we’re excited to announce the release of TypeScript 2.4! If you haven’t yet heard of TypeScript, it’s a superset of JavaScript that brings static types and powerful tooling to JavaScript. These static types are entirely optional and get erased away – you can gradually introduce them to your existing JavaScript code, and get around... Read more

Announcing TypeScript 2.4 RC

Today we’re releasing our RC of TypeScript 2.4. 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 from here, and Visual Studio 2017 users using Update... Read more

New TypeScript Quick Starts and Updates from Build 2017

Last week Microsoft hosted its annual Build conference close to home in Seattle. Build is the single largest developer-focused conference that the company hosts, and draws a huge crowd from around the world! The TypeScript team had the pleasure of meeting some friendly faces of our community, along with plenty of new people who were... Read more

Announcing TypeScript 2.3

Today we’re excited to bring you our latest release with TypeScript 2.3! For those who aren’t familiar, TypeScript is a superset of JavaScript that brings users optional static types and solid tooling. Using TypeScript can help avoid painful bugs people commonly run into when writing JavaScript by type-checking your code. TypeScript can actually report issues... 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...