Microsoft Introduces .NET Smart Components
Written by Kay Ewbank   
Monday, 01 April 2024

Microsoft has provided a set of .NET Smart Components, described as a set of genuinely useful AI-powered UI components that you can quickly and easily add to .NET apps. The components are prebuilt end-to-end AI features that you can drop into your existing app UIs.

The .NET Smart Components are experimental and are initially available for Blazor, MVC, and Razor Pages with .NET 6 and later. Microsoft expects to provide components for other .NET UI frameworks as well, such as .NET MAUI, WPF, and Windows Forms, once they've received feedback on how useful these components are and what additional capabilities developers would like to see added.

net2

The components start with a Smart Paste that fills out forms automatically using data from the user's clipboard with the click of a button. This can be used with any existing form in a web app, and the aim is to help users add data from external sources without re-typing. Developers don't have to configure or annotate your forms, since the system will infer the meanings of the fields from your HTML. However, you can optionally provide annotations if it helps to produce better results.

There's aslo a Smart TextArea that is an enhancement of the traditional textarea. Developers can use a house style to configure how it should autocomplete whole sentences, and can specify a preferred tone, policies, and URLs. The documentation says the house style can include a set of predefined phrases, rules, policies and URLs that set the tone, level of formality, greetings, etc. that you prefer agents to use, while not forcing them to do so. For example if an HR agent types "Your vacation allowance is", the system might suggest a completion like "28 days as detailed in our policy at https://.../policies/vacation".

The third component is a Smart ComboBox that makes suggestions based on semantic matching. This helps users find what they're looking for.  While traditional combo boxes suggest values based on exact substring matches, the Smart ComboBox upgrades this by suggesting semantic matches, options with the most closely related meanings.

 net2

More Information

.NET Smart Components sample apps

Related Articles

.NET 8 Released

.NET 8 Final Preview Improves ASP.NET Core

.NET Upgrade Assistant Adds Support For MAUI And Azure Functions

.NET Celebrates 20th Anniversary of Launch

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


The Feds Want Us To Move On From C/C++
13/11/2024

The clamour for safe programming languages seems to be growing and becoming official. We have known for a while that C and C++ are dangerous languages so why has it become such an issue now and is it  [ ... ]



Apache Fury Adds Optimized Serializers For Scala
31/10/2024

Apache Fury has been updated to add GraalVM native images and with optimized serializers for Scala collection. The update also reduces Scala collection serialization cost via the use of  encoding [ ... ]


More News

espbook

 

Comments




or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 01 April 2024 )