Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netduino or Gadgeteer running IIS and ASP.NET MVC

Is it possible to deploy ASP.NET MVC3 applications onto either a Netduino or .NetGadgeteer? If so how would I go about such a thing?

What I want to do is have a Netduino, connected to a wifi router, that will host an MVC web app.

like image 495
Anish Patel Avatar asked Nov 26 '25 10:11

Anish Patel


2 Answers

No, it will not support it. In order to run ASP.Net, you need to have some kind of IIS running. It is quite simple to serve HTML on HTTP on .Net Micro framework, but in order to use ASP, you need either a full fledged IIS server or some kind of embedded ASP server, like the one in Visual Studio (Cassini was the code name, I think).

You basically 4 choices:

  • Find an embedded ASP server. There is a .net project called aspnetserve that can serve ASP pages, you may be able to port is to the Micro Framework.
  • Step up to Windows CE, which can host ASP .Net pages.
  • Serve plain HTML pages that you build on the spot.
  • Use a templating engine other than ASP and port it to .Net MF if needed
like image 166
Vincent Hubert Avatar answered Nov 29 '25 00:11

Vincent Hubert


Both Gadgeteer and Netduino run the .Net Micro Framework which will not support an ASP.NET MVC web application.

People have implemented simple web servers inside Netduino.

like image 44
gregwhitaker Avatar answered Nov 29 '25 00:11

gregwhitaker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!