# Dynamic Webpage with .NET Micro Framework on Digi Connect ME

**URL:** <https://forums.digi.com/t/dynamic-webpage-with-net-micro-framework-on-digi-connect-me/3699>\
**Category:** NET+OS\
**Tags:** aws\
**Created:** [April 22, 2008, 1:20pm UTC](https://forums.digi.com/t/dynamic-webpage-with-net-micro-framework-on-digi-connect-me/3699 "2008-04-22T13:20:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BA\_Gupta](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@BA\_Gupta](https://forums.digi.com/u/BA_Gupta)\
**Post date:** [April 22, 2008, 1:20pm UTC](https://forums.digi.com/t/dynamic-webpage-with-net-micro-framework-on-digi-connect-me/3699/1 "2008-04-22T13:20:54Z")

</div>

Hi All,

Well, my problem is similar to what a few here already have had, but apparently no one has a solution for it yet. 🙂

Namely, I am trying to program a C# application, that returns a dynamic webpage, when the Digi Connect ME is accessed by a Web Browser.

I have already followed the SocketServer Example, delivered with the Digi JumpStarter Kit with .NET Micro Framework.

// Create a socket, bind it to the server’s port and listen for client connections  
Socket server = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);

// Wait for a client to connect  
Socket clientSocket = server.Accept();

using (m\_clientSocket)  
{  
// Return a static HTML page back to the client  
String s = “Sample Website!”;

m\_clientSocket.Send(Encoding.UTF8.GetBytes(s));  
}

However, it only sends a static HTML page to the client socket, which in my case not possible is.  
Thats coz I need an interactive webpage, where a button click, for example sends & recieves data from the serial ports.

Has anyone faced a similar problem? Or does anyone know, how this could be done?

I am thankful for every response.  
Thanks & wish u a nice day! 🙂
