BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Microsoft .NET Conf: Focus on AI

Microsoft .NET Conf: Focus on AI

Last month, the latest edition of the .NET Conf: Focus series for 2024 took place, featuring AI development topics. The event targeted developers of all levels, with both informative and hands-on sessions showcasing how to use artificial intelligence within the .NET ecosystem. This was one of the most technical events in the Focus series, with many high-quality, deep-dive sessions.

The Focus series is a branch of the original .NET Conf, an annual event organized by the .NET community and Microsoft that showcases the latest developments for the .NET platform. Each focus event targets a specific .NET-related technology, providing a series of in-depth, hands-on sessions aimed at .NET developers. The focus conferences are free, one-day, live-streamed events featuring speakers from the community and .NET product teams.

.NET Conf: Focus on AI was a singular event within the Focus series since it aimed at exploring the intersection of the latest advances in AI and the .NET ecosystem. As a result, this event had sessions ranging from introduction to AI-related topics (such as Retrieval-Augmented Generation) to deeply technical sessions on using AI tools and techniques when developing .NET applications.

The conference started with a keynote from Microsoft’s Scott Hanselman, vice-president of developer community, and Maria Naggaga, senior program manager on the Visual Studio and .NET team. While emphasizing that AI is a core component of the future .NET applications, they set the tone for the rest of the conference, addressing the evolution of current applications into truly intelligent applications.

The presenters discussed many current AI topics and techniques, such as Ethics and RAG (Retrieval-Augmented Generation) -- the latter being extremely interesting, especially to .NET developers not too familiar with the AI landscape. Naggaga explained the basics of RAG, illustrating how it could be particularly effective in customer support scenarios that combine the use of AI with real-time retrieval data. Together with Hanselman’s demonstration of how GitHub Copilot could be used as an intelligent pair programmer, the keynote revolved around using contextual, domain-specific data with intelligent (AI) applications.

The second session in the agenda was presented by Stephen Toub, one of Microsoft’s Distinguished Engineers on the .NET team. This session focused on how to get started with incorporating AI into existing .NET applications. For this purpose, Toub live-coded a console application, ultimately showing how Semantic Kernel can be used to abstract the use of AI services from the application logic layer.

Daniel Roth, program manager on the ASP.NET team at Microsoft, followed with a hands-on session on building interactive AI-powered web apps with Blazor and .NET. This was a particularly useful demonstration of using existing AI components for .NET development to provide better user experiences. Another very interesting session was presented by Bruno Capuano, AI and .NET Advocate at Microsoft. He showed how to integrate AI models within .NET application using a practical scenario involving the use of local and remote small language models - which was well-received by the audience due to the complementary use of local and remote instances of Microsoft’s Phi-3 for text and vision.

The remainder of the sessions were short (approx. 30 minutes), covering or extending topics mentioned in the keynote. While the majority of the sessions explored the use of cloud-based services (Azure), all of them provided great practical insights for developing AI-powered .NET applications. Other interesting sessions at the event included using AI agents to automate business workflows, building a personalized AI assistant with the Teams AI library, and using vector embeddings in .NET environments to power recommenders and RAG applications.

A relevant key takeaway from the conference is related to the audience’s reaction to the sessions - more specifically, the overall concerns related to adopting AI in the new generation of applications. The primary concern of the audience was related to privacy: during the event, there was consistent concern related to the use of confidential organizational information with RAG, since the concept is based on contextual, domain-specific data. While there was not a dedicated session to address this concern, the engineers answering the live questions considered publishing a technical article addressing this point (yet to be published).

Following privacy, the second greatest concern was related to costs: since most of the practical solutions presented at the event involved Azure services, the audience was clearly worried about the costs of using them - a lesson learned from past cloud projects. Also, there was a recurrent question about the possibility of ML.NET being abandoned by Microsoft, which certainly poses an interesting question, especially considering the increasing mention of other tools and integrations in Microsoft's latest posts on AI.

The complete agenda for the event can be found here, and the complete recording of this event is available on YouTube. Also, the repository containing all session slides and the primary demo used in the hands-on sessions can be found on GitHub.

About the Author

Rate this Article

Adoption
Style

BT