Build & test resilient apps in .NET with Dev Proxy
Microsoft .NET DevBlogs
by Waldek Mastykarz
1d ago
When building apps that connect to APIs, we typically focus on getting the app to work. But what happens when the API is slow, returns errors, or becomes unavailable? The last thing you want is an angry customer calling you when your app breaks. But it’s hard to simulate how your app will handle these scenarios when you don’t control the APIs you integrate with. Unless you use Dev Proxy. The hard thing about connecting to APIs These days, it’s hard to imagine an app that’s not connected to an API. We use APIs for everything: from getting data to performing actions. But there’s more to using an ..read more
Visit website
Streamline your container build and publish with .NET 8
Microsoft .NET DevBlogs
by Richard Lander
3d ago
NET 8 is a big step forward for building and using containers, with improvements for performance, security, and usability. We’ve been working over several releases to make .NET one of the simplest and most secure container platforms, as a default experience. Those efforts have all come together in an integrated way with .NET 8. We’ve delivered on the most common requests: non-root images, smaller image size, and built-in image publishing. We’ve also delivered some critical features that are required for advanced workflows. We’ve pivoted to dotnet publish as our recommended approach to contain ..read more
Visit website
.NET April 2024 Updates – .NET 8.0.4, 7.0.18, .NET 6.0.29
Microsoft .NET DevBlogs
by Rahul Bhandari (MSFT)
1w ago
Today, we are releasing the .NET April 2024 Updates. These updates contain security and non-security improvements. Your app may be vulnerable if you have not deployed a recent .NET update. You can download 8.0.4, 7.0.18 and, 6.0.29 versions for Windows, macOS, and Linux, for x86, x64, Arm32, and Arm64. Installers and binaries: 8.0.4 |7.0.18 | 6.0.29 Release notes: 8.0.4 | 7.0.18 | 6.0.29 Container images Linux packages: 8.0.4 | 7.0.18 | 6.0.29 Release feedback/issue Known issues: 8.0 | 7.0 | 6.0 Windows Package Manager CLI (winget) You can now install .NET updates using the Windows Package M ..read more
Visit website
Testing Your Native AOT Applications
Microsoft .NET DevBlogs
by Marco Rossignoli
2w ago
We are happy to announce that we just published an early preview of support for testing Native AOT with MSTest, and we welcome all of you to try it. This new solution is powered by a completely new testing engine that we wrote from ground up, to allow running tests in Native AOT, and that works together with the existing MSTest runner (Microsoft.Testing.Platform). We also leveraged the power of source generators, to discover tests during compilation, which solved one of the big hurdles that prevented us from compiling and running tests in Native AOT. What is Native AOT .NET applications can be ..read more
Visit website
Bing on .NET 8: The Impact of Dynamic PGO
Microsoft .NET DevBlogs
by Ben Watson
3w ago
It has been over a year since I last updated everyone on the status of .NET in the Bing stack, specifically the high-performance workflow execution engine sitting right in the middle of everything. In that time, the scope of this engine has only increased, especially with the release of Microsoft Copilot. While our workflow engine originated under Bing, it’s fair to say that it now undergirds a significant portion of the search and data stack in many Microsoft applications. We started testing .NET 8 from its early preview releases. While there were clear incremental benefits in performance acr ..read more
Visit website
.NET 7 will reach End of Support on May 14, 2024
Microsoft .NET DevBlogs
by Rahul Bhandari (MSFT)
3w ago
NET 7 will reach end of support on May 14, 2024. After that, Microsoft will no longer provide servicing updates, including security fixes or technical support, for .NET 7. You’ll need to update to .NET 8 before this date into stay supported. Support Policy .NET 7 is an STS release, supported for 18 months, ending on May 14, 2024. May 14th is a patch Tuesday release day. .NET 7 may be updated one last time, on that day, if there is a known critical issue. You can expect the following after .NET 7 reaches end of support: Applications that use this version will continue to run. No new security ..read more
Visit website
Adding Apple Privacy Manifest Support to .NET iOS & .NET MAUI apps
Microsoft .NET DevBlogs
by Gerald Versluis
3w ago
Apple is introducing a privacy policy for including privacy manifest files in new and updated applications targeted for iOS, iPadOS, and tvOS platforms on the App Store. Note that macOS apps are excluded at least for the time being. The privacy manifest file (PrivacyInfo.xcprivacy) lists the types of data your .NET MAUI applications, or any third-party SDKs and packages collect, and the reasons for using certain Required Reason APIs categories. At the time of writing Apple is already sending out notices about including this policy in your apps. As of May 1, 2024, this will be mandatory in orde ..read more
Visit website
Generate Local .NET Secrets from Azure Deployments
Microsoft .NET DevBlogs
by Frank Boucher
1M ago
Often sample projects starts with a few “magic strings”, those variables contains URLs and key information related to a deployment or external resources that we will have to change to use the sample. As an example in .NET it could look like this: string openAIEndpoint = "https://"; string openAIDeploymentName = "my-ai-model"; string openAiKey = "123456abcd789EFGH"; // ... This post shows how you to automatically generate .NET secrets from the Azure deployment and how your .NET app can read them. Users who would like to try your sample won’t have to edit anything anymore! They will only have ..read more
Visit website
Get started with .NET 8 and AI using new quickstart tutorials
Microsoft .NET DevBlogs
by Jordan Matthiesen
1M ago
Looking to the year ahead, we’ve got some great updates coming for .NET developers working with artificial intelligence (Check out Our Vision for .NET 9 to learn more). If you’ve been thinking of infusing your existing .NET apps with generative AI & Large Language Models (LLMs), now is a great time to dive in and we have new quickstarts to help you out. Get hands on and learn AI using new .NET quickstarts We’ve just released a new set of quickstarts that you can use with large language models from OpenAI (more models are also coming soon): Summarize text Build a chat app Create an app to ..read more
Visit website
Unity extension for Visual Studio Code – Now Generally Available
Microsoft .NET DevBlogs
by Jb Evain
1M ago
Today, we are thrilled to announce the general availability of the Unity extension for Visual Studio. This extension, built upon the C# Dev Kit and C# extensions, gives you a comprehensive toolkit for your Unity development in Visual Studio Code across Windows, macOS, and Linux. We shipped the first preview of the Unity extension for Visual Studio Code last year and have been working since on improving the experience thanks to your feedback! What is the Unity extension? Code Editing powered by Roslyn C# editing is backed by the C# extension, giving you powerful IntelliSense code-completion. A ..read more
Visit website

Follow Microsoft .NET DevBlogs on FeedSpot

Continue with Google
Continue with Apple
OR