29 热度

.NET 5 中 Target Framework 详解

我们希望极大地简化开发人员必须在项目文件和 NuGet 包中使用的TFM (Target Framework Name, 目标框架名称)。这包括合并 .NET 5 和 .NET Standard 的概念,同时仍然可以使用 #if 来编写特定于操作系统的代码。本文解释了开发的动机和由此产生的开发者体验。

收录时间: 2020-09-23
分类: .NET 5
贡献者: Rector
29 热度

Experimenting with .NET 5 Target Framework Names and the Windows platform

Firstly, if you haven’t been following the development of .NET 5 then you should definitely download the latest Visual Studio preview and .NET 5 preview SDK today. Next, you should follow the blogs from the dotnet team and specifically the post by Immo that discusses the future of .NET Standard. The post doesn’t just cover …

收录时间: 2020-09-22
分类: .NET 5
贡献者: Rector
30 热度

Top 10 .NET 5.0 new APIs - NDepend

When a new major .NET version hits Release Candidate, it is time to use the NDepend code review changes capabilities to browse which new APIs have been added. It is pretty straightforward. Start VisualNDepend.exe ; click Compare 2 versions of a code base ; then choose all assemblies in both folders...

收录时间: 2020-09-22
分类: .NET 5
贡献者: Rector
37 热度

Announcing .NET 5.0 RC 1

Today, we are shipping .NET 5.0 Release Candidate 1 (RC1). It is a near-final release of .NET 5.0, and the first of two RCs before the official release in November. RC1 is a “go live” release; you are supported using it in production. At this point, we’re looking for reports of any remaining critical bugs that should be fixed before the final release. We need your feedback to get .NET 5.0 across the finish line.

收录时间: 2020-09-16
分类: .NET 5
贡献者: Rector
74 热度

终于开始了,微软的野心将通过全场景开发平台dotnet 5体现得淋漓尽致!

现在都在谈论全场景开发,也就是用一套开发工具,可以开发包括但不限于桌面、移动、IOT、游戏、Web等平台的应用。这样对于开发人员是非常爽的。本文将介绍微软推出的开发平台:.net 5,这个开发平台将完美地满足我们的各种开发需求。.net 5也是.net家族的下一代产品。  本文已经同步到微信公众号「极客起源」 。 现在都在谈论全场景开发,也就是用一套开发工具,可以开发包括但不限于桌面、移动、IOT、游戏、Web等平台的应用。这样对于开发人员是非常爽的。本文将介绍微软推出的开发平台:.net 5,这个开发平台将完美地满足我们的各种开发需求。.net 5也是.net家族的下一代产品。 我们只需要使...

收录时间: 2020-09-08
分类: .NET 5
贡献者: Rector
33 热度

Calling Windows APIs in .NET5

With the release of .NET5 Preview 8, we have introduced a streamlined way for .NET developers to access the set of Windows Runtime (WinRT) APIs that are shipped as part of Windows. NET5 applications can now access Windows APIs through a new set of Target Framework Monikers (TFMs), which have been extended to support platform specific APIs. This is the recommended mechanism for .NET going forward. For more information on this change, please refer to the .NET5 Preview 8 announcement.

收录时间: 2020-09-08
分类: .NET 5
贡献者: Rector
AD 友情赞助
64 热度

.NET5.0 单文件发布打包操作深度剖析

随着 .NET5.0 Preview 8 的发布,许多新功能正在被社区成员一一探索;这其中就包含了“单文件发布”这个炫酷的功能,实际上,这也是社区一直以来的呼声,从 WinForm 的 msi 开始,我们就希望有这样一个功能,虽然在 docker 时代,单文件发布的功能显得“不那么重要”,但正是从这一点可以看出,.NET 的团队成员一直在致力于实用功能的完善。

收录时间: 2020-09-04
分类: .NET 5
贡献者: Rector
53 热度

Customizing Trimming in .NET 5

In the last blog post, we talked about how trimming in .NET 5 has been expanded to be able to trim types and members that are detected as not being used in the application, and that detection uses static analysis, it doesn’t run the code for the app, so it doesn’t know which branches won’t be taken or what values variables will actually contain at runtime.

收录时间: 2020-09-04
分类: .NET 5
贡献者: Rector
61 热度

App Trimming in .NET 5

One of the big differences between .NET Core and .NET Framework is that .NET Core supports self-contained deployment – everything needed to run the application is bundled together. It doesn’t depend on having the framework separately installed. From an application developer perspective, this means that you know exactly which version of the runtime is being used, and the installation/setup is easier. The downside is the size – it pulls along a complete copy of the runtime & framework.

收录时间: 2020-09-02
分类: .NET 5
贡献者: Rector
64 热度

Improvements in native code interop in .NET 5.0

With .NET 5 scheduled to be released later this year, we thought it would be a good time to discuss some of the interop updates that went into the release and point out some items we are considering for the future. As we start thinking about what comes next, we are looking for developers and consumers of any interop solutions to discuss their experiences. We are looking for feedback about interop scenarios in general – not just those related to .NET. If you have worked in the interop space, we’d love to hear from you on our GitHub issue.

收录时间: 2020-09-02
分类: .NET 5
贡献者: Rector
118 热度

