Netduino home hardware projects downloads community

Jump to content


Photo

NeonMika.Webserver

webserver web server neonmika internet web server http sd xml json

  • Please log in to reply
213 replies to this topic

#201 Peter Forstmeier

Peter Forstmeier

    Advanced Member

  • Members
  • PipPipPip
  • 53 posts

Posted 17 May 2014 - 05:33 PM

Hi,

i try to convert NeonMika.Webserver to Framework 4.3 with no success. Is  somebody out how can Point me in the right direction.

 

Problem: I changed all the Projects to 4.3, compiling is ok, but it seems that the deployment 'blocks' my N2P.

Even with MFDeploy there is no answer from N2P ping... is freezing.

 

Thanks

Peter

 

 

 



#202 EnergySmithe

EnergySmithe

    Member

  • Members
  • PipPip
  • 10 posts

Posted 07 June 2014 - 05:04 AM

Markus, I just wanted to chime in and thank you again for all your hard work on this.  I am going to give this a try tomorrow of my N+2's.  Really awesome project, great work man!

 

Jim



#203 NeonMika / Markus VV.

NeonMika / Markus VV.

    Advanced Member

  • Members
  • PipPipPip
  • 209 posts
  • LocationUpper Austria

Posted 11 June 2014 - 10:14 AM

Hi,

i try to convert NeonMika.Webserver to Framework 4.3 with no success. Is  somebody out how can Point me in the right direction.

 

Problem: I changed all the Projects to 4.3, compiling is ok, but it seems that the deployment 'blocks' my N2P.

Even with MFDeploy there is no answer from N2P ping... is freezing.

 

Thanks

Peter

 

Sorry that I haven't answered for so long. I cannot help you with that problem because I just have a NP1. Have you ever figured out how to get it working?

 

Markus, I just wanted to chime in and thank you again for all your hard work on this.  I am going to give this a try tomorrow of my N+2's.  Really awesome project, great work man!

 

Jim

 

Thanks Jim! It's always great to hear so kind words.

Please let me know how NeonMika.Webserver works for you. If you have questions don't hesitaste to aks :)

 

Greets, Markus


NeonMika.Webserver
> Control your N+ and write webservice methods easyily
> Receive data from you N+ (in XML or JSON)
> Browse the SD on your N+ directly in the browser and d
own - and upload files

 

If you need help with NeonMika.Webserver, please just leave a note in the thread and/or contact me via Skype :)

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Mistakes teach you important lessons. Every time you make one, you are one step closer to your goal. ----
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------


#204 Peter Forstmeier

Peter Forstmeier

    Advanced Member

  • Members
  • PipPipPip
  • 53 posts

Posted 11 June 2014 - 05:52 PM

Hi,

i didn't try it any more. but if i find some time i will give them a second chance

 

Gru nach A aus D

Peter

 



#205 EnergySmithe

EnergySmithe

    Member

  • Members
  • PipPip
  • 10 posts

Posted 12 June 2014 - 06:43 AM

Markus, this is really awesome!  One of my n+2 is used as a controller for a chicken coop door, temperature sensor, daylight sensor, etc.  I was never happy with how it was working.  In less than 20 minutes using your webserver I have a project that is working MUCH better/cleaner and is easily upgradeable!  The one thing I would mention so it would get updated in the documentation is that the RequestReceivedEventArgs is just Request now, but that was easy enough to figure out.

 

Thank you and all who contributed to this project - this just lets you concentrate on doing the fun stuff!

 

Best regards,

Jim



#206 NeonMika / Markus VV.

NeonMika / Markus VV.

    Advanced Member

  • Members
  • PipPipPip
  • 209 posts
  • LocationUpper Austria

Posted 26 June 2014 - 10:06 AM

Markus, this is really awesome!  One of my n+2 is used as a controller for a chicken coop door, temperature sensor, daylight sensor, etc.  I was never happy with how it was working.  In less than 20 minutes using your webserver I have a project that is working MUCH better/cleaner and is easily upgradeable!  The one thing I would mention so it would get updated in the documentation is that the RequestReceivedEventArgs is just Request now, but that was easy enough to figure out.

 

Thank you and all who contributed to this project - this just lets you concentrate on doing the fun stuff!

 

Best regards,

Jim

 

I'm always happy when my webserver code can help people cutting down their development to the important part without caring about the whole networking stuff :)

Good that it worked out without problems for you :)

 

Thanks for the tip with the documentation, i will fix this :)

 

Greets,

Markus


NeonMika.Webserver
> Control your N+ and write webservice methods easyily
> Receive data from you N+ (in XML or JSON)
> Browse the SD on your N+ directly in the browser and d
own - and upload files

 

If you need help with NeonMika.Webserver, please just leave a note in the thread and/or contact me via Skype :)

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Mistakes teach you important lessons. Every time you make one, you are one step closer to your goal. ----
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------


#207 daverathbone

daverathbone

    New Member

  • Members
  • Pip
  • 3 posts

Posted 17 August 2014 - 06:26 PM

Great crashed the Netduino Plus 2 after loading a webpage will not boot now!

needs to be re-flashed.

I think secret labs needs to remain a secret and develop the 1980 watch!

As old NETMF with missing dot.net functions and SL's stack hacked stack is pants!

If You like flashing a blue light then your CLR will just do it!

That's why Microsoft dropped it. it so Sloooow!

 

Learn C or Buy a PI! 



#208 beastyboy

beastyboy

    Advanced Member

  • Members
  • PipPipPip
  • 193 posts
  • LocationNetherlands

Posted 18 August 2014 - 10:35 AM

Good luck Dave,

 

I run multiple projects without any problems.

 

So what are you doing wrong...

 

 

Just ranting in these forums does not help you, And does not correctly show how awesome these devices are.

 

And I am one of the most critical people running around in these forums.

 

 

Best regards and have fun with your PI that runs Mono with C# ....

 

Cheers 

Olaf


Van SchOten Ict Diensten en Services
http://www.voids.nl


#209 NeonMika / Markus VV.

NeonMika / Markus VV.

    Advanced Member

  • Members
  • PipPipPip
  • 209 posts
  • LocationUpper Austria

Posted 25 August 2014 - 10:04 AM

Great crashed the Netduino Plus 2 after loading a webpage will not boot now!

needs to be re-flashed.

I think secret labs needs to remain a secret and develop the 1980 watch!

As old NETMF with missing dot.net functions and SL's stack hacked stack is pants!

If You like flashing a blue light then your CLR will just do it!

That's why Microsoft dropped it. it so Sloooow!

 

Learn C or Buy a PI! 

 

Hello Dave!

I'm sorry that the Netduino doesn't work out for you as expected.

I'm also sorry that NeonMika.Webserver doesn't work on you device, but I can tell you that I got many feedbacks from different people that it works on their devices without problems.

I would try to help you out, but according to the "sound" of your text you are not really interested on working together on a solution.

 

And thanks for the advice, but I already know C (I'm currently writing my bachelor thesis with it) and a also own a Raspberry Pi ;)

 

 

Good luck Dave,

 

I run multiple projects without any problems.

 

So what are you doing wrong...

 

 

Just ranting in these forums does not help you, And does not correctly show how awesome these devices are.

 

And I am one of the most critical people running around in these forums.

 

 

Best regards and have fun with your PI that runs Mono with C# ....

 

Cheers 

Olaf

 

Thanks for your reply Olaf.

It's great to hear that you run different projects without problems :)

And always keep critical, supporting feedback is always welcome!

The more informative feedback, the better a software can get :)

 

Greets, Markus


NeonMika.Webserver
> Control your N+ and write webservice methods easyily
> Receive data from you N+ (in XML or JSON)
> Browse the SD on your N+ directly in the browser and d
own - and upload files

 

If you need help with NeonMika.Webserver, please just leave a note in the thread and/or contact me via Skype :)

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Mistakes teach you important lessons. Every time you make one, you are one step closer to your goal. ----
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------


#210 gangolfus

gangolfus

    New Member

  • Members
  • Pip
  • 9 posts

Posted 03 September 2014 - 04:50 PM

I just wanted to report that I was able to get NeonMika.Webserver working on my N+2 with framework 4.3.1 with ease.  There are 2 things that need to be done.

 

1) For each project, right-click>Properties>Application and update the Target framework to ".NET Micro Framework 4.3"

2) For each project, expand the References folder, remove any reference to Microsoft.SPOT.* and SecretLabs.NETMF.* and re-add the 4.3.1 versions of each

 

Took me all of 5 minutes and fired right up!



#211 NeonMika / Markus VV.

NeonMika / Markus VV.

    Advanced Member

  • Members
  • PipPipPip
  • 209 posts
  • LocationUpper Austria

Posted 05 September 2014 - 01:28 PM

Hi gangolfus!

Thanks for the info, that are great news.

I don't have a N+2 at my place, so it's always appreciated when people give feedback on how they get things done :)

If people have questions in the future regarding N+2 or .net framework 4.3 I can refer them to your post, thank you :)

 

Greet, Markus


NeonMika.Webserver
> Control your N+ and write webservice methods easyily
> Receive data from you N+ (in XML or JSON)
> Browse the SD on your N+ directly in the browser and d
own - and upload files

 

If you need help with NeonMika.Webserver, please just leave a note in the thread and/or contact me via Skype :)

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Mistakes teach you important lessons. Every time you make one, you are one step closer to your goal. ----
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------


#212 Nevyn

Nevyn

    Advanced Member

  • Members
  • PipPipPip
  • 1072 posts
  • LocationNorth Yorkshire, UK

Posted 25 May 2015 - 11:20 AM

Managed to get this working on the Netduino 3 with a little bit of fiddling:

  1. Upgraded all the project to NETMF 4.3
  2. Changed the reference to the NetduinoPlus assemby to Netduino
  3. Some of the SecretLabs assemblies in the WebServer project had to be manually removed and replaced with 4.3 versions
  4. Had to remove the call to interf.EnableDhcp() in Server.cs as this is not implemented.  Also commented out the line below it.  Will investigate later.

But it's up and running...

 

Regards,

Mark


To be or not to be = 0xFF

 

Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life

Follow @nevynuk on Twitter


#213 NeonMika / Markus VV.

NeonMika / Markus VV.

    Advanced Member

  • Members
  • PipPipPip
  • 209 posts
  • LocationUpper Austria

Posted 29 September 2015 - 11:35 AM

Managed to get this working on the Netduino 3 with a little bit of fiddling:

  1. Upgraded all the project to NETMF 4.3
  2. Changed the reference to the NetduinoPlus assemby to Netduino
  3. Some of the SecretLabs assemblies in the WebServer project had to be manually removed and replaced with 4.3 versions
  4. Had to remove the call to interf.EnableDhcp() in Server.cs as this is not implemented.  Also commented out the line below it.  Will investigate later.

But it's up and running...

 

Regards,

Mark

 

After some months I just had the idea to visit the netduino forum again :)

Great to also see it running on netduino 3 and thanks for your input. Hope it can help others to run it on N3.

 

Greets,

Markus


NeonMika.Webserver
> Control your N+ and write webservice methods easyily
> Receive data from you N+ (in XML or JSON)
> Browse the SD on your N+ directly in the browser and d
own - and upload files

 

If you need help with NeonMika.Webserver, please just leave a note in the thread and/or contact me via Skype :)

 

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------
--- Mistakes teach you important lessons. Every time you make one, you are one step closer to your goal. ----
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------


#214 Bayzter

Bayzter

    New Member

  • Members
  • Pip
  • 4 posts

Posted 02 February 2016 - 09:53 PM

Hi guys,

 

I'm trying to convert my NeonMika.Webserver soloution for my Netduino +2 from framework 4.2 to 4.3, but i am stuck with an error i do not know what to do about.

 

I followed the guide written in the post above.

 

1. Changed target framework for all projects included in the soloution from 4.2 to 4.3

2. Deleted 4.2 references and re added 4.3 references instead.

 

The error i am getting in VS2015 :

 

Severity Code Description Project File Line Suppression State
Error CS1579 foreach statement cannot operate on variables of type 'string' because 'string' does not contain a public definition for 'GetEnumerator' JSONLib C:\Users\bayzt\Desktop\Ny mappe\Framework\FastloadMedia.NETMF.Http\JSONLib\Json.cs 43 Active
Error 0x80131700 JSONLib C:\Users\bayzt\Desktop\Ny mappe\Framework\FastloadMedia.NETMF.Http\JSONLib\MMP
Error 0x80131700 NeonMika.Util C:\Users\bayzt\Desktop\Ny mappe\Framework\NeonMika.Util\MMP
Error 0x80131700 NeonMika.XML C:\Users\bayzt\Desktop\Ny mappe\Framework\NeonMika.XML\MMP
Error 0x80131700 NeonMika.Webserver C:\Users\bayzt\Desktop\Ny mappe\Framework\NeonMika.Webserver\NeonMika.Webserver\MMP
Error 0x80131700 NeonMikaWebserverExecuteable C:\Users\bayzt\Desktop\Ny mappe\Executeable\NeonMikaWebserver\NeonMikaWebserver\MMP
 
Any help would be appreciated!  :rolleyes:
 
/Kim
 






Also tagged with one or more of these keywords: webserver, web server, neonmika, internet, web, server, http, sd, xml, json

1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    Bing (1)
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.