Create a new ASP.NET Web Application, Windows Forms Control Library or Class Library project Create a new class and inherit from System.Web.UI.WebControls.WebControl or from a specific control (like TextBox) Override the Render method and call writer.write() to write raw HTML…