Windows Application in future to be controlled over browser
<p>I am writing a Windows application using C#. I am planning on later to allow it to be controlled over the intranet using browser also. So in future we should be able to control it both using the local interface or over the intranet from the browser.</p>

<p>Is there any pre-defined architecture which will allow me to do this? What are the methods of achieving this? I am new to C#/.Net.</p>

<p>EDIT:</p>

<p>The windows application needs to access the communication ports extensively, and needs to be pretty stable and would probably run for some days together.</p>

<p>Thanks...</p>
