Web Control Library Template
You can use the Web Control Library project template to author custom Web server controls. The template adds the necessary project items needed to start creating a control that can then be added to any Web project.
The template automatically adds the essential project references and files to use as a starting point for your application.
See Also
Concepts
File Types and File Extensions in Visual Basic and Visual C#
ASP.NET Web Server Controls Overview