.NET Blog

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

Latest posts

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

Introducing the Visual Studio 2015 Extension for ASP.NET Project Templates

pranav rastogi

In Visual Studio 2013, there were a handful of templates that supported developing ASP.NET projects with various frameworks and data structures.  Some of those project templates from the Visual Studio 2012 era have been removed from the Visual Studio 2015 install and added to the Visual Studio Extension gallery as the ASP.NET Project Templates extension for Visual Studio 2015. This was primarily done for the following reasons: What templates are included? What about other templates from VS 2013? All the other templates from VS 2013 are still part of VS 2015. You can create ASP....

Feb 6, 2015
Post comments count 0
Post likes count 0

Debugging ASP.NET 5 framework code using Visual Studio 2015

Victor Hurdugaci

In the previous versions of ASP.NET it was possible to debug certain parts of the framework stack but setting up the development environment and compiling all the binaries was not the easiest task. ASP.NET 5 changes that and makes debugging framework code as easy as debugging your own application. This article shows how to debug into the ASP.NET 5 framework code using Visual Studio 2015. Before getting into the How-To part, there is one limitation that you have to understand: you must not mix different versions of the runtime and/or packages. Trying to debug the latest MVC packages using an old runtime might be ...

Feb 3, 2015
Post comments count 0
Post likes count 0

CoreCLR is now Open Source

.NET Team

We’re excited to announce that CoreCLR is now open source on GitHub. CoreCLR is the .NET execution engine in .NET Core, performing functions such as garbage collection and compilation to machine code. .NET Core is a modular implementation of .NET that can be used as the base stack for a wide variety of scenarios, today scaling from console utilities to web apps in the cloud. To learn how .NET Core differs from the .NET Framework, take a look at the Introducing .NET Core blog post. You can check out the CoreCLR sources, fork, clone and build. We have released the complete and up-to-date CoreCLR implementation, ...

Feb 3, 2015
Post comments count 0
Post likes count 0

Package Signing

Karan Nandwani

Package signing has been a major discussion point for a long time in the NuGet ecosystem. However, the NuGet Team didn't want to rush into an implementation and end up creating something that restricted the ecosystem unnecessarily. Well, we now think we are ready to begin a process to introduce Package Signing, and we want to share our plans with the community so you can see what we're thinking and give us feedback. Goals Up until now, the transfer of packages was secured from NuGet.org down to your machine, and from publisher's machines up to NuGet.org using TLS/SSL. This has served us fairly well so far, but ...

Feb 2, 2015
Post comments count 0
Post likes count 2

New Task APIs in .NET 4.6

Stephen Toub - MSFT

There are several nice API-level enhancements to the Task Parallel Library in .NET 4.6, which you can grab a preview of as part of the Visual Studio 2015 CTP. Task.From* .NET 4.5 had a Task.FromResult method.  This method makes it quick and easy to manufacture a new Task for a known result value, and is particularly useful when implementing a Task-returning method to complete synchronously.  However, Task didn't expose corresponding methods for creating canceled or faulted tasks; instead, developers needed to manually create such tasks, such as by using a TaskCompletionSource, e.g. public static Task<TResult...

Jan 28, 2015
Post comments count 0
Post likes count 0

.NET Core Open Source Update

Immo Landwerth

Wow. Just wow. I don’t know of a better way to describe my feelings right now. Open source is probably one of the most energizing projects our team has been working on. It’s been a blast so far and the stream of enthusiastic contributors and interactions doesn’t seem to stop any time soon. In this post, I want to give you a long overdue update on where we are, interesting changes we made, and give an overview of what’s coming next. Read to the end, this is a post you don’t want to miss. A good problem to have: Too many forks to display In the first update on open source I hinted at the fact that we’ve severa...

Jan 16, 2015
Post comments count 0
Post likes count 0

Making It Better: Updates for ASP.NET 5 in Visual Studio 2015 CTP 5

Jeffrey Fritz

It's been about two months since we released the first beta of ASP.NET 5, and today we happy to announce that ASP.NET 5 Beta2 is available. For developers using Visual Studio, you'll find great new tools to support and enhance your development process.  All ASP.NET developers will be able to take advantage of a new runtime and many product quality improvements. You can download and install Visual Studio 2015 CTP5 by following the link at the top of the http://asp.net/vnext page.  If you want to try ASP.NET 5 with an alternate editor or on Mac or Linux, just follow the instructions on our ASP.NET GitHub...

Jan 14, 2015
Post comments count 0
Post likes count 0

Running ASP.NET 5 applications in Linux Containers with Docker

Ahmet Alp Balkan (Microsoft Azure)

As a part of our ASP.NET 5 cross-platform efforts, we are actively working on making applications written in ASP.NET 5 easy to deploy and ship on Linux and Mac OS X. A while ago, we have released the first official Docker image by Microsoft: the ASP.NET 5 Preview Docker Image. Docker is an open source project that makes it easier to run applications in sandboxed application containers on Linux. With the ASP.NET 5 Docker image, you can get a base image where the ASP.NET 5 bits are already installed to run on Linux for you. All you need to do is add your application to the image and ship it so it will run in ...

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

API review process for .NET Core

Immo Landwerth

Happy new year! Three weeks ago we published a proposal for an API review process on GitHub and asked for your feedback. The process is now in-place and documented in our developer wiki. Review process Our primary goal with this review process is to provide a good balance between OSS agility and ensuring high quality APIs. This requires having a centralized body that can continue to review each and every API. Here is how we approached defining the process: GitHub is generally based around the pull-request model. The idea is that contributors perform their changes in their own fork and submit ...