The question clearly shows that you have no idea what you are trying to do, and have little idea of .NET programming. For example, you don't understand referencing, and, more generally, using assemblies and probably think that
using
directive somehow helps to use the assembly (it does not, it merely changes the naming rules for assembly-level types, allows to shorten the names in their use). So, with such level of understanding, doing any Web even just UI development would be premature. First, you need to learn the basics of programming, which is much easier to do with simple console-only application. Anyway, using
System.Windows.Forms
in ASP.NET application makes no sense at all, because all .NET code works on the server side; by the same reason, there is absolutely no sense in using most ASP.NET classes in any "desktop" applications.
At the same time, the problem is relatively easy. On the client side, you just need to send some HTTP request with appropriate data with some URL:
http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest%28v=vs.110%29.aspx[
^].
On server side, you should have some ASP.NET application at this URL. The application should take the data from HTTP request and, depending on the data, produce certain HTML content. This is how the HTTP request is represented on the server side:
http://msdn.microsoft.com/en-us/library/system.web.httprequest%28v=vs.110%29.aspx[
^].
Some examples of the usage are shown at the end of the MSDN page referenced above.
—SA