.NET 5.0 Preview 7 发布

.NET 5.0 Preview7 现已发布,该版本是倒数第二个预览版本(移至 RC 之前)。其中包括的新功能有: 序列化时可以忽略值类型属性的默认值 序列化时可以处理循环引用 性能增强 Garbage Collec...

收录时间: 2020-07-24
分类: .NET 5
贡献者: Rector
123 热度

Announcing .NET 5.0 Preview 7

Today, we’re releasing .NET 5.0 Preview 7. It’s the second to last of the preview releases (before moving to RC). Most features should be very close to done at this point. Single file and ARM64 intrinsics are two feature areas that are taking the longest time to complete, but are on track for Preview 8. See the .NET 5.0 Preview 4 post for a broader view of the release.

收录时间: 2020-07-23
分类: .NET 5
贡献者: Rector
93 热度

ASP.NET Core Updates in .NET 5 Preview 7

.NET 5 Preview 7 is now availableand is ready for evaluation. Here’s what’s new in this release: Blazor WebAssembly apps now target .NET 5; Updated debugging requirements for Blazor WebAssembly; Blazor accessibility improvements; Blazor performance improvements; Certificate authentication performance improve...

收录时间: 2020-07-23
分类: .NET 5
贡献者: Rector
173 热度

【翻译】.NET 5中的性能改进

在.NET Core之前的版本中,其实已经在博客中介绍了在该版本中发现的重大性能改进。 从.NET Core 2.0到.NET Core 2.1到.NET Core 3.0的每一篇文章,发现 谈论越来越多的东西。 然而有趣的是,每次都想知道下一次是否有足够的意义的改进以保证再发表一篇文章。 .NET 5已经实现了许多性能改进,尽管直到今年秋天才计划发布最终版本,并且到那时很有可能会有更多的改进,但是还要强调一下,现在已提供的改进。 在这篇文章中,重点介绍约250个PR,这些请求为整个.NET 5的性能提升做出了巨大贡献。

收录时间: 2020-07-16
分类: .NET 5
贡献者: Rector
134 热度

Performance Improvements in .NET 5

In previous releases of .NET Core, I’ve blogged about the significant performance improvements that found their way into the release. For each post, from .NET Core 2.0 to .NET Core 2.1 to .NET Core 3.0, I found myself having more and more to talk about. Yet interestingly, after each I also found myself wondering whether there’d be enough meaningful improvements next time to warrant another post. Now that .NET 5 is shipping preview releases, I can definitively say the answer is, again, “yes”. .NET 5 has already seen a wealth of performance improvements, and even though it’s not scheduled for final release until later this year and there’s very likely to be a lot more improvements that find their way in by then, I wanted to highlight a bunch of the improvements that are already available now. In this post, I’ll highlight ~250 pull requests that have contributed to myriad of performance improvements across .NET 5.

收录时间: 2020-07-15
分类: .NET 5
贡献者: Rector
AD 友情赞助
194 热度

.NET 5.0 Preview 6 发布

.NET 5.0 Preview 6 现已发布,此版本包含了一小组新功能和性能改进 。目前,Visual Studio for Mac 也已支持 .NET 5.0。Windows ARM64 更新Preview 6 SDK 现在包括对 Windows Forms 的支持。这意味着用户可以像在 x64 上一样在 Windows ARM64 设备上构建和运行 Windows Forms 应用程序。开发团队称,其仍在努力在 Windows ARM64 上添加对 WPF 的支持。在 ARM64 便携式计算机上运行的示例 Windows Forms 应用程序,...

收录时间: 2020-06-28
分类: .NET 5
贡献者: Rector
188 热度

Announcing .NET 5.0 Preview 6

Today, we’re releasing .NET 5.0 Preview 6. It contains a small set of new features and performance improvements. The .NET 5.0 Preview 4 post covers what we are planning to deliver with .NET 5.0. Most of the features are now in the product, but some are not yet in their final state. We expect that the release will be feature-complete with Preview 8.

收录时间: 2020-06-26
分类: .NET 5
贡献者: Rector
208 热度

.NET 5.0 Preview 5 发布

.NET 5.0 Preview 5 发布了,此版本带来了一些小的新特性和性能改进,目前需要使用 Visual Studio 2019 16.7 才能体验到 .NET 5.0,macOC 的尚不支持 .NET 5.0。 RyuJIT 改进 RyuJIT JIT 编译...

收录时间: 2020-06-11
分类: .NET 5
贡献者: Rector
166 热度

Announcing .NET 5.0 Preview 5

Today, we’re releasing .NET 5.0 Preview 5. It contains a small set of new features and performance improvements. The .NET 5.0 Preview 4 post covers what we are planning to deliver with .NET 5.0. Most of the features are now in the product, but many are not yet in their final state. We expect that the release will be very close to feature-complete by Preview 7.

收录时间: 2020-06-11
分类: .NET 5
贡献者: Rector
158 热度

.NET 5 – How to start

Would you like to learn how to write programs in .NET and find out what the platform from Microsoft can do? What tools to use and where to start? You’ve come to the right place! I will explain everything step by step.

收录时间: 2020-06-09
分类: .NET 5
贡献者: Rector
AD 友情赞助