InfoQ Homepage News An Early Look at .NET 4.8

大乐透牛彩网预测: An Early Look at .NET 4.8

深圳风采开奖号码 This item in japanese


While most of the attention is on .NET Core, work continues on the classic .NET Framework. An "early access” preview of .NET 4.8 shows the areas that Microsoft is most concerned about including high graphics Dots per Inch (DPI), accessibility, and concurrency.

.NET 4.8 is expected to be released in 2019. The current expectation is that it will run on Windows 10 build 1607 at later, but that decision isn't final.


Before we get into what is included, it should be noted that the most requested feature, Span<T>, is not going to be part of this release. According to Rich Lander of Microsoft,

Span is included in .NET Core 2.1. We explored including Span in .NET Framework 4.8 and decided against it due to compatibility concerns for existing applications. You can get access to Span and additional related types in the System.Memory Nuget package which enables some of the scenarios that are enabled on .NET Core.


High DPI

High DPI continues to be a focus for .NET. As monitor resolutions continue to improve, applications need to be scaled up to compensate lest the text and images are too small to be legible. In this release, ClickOnce and WinForms are receiving high DPI updates.

There are a couple reasons why high DPI issues keep occurring. First is the availability of high resolution monitors. Microsoft couldn't effectively test scaling at 200 and 300% until hardware that needed that amount of scaling became available. So until monitors stop improving, scaling will continue to be a problem.

Another challenge is multi-monitor setups. When an application moves between monitors with different resolutions, the scaling has to be recalculated and images swapped out. Even worse, an application can overlap two or more monitors with different resolutions. Various compromises are necessary to address this situation and the results aren't always satisfying.


In addition to the usually internal tweaking such as reducing memory usage for AsyncLocal or fine-tuning spin locks, this release fixes an issue where SqlDataReader.ReadAsync wasn't actually being performed asynchronously.

Deadlocks and Race Conditions

Given the maturity of the .NET Framework, it may come as a surprise to learn that many of the core libraries still harbor race conditions and dead locks. Here is a partial list of concurrency-related issues.

  • CLR: potential crash with concurrent calls to a new dynamic method
  • CLR: possible deadlock when calling Dispose() on an EventSource
  • Networking: NetworkInformation.NetworkChange deadlock scenario when there is a lock around NetworkChanged listener and user's callback
  • WCF: race-condition that exists in AsyncResult that closes a WaitHandle before Set() is called
  • WCF: race-condition when aborting connections which caused ObjectDisposedException to be thrown in CleanupChannelCollections
  • Workflow: under extreme usage conditions (high volume of connections to MSDTC), it was possible for a CriticalSection to be held by a single thread indefinitely
  • User Interface Accessibility (UIA)

UIA concerns continue to be a priority with WinForms gaining new UIA behaviors and UIA bugs being fixed in both it and WPF. (Many non-UIA bugs were also fixed in both.)

For a full list of changes, see the .NET 4.8 release notes. The preview build itself is available via the .NET Blog.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.
  • 打开设计图纸的说明。 2019-05-23
  • 西安幼升小反映问题是去年近3倍 花式上学难案例层出不穷学位学区-西安新闻 2019-05-23
  • 2018年东南大学将继续推进“金钥匙计划”与国际化办学 2019-05-22
  • 俄海军有70至100艘军舰常年在各大洋航行 2019-05-22
  • 喂,110吗?这里有个出警的小姐姐,我要曝光一下! 2019-05-21
  • 人身险产品遭遇“负面清单” 保险行业迎供给侧改革 2019-05-21
  • 段春华:以最严密的法治打好大气污染防治攻坚战 2019-05-20
  • 刘凤翥:翦老的叮嘱让我终生受用无穷 2019-05-20
  • 杂粮(谷子)天气指数综合保险启动承保 2019-05-19
  • 昌吉州:让绿色成为生态底色发展主色 2019-05-19
  • 3人利用花呗套现3.2亿被批捕 获利约500万元 2019-05-18
  • 世界杯赞助商集体亮相球迷广场 海信站C位夺眼球 2019-05-18
  • 河南大学校长娄源功谈教育公平 2019-05-17
  • 你的第一段就认识错误。中国人如果认为神赐就能有幸福,就不会有后羿射日精卫填海愚公移山的故事了。中华文明世界观推导出的方法论就是八个字,事在人为,人定胜天。 2019-05-17
  • 光明日报:对抄袭行为不能仅道德谴责 2019-05-16
  • 138| 486| 27| 322| 130| 375| 830| 784| 602| 42|