I am very new to ASP.NET. I just found something interesting when I try to create an ASP.NET application.
I created a button, and wrote the following code in a click event handler:
protected void Button1_Click(object sender, EventArgs e)
{
Form FormMain = new Form();
FormMain.Show();
}
I then tried to add a reference to System.Windows.Forms. I ran it, and it worked. When I click on the browser button, a WinForms form appears.
Can I use this technique to build a desktop application such that all the code is in the web?