.NET Blog

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

Latest posts

May 31, 2016
Post comments count 0
Post likes count 0

Tuple Tuesday!

.NET Team

One of the central features we're trying to add to both VB and C# in the near future is tuples. If you've never heard of a tuple it's a primitive data structure for combining values together that many other programming languages have supported for years, including .NET's F#, but has been suspiciously absent from Visual Basic. A tuple is vaguely like an array in that it's a data structure that bundles up multiple values together as a unit, except whereas in an array each element of the array has the same type, in a tuple every element may have a different type. So, for example, if I found in my program that I was ...

May 27, 2016
Post comments count 0
Post likes count 0

Making it easier to port to .NET Core

Immo Landwerth

In my last post, I talked about porting to .NET Core and requested feedback from our community on what their experience was and what we could improve. This sparked many great conversations with our users. Based on these conversations as well as our experience working with first- and third-party partners, we've decided to drastically simplify the porting effort by unifying the core APIs with other .NET platforms, specifically the .NET Framework and Mono/Xamarin. In this blog post, I'll talk about our plans, how and when this work will happen, and what this means for existing .NET Core customers. Reflecting on ...

May 25, 2016
Post comments count 0
Post likes count 0

Announcing WCF Connected Service for .NET Core RC2 and ASP.NET Core RC2

Varsha G

With the availability of .Net Core RC2 and ASP.NET Core RC2 we are pleased to announce an update to the WCF Connected Service Preview for ASP.NET 5 Visual Studio extension tool for generating SOAP service references for clients built on top of WCF for .NET Core RC2. This update brings some improvements to the user experience when navigating through the Connected Service wizard UI and the ability to reuse types defined in the project to which a service reference is being added to and from the project’s references, in addition to several bug fixes. How to Install the extension The WCF Connected Service extension ...

May 24, 2016
Post comments count 0
Post likes count 0

The week in .NET – 5/24/2016

Bertrand Le Roy

To read last week's post, see The week in .NET – 5/16/2016. On.NET Last week on the show, we had Miguel de Icaza: This week, we'll speak with Maoni Stephens, who works on .NET's GC. Package of the week: Math.NET Symbolics Math.NET is an impressive project. We've covered Math.NET's numeric package before. Today, we're looking at its symbolic package, that deals with the manipulation of symbolic mathematical expressions. With it, you can parse, format, and evaluate expressions, but also develop them, simplify them, differentiate them, etc. Here's an example that uses symbolic differentiation to build the ...

May 23, 2016
Post comments count 0
Post likes count 0

Job support in the GC

maoni

I've noticed that more and more of our customers started to use job objects to restrict some form of resources for their processes such as CPU and memory. So I wanted to talk about the kind of support the GC offers to help with your managed processes running in a job object. The first thing to notice is that a managed process actually just gets the benefits of a job object without GC doing anything since, well, your process just looks like a normal process to the OS. So without doing anything special in the GC, you already get the following benefits: However, there's one scenario that's not covered. GC bec...

May 23, 2016
Post comments count 0
Post likes count 0

Changes to Project.json

Bertrand Le Roy

This post was written by Scott Hunter. Last week we announced the schedule for RC2 / RTM of .NET Core and ASP.NET. Now that we have shipped RC2 I want to give more details on the .NET Core tooling moving from .xproj / project.json to .csproj / MSBuild. MSBuild When the ASP.NET team started building ASP.NET 5 (now ASP.NET Core) one of the key goals was to design it so it was very easy to create and develop on Windows, Mac and Linux. This led to the creation of the .xproj/project.json based project system. Some of the key features were: As we continued to the project we kept expanding the role of .NET Core: ...

May 20, 2016
Post comments count 0
Post likes count 0

On.NET show

maoni

So apparently CLR has this show on YouTube called On.NET which I was not aware of till yesterday. In any case, I have been invited on the show for the next episode which is 10am-11am next Thursday (05/26). This is streaming on YouTube so you can ask questions during the air time. So if you do have questions for me, you could ask them during that time. [Edit] The video is here.

May 20, 2016
Post comments count 0
Post likes count 1

Happy 25th Birthday, VB!

.NET Team

That’s right! Today marks the 25th (“Silver Anniversary”) since VB first debuted to the world. It seems like just yesterday I’d only been at Microsoft a little over a year when VB turned 20. Looking back at the progress of 5 years—a complete revamp of the IDE and debugger, a trove of new language features, and millions of lines of code—I’m humbled. And that’s just coming from the Roslyn team. But I’m even more humbled looking back at a history FIVE times longer than that with hundreds of innovative productivity features spanning 14 releases and scores of team members. So much history could hardly be given justi...

May 19, 2016
Post comments count 0
Post likes count 0

Consolidated REST API deployed

Maarten Balliauw

A few weeks back, we deployed our consolidated REST API powering NuGet.org and the NuGet client experience in Visual Studio. An invisible change for our users, but a big change for the NuGet team. This consolidated REST API lays the foundation of our future work on the server side of NuGet. In this post, we want to expand a little on the history of the NuGet services and why it matters for us. History of our internal REST API Historically, NuGet.org used to serve all requests for packages directly from our database. With the number of NuGet users increasing, the number of queries on our database also increased....