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.


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.


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.


Redis Changes License, Rival Fork Launched

The developers of Redis have announced that they are changing the licensing model for the database. From now on, all future versions of Redis will be released with source-available licenses rather tha [ ... ]

GitHub Introduces Code Scanning

GitHub has announced a public beta of a code scanner that automatically fixes problems. The new feature was announced back in November, but has now moved to public beta status.  

More News

raspberry pi books



or email your comment to:

Last Updated ( Monday, 01 April 2024 )