Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Netduino-compatible embedded webserver


  • Please log in to reply
5 replies to this topic

#1 Balázs Takácsy

Balázs Takácsy

    New Member

  • Members
  • Pip
  • 2 posts
  • LocationBudapest

Posted 29 November 2011 - 11:56 PM

Hi Netduino users, I just wanted to let you know that in my tight spare time I am working on an IIS-like :) webserver implementation that can easily web enable existing hobby projects leveraging the .NET Micro framework 4.1 platform. The code is in still alpha - yet I did not have the possibility to test on a real device, only the emulator - so I highly encourage you to test, suggest, comment or report missing features / bugs / performance bottlenecks you may enconter. Code, sample executables are available at: http://embeddedwebserver.codeplex.com/ Hopefully by next week I will have some real boards to test with! Cheers, Balázs

#2 Balázs Takácsy

Balázs Takácsy

    New Member

  • Members
  • Pip
  • 2 posts
  • LocationBudapest

Posted 06 December 2011 - 10:15 PM

Finally my Netduino Plus has arrived so I could start testing it on an actual device. Two main issues solved: * Request header parsing had a bug that could cause infinite loops * My previous StringBuilder implementation that relied on ArrayList threw intermittent OutOfMemoryExceptions. Now that I moved to progressively growing char arrays the memory issues is gone :) Current status: The EmbeddedWebserver runs smoothly either on PC or Netduino device. Have fun experimenting with it :)

#3 Jay Sheldon

Jay Sheldon

    Member

  • Members
  • PipPip
  • 10 posts

Posted 24 January 2012 - 05:00 AM

I like what your doing with this. Can you provide a sample project though? I'm having a hard time getting it to deploy.

#4 mutsop

mutsop

    Advanced Member

  • Members
  • PipPipPip
  • 30 posts

Posted 24 January 2012 - 08:06 AM

This is amazing! I can't wait to try it out later on when back from work. So I see you can use up a local directory on the pc... But can it only support files you can open in your browser locally? Let's say you have apache/php installed on your pc, would you be able to open up php files locally? what about asp.net? Also how to retrieve inputs variables from the website? Sorry for all these questions :)

#5 Bendage

Bendage

    Advanced Member

  • Members
  • PipPipPip
  • 153 posts
  • LocationIrvine, CA

Posted 27 January 2012 - 06:34 AM

Looks like these are the only supported files... private static readonly Hashtable _supportedTypes = new Hashtable() { { ".htm", null }, { ".html", null }, { ".js", null }, { ".css", null }, { ".gif", null }, { ".jpg", null }, { ".png", null }, { ".bmp", null } }; Which still rocks! I doubt a netduino is going to parse PHP or asp pages on the server side with the lack of memory, but this far exceeds my expectations! Xml and txt would be good files to add. Nice job. I will be following this.

#6 DerekGn

DerekGn

    Member

  • Members
  • PipPip
  • 11 posts

Posted 30 December 2014 - 08:46 PM

For anyone who maybe interested I have ported this to .net MF 4.2 and done some code clean up.

 

https://embeddedwebs...ol/list/patches

 

I have been using this for quite some time.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.