.NET Core 2.1 Roadmap PT.1

Sign in to queue

The Discussion

  • User profile image
    ZippyV

    What's the status of System.Text.Formatting? If I understood correctly it was going to be used by Razor for generating even faster HTML.

  • User profile image
    ZippyV

    Why is there no cross platform System.Drawing? What's Microsoft's idea about the future of this important API? Especially when the current GDI+ implementation was never officially supported on the server.

  • User profile image
    runfaster20​00

    @ZippyV - Yes, System.Drawing has a hard dependency on Windows technology. Our best guidance is to use one of the alternatives that are available on NuGet. See https://blogs.msdn.microsoft.com/dotnet/2017/01/19/net-core-image-processing/

  • User profile image
    runfaster20​00

    On System.Text.Formatting, it is still experimental. We might productize it in the future but not for .NET Core 2.1.

    https://github.com/dotnet/corefxlab/tree/master/src/System.Text.Formatting

  • User profile image
    kevin

    awesome stuff!

  • User profile image
    channel9szy​mon

    Great work with the HttpClient.

    How will HttpHandler lifetime look under the new model. Can it be safely disposed after every call - without affecting the HttpClient? Basically can we have a using around the handler and just reuse the client instance?

    Caching HttpClient instances (to work around the issue with connection starvation) brought the issue related to DNS changes, which were not respected by the client. Has this by any chance been resolved?

  • User profile image
    Ziki

    @channel9szymon:

    Handler lifetime is designed to be longer than per-request in the HttpClient-handler architecture. That does not change with new ManagedHandler implementation. Handlers contain most of the logic for connection pooling, various information caching, etc. While releasing handler after each call should be technically possible, the overall performance will be suboptimal. We do not recommend to use that pattern.

    We are actively discussing the design to address DNS changes problem directly in ManagedHandler. Currently we're considering 2 options: either DNS TTL support (#24257) or ConnectionLeaseTimeout-like API (#26331). We will make sure that the DNS changes scenario is addressed in combination with HttpClientFactory feature in 2.1 timeframe.

  • User profile image
    jesus muniz

    es bueno tenr su canal y estar al tanto del acontecr tecnoogico y informatico

  • User profile image
    fm2000

    This is just awesome!!  I wasn't expecting so many improvements in 2.1

  • User profile image
    Jason

    Do you have anything to say about PowerShell Core, which runs on top of .NET Core? Maybe in part 2?
    Thank You

  • User profile image
    runfaster20​00

    @Jason - Nothing specific to say about PowerShell Core. What are you looking for?

  • User profile image
    Jason

    @runfaster2000 - Just wondering if there is anything new being planned (or bugs to be squashed) specifically for PowerShell Core 6.1. I didn't know if the .NET Core crew interacted regularly with the PowerShell people there, maybe not, just wondering. Thanks for the video!

  • User profile image
    qmfrederik

    @ZippyV @runfaster2000 The .NET Core version of System.Drawing runs natively on Windows, Linux and macOS. There was a push to get that working over the course of last year and things are pretty stable now. There's a dependency on libgdiplus on Linux and macOS, though.

    That said, there are other options such as SkiaSharp and ImageSharp.

  • User profile image
    brando

    Already very happy with Core 2.0! U guys are doing a great job. Looking forward to 2.1. In EF Core I hope there will be a bug fix for the problem that you can only currently add ONE DbContextPool (more than one throws error). It's all gravy for me after that!

  • User profile image
    Ardalis

    Hopefully web developers will not shoot themselves in the foot with lazy loading:

    https://ardalis.com/avoid-lazy-loading-entities-in-asp-net-applications

Add Your 2 Cents