{"id":21658,"date":"2024-10-11T12:00:48","date_gmt":"2024-10-11T07:00:48","guid":{"rendered":"https:\/\/brandligo.com\/?p=21658"},"modified":"2024-10-10T16:13:06","modified_gmt":"2024-10-10T11:13:06","slug":"microsoft-launches-unified-net-api-for-ai-and-net-9-rc","status":"publish","type":"post","link":"https:\/\/www.brandligo.com\/blog\/microsoft-launches-unified-net-api-for-ai-and-net-9-rc\/","title":{"rendered":"Microsoft Launches Unified .NET API for AI and .NET 9 RC"},"content":{"rendered":"<p><a href=\"https:\/\/devclass.com\/2024\/10\/10\/microsoft-previews-unified-net-api-for-ai-and-delivers-net-9-release-candidate-with-go-live-license\/\" target=\"_blank\" rel=\"noopener\">Microsoft&#8217;s<\/a> has introduced a preview of an AI extension library aimed at creating a unified API for <a href=\"https:\/\/www.brandligo.com\/blog\/disney-and-directv-strike-deal-to-restore-programming-for-11-million-viewers\/\">AI programming<\/a> in C#. Additionally, it has released a .NET 9.0 release candidate with a go-live license, ahead of its general availability in November.<\/p>\n<p>The Microsoft.Extensions.AI library is designed as &#8220;a unified layer of C# abstractions for interacting with AI services.&#8221; The goal is for developers of AI libraries, such as those for specific service providers, to implement these abstractions so that developers can interact with different AI services through a standard API. Microsoft notes that service-specific APIs can still be used where necessary, allowing developers to &#8220;pass through to proprietary APIs only when required.&#8221;<\/p>\n<p>This approach is somewhat analogous to database interfaces like System.Data.IDbCommand and System.Data.IDbConnection, which enable developers to use a standard API with various drivers for different database managers.<\/p>\n<p>In its preview, Microsoft has provided reference implementations for OpenAI, Azure AI inference, and Ollama.<\/p>\n<p>However, the future success of the Extensions.AI library remains uncertain, and some developers have expressed confusion. One asked, &#8220;Is this compatible with the Azure OpenAI library for .NET?&#8221; while another wondered, &#8220;Is Microsoft.Extensions.AI compatible with Microsoft.SemanticKernel, or should SK be deprecated?&#8221;<\/p>\n<p>The Extensions.AI library preview will extend beyond the release of .NET 9, so it may take some time for developers to assess whether this approach gains widespread adoption.<\/p>\n<p>Meanwhile, Microsoft has released the .NET 9 release candidate, which includes a go-live license. .NET follows an annual release cycle, with version 9.0 set to launch during the virtual .NET Conf from November 12 to 14. Although this is not a long-term support (LTS) release, it will be supported for 18 months. According to documentation, .<a href=\"https:\/\/dotnet.microsoft.com\/en-us\/download\/dotnet\/9.0\" target=\"_blank\" rel=\"noopener\">NET 9.0<\/a> has a &#8220;special focus on cloud-native apps and performance.&#8221;<\/p>\n<p>Microsoft partner software engineer Steven Toub has detailed the performance improvements in .NET 9. While these are mostly minor changes, they offer significant upgrades even without modifying application code.<\/p>\n<p>The list of new features in .NET 9 is extensive and includes C# version 13, but the overall theme leans towards incremental enhancements rather than major new features. For .NET MAUI (Multi-platform App UI), the focus is on improving product quality, according to official notes.<\/p>\n<p>Developers who have been hesitant about adopting newer frameworks like MAUI and Blazor may appreciate this focus on quality and may consider reevaluating whether they are ready for implementation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft&#8217;s has introduced a preview of an AI extension library aimed at creating a unified API for AI programming in C#. Additionally, it has released a .NET 9.0&hellip;<\/p>\n","protected":false},"author":10,"featured_media":21661,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1713],"tags":[3880,3884,3896,3892,3881,3887,3889,3894,3882,3891,3886,3885,3895,755,3893,3883,3890,3888,3778,1510],"class_list":["post-21658","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technews","tag-net-9","tag-net-9-release-candidate","tag-net-conf","tag-net-maui","tag-ai-programming","tag-ai-services","tag-azure-ai-inference","tag-blazor","tag-c-api","tag-c-version-13","tag-cloud-native-apps","tag-go-live-license","tag-long-term-support","tag-microsoft","tag-microsoft-semantic-kernel","tag-microsoft-extensions-ai","tag-ollama","tag-openai","tag-performance-improvements","tag-software-development"],"_links":{"self":[{"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/posts\/21658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/comments?post=21658"}],"version-history":[{"count":3,"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/posts\/21658\/revisions"}],"predecessor-version":[{"id":21662,"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/posts\/21658\/revisions\/21662"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/media\/21661"}],"wp:attachment":[{"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/media?parent=21658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/categories?post=21658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.brandligo.com\/blog\/wp-json\/wp\/v2\/tags?post=21658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}