.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Latest posts

Dec 31, 2015
Post comments count 0
Post likes count 0

New Year Updates to ASP.NET WebHooks Preview

Henrik F Nielsen

We just released a new update of ASP.NET WebHooks with a couple of interesting new features on the WebHooks sender side – that is, when you want to send WebHooks to others when some event happens – including: You can get the update from nuget.org by looking for the packages under Microsoft.AspNet.WebHooks.* with ‘preview’ filter enabled. If you haven’t heard about ASP.NET WebHooks then you may want to look at Introducing Microsoft ASP.NET WebHooks Preview. As this blog is about the sending side, the blog Sending WebHooks with ASP.NET WebHooks Preview also provides good background. Sending Events to Al...

Dec 29, 2015
Post comments count 0
Post likes count 0

The week in .NET – 12/29/2015

Bertrand Le Roy

We have a short post this week, as many people are on vacation, including me. Unsurprisingly, no .NET user group has events for this week, so we'll skip the section this time. As always, this weekly post couldn't exist without community contributions, and I'd like to thank all those who sent links and tips. You can participate too. Did you write a great blog post, or just read one? Do you want everyone to know about an amazing new contribution or a useful library? We'd love to hear from you, and feature your contributions on future posts: This week's post (and future posts) also contains news ...

Dec 29, 2015
Post comments count 0
Post likes count 0

Using ASP.Net Module to Debug Async Calls

shmao-msft@hotmail.com

I had a web application that generously used async/await keywords. The application encountered a slow response possibly due to a pending backend database call. I attached a debugger to the application. There was, however, nothing running in the process (see Figure 1), which was expected due to the calls being async and the waiting threads were no longer active. It is frustrating seeing no code running when debugging applications using asynchronous methods. What can I do? Figure 1 “Nothing” is running in the process. The 'Location' column is empty. Introducing TPLEventListenerModule And...

Dec 22, 2015
Post comments count 0
Post likes count 0

The week in .NET – 12/22/2015

Bertrand Le Roy

Last week, we had a great time with Miguel de Icaza on the first episode of our new live YouTube show On.NET. On future episodes of the show, we want to have guests who represent every facet of the .NET community. If there's somebody you'd like to see on the show, please let us know! We won't have a show this week or next week because of the holidays, but will resume on the first week of January. The Week in .NET post series continues uninterrupted. This week, we're adding a new gaming section to the post. .NET is increasingly present in the game development community, thanks in no small part to Unity. The ...

Dec 15, 2015
Post comments count 1
Post likes count 0

WCF Connected Service Visual Studio Extension Preview for ASP.NET 5 Projects

Zhenlan Wang - MSFT

Over the years, many Visual Studio developers have enjoyed the productivity that Add Service Reference Dialog Box provided when their projects need to access Windows Communication Foundation (WCF) services. WCF team is excited to introduce you to the support of Add Service Reference functionality for ASP.NET 5 projects via WCF Connected Service extension preview. This tool retrieves metadata from a WCF service in the current solution, locally or on a network and generates a .NET Core compatible source code file for a WCF client proxy that you can use to access the service. How to install the extension ...

Dec 15, 2015
Post comments count 0
Post likes count 0

The week in .NET – 12/15/2015

Bertrand Le Roy

We have some great content and news for you this week. I can't emphasize enough that this weekly post couldn't exist without community contributions, and I'd like to thank all those who sent links and tips. Keep them coming! In a way, this is an open source blog post series ;) The first piece of news I want to share is that the posts are being translated to Korean by Eunji Kim. The first post can be found here. If you'd like to do the same and translate the posts to your language, and add news from your local communities, you are more than welcome to do so. Please drop me a line, and I'll link to your translat...

Dec 9, 2015
Post comments count 0
Post likes count 0

Support Ending for the .NET Framework 4, 4.5 and 4.5.1

Stacey Haffner [MSFT]

Updated (2017): See .NET Framework Releases to learn about newer releases. As previously announced, starting January 12, 2016 Microsoft will no longer provide security updates, technical support or hotfixes for .NET 4, 4.5, and 4.5.1 frameworks. All other framework versions, including 3.5, 4.5.2, 4.6 and 4.6.1, will be supported for the duration of their established lifecycle. The decision to end support for these versions will allow us to invest more resources towards improvements of the .NET Framework. What Does This Mean? You should ensure that a supported version of the .NET Framework is installed in you...

Dec 8, 2015
Post comments count 0
Post likes count 0

The week in .NET – 12/08/2015

Bertrand Le Roy

Welcome to the second "The Week in .NET" post. It was great to see how well the first post was received. Thanks to all who sent messages of encouragement and contributions to this week's post. If you would like to participate too, if you wrote a great blog post, or just read one, if you want to show an amazing new contribution, if you've written a useful library, we'd love to hear from you, and feature it on future posts. You can send me an email to beleroy at Microsoft, or you can comment on this gist with new links, or you can simply leave us a pointer in the comment section below. Package of the week #0: Angl...

Dec 7, 2015
Post comments count 0
Post likes count 0

New feature to enable C# 6 / VB 14

Web Development Tools Microsoft

The model to leverage updated versions of C# or VB in web apps has changed over the past few years. In the past to leverage a new version of C# or VB you would get the runtime and build tools by installing the .NET Framework. With Visual Studio 2015 and the latest version of MSBuild this is no longer needed. You can decide which applications leverage C# 6/VB 14 by adding a NuGet package, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, to your web projects. When you add this NuGet package to your web applications then you can start using C# 6/VB 14 in both the code behind as well as Views.   In Visual Studio...