-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What's new in .NET 8 RC 1 [WIP] #8439
Comments
|
Cross-building Windows apps with Win32 resources on non-WindowsIssue: dotnet/runtime#3828 Many thanks to @anatawa12 for this great contribution! When building applications targeting Windows on non-Windows platforms, the resulting executable is now updated with any specified Win32 resources - for example, application icon, manifest, version information. Previously, applications had to be built on Windows in order to have such resources. Fixing this gap in cross-building support has been a popular request, as it was a significant pain point affecting both infrastructure complexity and resource usage. |
Containers switch to non-preview tagging patternIssue: dotnet/dotnet-docker#4772 In preparation for the GA release of .NET 8, the .NET container images have switched to a new tagging pattern for RC 1 that removes "preview" from the tag name. In previous preview releases of .NET 8, floating tags were published with the name of |
Breaking change The configuration binding generator has switched to using the compiler interceptors preview feature to emit binding logic - dotnet/runtime#90835. In non Web SDK scenarios (i.e. apps that require a <PropertyGroup>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
+ <Features>$(Features);InterceptorsPreview</Features>
</PropertyGroup> This is temporary. In RC-2, enabling the generator will switch back to only requiring the one gesture. The compiler inceptors feature will be enabled implicitly in a reliable way. <PropertyGroup>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
- <Features>$(Features);InterceptorsPreview</Features>
</PropertyGroup> @dotnet/area-extensions-configuration @captainsafia @eerhardt. |
System.Text.Json Improvements
|
SDK: Container publishing now supports Azure Managed IdentityThe SDK Container publish feature is an easy way to package .NET applications into containers and push them to container registries like Docker Hub, Azure Container Registry, or other popular registries. Pushing to these remote registries often requires authentication, which is usually handled by the > az acr login -n <your registry name>
> dotnet publish -r linux-x64 -p PublishProfile=DefaultContainer Doesn't get much simpler than that! You can learn more about registry authentication in our docs, and you learn how to get started containerizing your apps as well. |
|
$(AndroidStripILAfterAOT) |
$(AndroidEnableProfiledAot) |
.apk size |
---|---|---|
true | true | 7.7MB |
false | true | 7.7MB |
true | false | 8.1MB |
false | false | 8.4MB |
Note that $(AndroidStripILAfterAOT)
=false and $(AndroidEnableProfiledAot)
=true is the default Release configuration environment, for 7.7MB.
Limitations:
Not all of the AOT-compiled methods are able to be removed. At runtime, there are various scenarios where we have to switch from AOT to JIT to produce the correct result. With that said, we will be continuously working on reducing gaps in the upcoming .NET 9 release.
Final note
We would like to invite everyone to try out this new feature and file any discovered issues to help us improve the user experience further. Issues can be filed directly to dotnet/runtime repository.
WPF : Hardware Acceleration in RDPIn the past, all WPF applications accessed remotely had to use software rendering, even if the system had hardware rendering capabilities. We have added a new option that enables application developers to opt-in for hardware acceleration for RDP by utilizing an AppContext switch. Hardware acceleration refers to the use of a computer's graphics processing unit (GPU) to speed up the rendering of graphics and visual effects in an application. This can result in improved performance and more seamless, responsive graphics. In contrast, software rendering relies solely on the computer's central processing unit (CPU) to render graphics, which can be slower and less effective. How to enable Hardware Acceleration in RDP for WPF app?We offer two methods for enabling hardware acceleration in RDP:
Final noteWe would like to invite everyone to try out this new feature and file any discovered issues to help us improve the user experience further. Issues can be filed directly to dotnet/wpf repository. |
@lewing I'm going to add this one in the ASP.NET Core blog post as well as it is relevant to Blazor WebAssembly users. |
What's new in .NET 8 RC 1
This issue is for teams to highlight work for the community that will release in .NET 8 RC 1
To add content, use a new conversation entry. The entry should include the team name and feature title as the first line shown in the template below.
Required
Optional
Below are three additional items to consider. These will help the .NET 8 blog team and the community throughout the release.
Index of .NET 8 releases
Preview 1: #8133
Preview 2: #8134
Preview 3: #8135
Preview 4: #8234
Preview 5: #8436
Preview 6: #8437
Preview 7: #8438
RC 1: #8439
RC 2: #8440
The text was updated successfully, but these errors were encountered: