'ASP.NET custom input field for related entity

I would like to create a custom logic input field for relations between entities in ASP.NET MVC using .NET6. My idea is like a "Lookup" field in Dynamics 365 - you can type in the searched record name and clicking the option would fill it in with an 'X' for remove: An example Lookup field

Is this possible in C#/.NET? Is this a "custom control"? Does anyone have a tutorial at hand? Thank you.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source