.NET 9 Preview 7 #9448
Replies: 13 comments 24 replies
-
Prioritize better overloads with OverloadResolutionPriority attribute link broken |
Beta Was this translation helpful? Give feedback.
-
THANK YOU @edwardneal ! 😄 🥳 #xps |
Beta Was this translation helpful? Give feedback.
-
Go go go! |
Beta Was this translation helpful? Give feedback.
-
@rolfbjarne Sorry to bother you, but it looks like Preview 3 and 4. |
Beta Was this translation helpful? Give feedback.
-
I'm mad to use C# extension types asap 👁👄👁 |
Beta Was this translation helpful? Give feedback.
-
I am getting an exception when using the preview 7 SDK in a WPF project using the new fluent.xaml. The pasted lines (line number 17-19 in the code) throws an exception:
Set property 'System.Windows.ResourceDictionary.Source' threw an exception.' Line number '82' and line position '18'. with the inner exception: IOException: Cannot locate resource 'resources/fluent.xaml'. Workloads, Visual Studio Preview, NuGets and dotnet preview 7 all installed without errors |
Beta Was this translation helpful? Give feedback.
-
Neither semi-automatic properties, nor extensions, it seems. Am I wrong? |
Beta Was this translation helpful? Give feedback.
-
Will dotnet 9 be able to |
Beta Was this translation helpful? Give feedback.
-
Looking for the performance improvement blog post. |
Beta Was this translation helpful? Give feedback.
-
After upgrade to dotnet 9 preview 7, can not deploy Maui App targeting dotnet 9 and building for Windows. This means that code which depended on Application Identity, for example 'Windows.ApplicationModel.Package.Current' throws an exception. Is this by design? |
Beta Was this translation helpful? Give feedback.
-
Hello, after updating a .NET MAUI app from .net8 to the newest version (.net9 preview 7), I get the following error message when attempting to compile the Windows app:
I have not found any solution out there and I have absolutely no idea how to move forward with this, any help would be greatly appreciated! Thanks. |
Beta Was this translation helpful? Give feedback.
-
Add compiler preprocessor define to detect if current working platform is big or little endian. |
Beta Was this translation helpful? Give feedback.
-
Is there any plans for Microsoft.AspNetCore.OpenAPI to support XML doc comments like the previous swagger implementation did? The attributes don't feel that intuitive to use, and some things like adding comments to why/when it returns the response type/code cannot be mapped yet. Is there any plans to add that in the future? I rather have /// <summary>
/// An experimental endpoint to showcase some OpenAPI problem
/// </summary>
/// <remarks>This also shows in Swagger UI</remarks>
/// <param name="experiment">Experimental message</param>
/// <returns>A Hello world message</returns>
/// <response code="200">Everything is okay :) </response>
/// <response code="400">Something broke</response>
[HttpPost("Experiment")]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
public ActionResult<string> Test(string experiment) over [HttpPost("Experiment")]
[EndpointSummary("This sadly doesn't feel intuitive")]
[EndpointDescription("This sadly doesn't feel intuitive")]
[Produces(typeof(string))]
[ProducesErrorResponseType(typeof(ProblemDetails))]
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(StatusCodes.Status400BadRequest)]
public ActionResult<string> Test([Description("Experimental message")]string experiment) |
Beta Was this translation helpful? Give feedback.
-
We are pleased to announce the release of .NET 9 Preview 7.
This release contains the following improvements:
📚Libraries
BinaryFormatter
is completeReadOnlySpan<char>.Split()
segmentsDebug.Assert
now reports assert condition, by default.zlib-ng
Guid.CreateVersion7
enables creating GUIDs with a natural sort orderInterlocked.CompareExchange
for more typesTensor<T>
asExperimental
⏱️Runtime
🛠️ SDK
C#
OverloadResolutionPriority
attribute🌐 ASP.NET Core
ProducesProblem
andProducesValidationProblem
on route groupsProblem
andValidationProblem
result types withIEnumerable<KeyValuePair<string, object?>>
valuesOpenIdConnectHandler
support for Pushed Authorization Requests (PAR)ExceptionHandlerMiddleware
option to choose the status code based on the exception📱 .NET MAUI
HybridWebview
TitleBar
Control andWindow.TitleBar
for WindowsCollectionView
&CarouselView
improvements with a new opt-in handler for iOS and Mac CatalystWindow
to the foregrond withActivateWindow
BackButtonBehavior
OneWay
binding modeBlazorWebView
backward compatibility host addressMainPage
is ObsoleteProcessTerminated
event onWebView
ControlGet started
To get started with .NET 9, install the .NET 9 SDK.
If you're on Windows using Visual Studio, we recommend installing the latest Visual Studio 2022 preview. .NET 9 is now can be installed directly through the Visual Studio installer starting with Visual Studio 2022 17.12 Preview 1.
You can also use Visual Studio Code and the C# Dev Kit extension with .NET 9.
You can find .NET 9 Preview 7 Installer & Binaries on GitHub.
Team Announcements & Discussions
Discuss this release with the product teams on GitHub through the announcements for this release.
Stay up-to-date with .NET 9
You can stay up-to-date with all the features of .NET 9 with:
For .NET 9 previews we are utilizing GitHub Discussions to make announcements. For more information read our discussion.
Stay up to date by subscribing to the RSS feed for all release announcements.
Beta Was this translation helpful? Give feedback.
All reactions