HttpWebRequest & HttpWebResponse assembly?

Hi,
Sorry for the simple question, but I can’t find the answer anywhere…

I am trying to use the class: HttpWebRequest
on a CerbuinoNet using METMF 4.3.

I can’t seem to find the correct assembly for this…
Is it in : GHIElectronics.NETMF.Net? If so, I can’t find that for 4.3, I’ve only found the 4.1 version
Thanks
Guy

Http is in the netmf libs, not GHI. Can’t remember which one sorry.

Hi Gus,
Thanks.
Do you know if the NETMF libs are available for 4.3?
If so, where could i find them?
(I only seem to be able to find it for 4.1…)

are you think about this
http://docs.ghielectronics.com/software/netmf/downloads.html

Hi Gus,
when you say “netmf libs”
what exactly do you mean?
Do you mean something i sound find in “C:\Program Files (x86)\GHI Electronics\NETMF v4.3 SDK”?
Or are they Microsoft librabries?
Thanks

Hi Gus,
I’ve done some more digging, and it appears it should be in

System.Net.HttpWebRequest

Yet my system.dll, which contains System.Net namespace does have those classes.

I can find lots of pages where people seem to have it working online e.g. https://benperk.github.io/msdn/2014/2014-11-how-i-got-https-to-work-with-the-net-micro-framework-and-my-gadgeteer.html
but I can’t seem to find any mention of additional sdks needed for it.
I’ve downloaded and installed GHI Electronics NETMF SDK 2016 R1
and Microsoft .NET Micro Framework SDK 4.3 (SDK-QFE2) 4.3.2.0

Thanks again. :slight_smile:

i used .NET 4.4

Add System.http (and call it under Sytem.Net.Htt…)

Hi Valon,
Can I use .net 4.4 with a cerbuinoNet? I thought it would only work with 4.3?
If so , do you know what you installed to got to 4.4?
Thanks!

no i’m not using cerbuinoNet (but you could create from STM32F4 Discovery Source - firmware for this - since it have STM32F405 MCU … i belive)

  • but you need to take care about SD / ETHERNET …
    if you have schematic and to loose benefit from GHI SDK …

i’m using Nucleo F411 / Electron 1.0 / BrainPAD 2.0 with my own .NET MF 4.4
(and GHI Library do not work on newer since it was compiled on older version 4.3.x for what them was supported)

but still use FEZ Spider II with .NETMF 4.3 because of GHI SDK …

but as finally word i can say why you do not switch on new TinyCLR OS
as an elegant development support …

for more details you can check on
https://www.ghielectronics.com/

You know… I really should swap to TinyCLR OS!

Do you know if my old hard ware will work with it? like fez panda, cerbuino etc?

I found an old Project using NETMF, perhaps it can help you
-https://drive.google.com/open?id=1v-RNy5_5Y_b0QX4j7T0zQoXlBjZ3tYBx

Hi RoSchmi,
You’re a genius! thank you so much.

I needed to include: System.http

(Should have thought of that one really :wink: )

1 Like

so depend on your need-s

FEZ CERBUINO i belive there TINY CLR 1.0 - CERB (STM32F405)- open source code available
FEZ PANDA i don’t know about …

but if you do use TinyCLR 1.0 you loose .NET Microframework (or you should make your own firmware for .NET Microframework)

so i want to make you some clarification …

  • .NET Microframework have some old features so you need to find an replacement for them
    1.) do not suppport new IDE (but with some hack you can use VS2017 at least stable and VS2019 no stable)
    2.) lack of TLS 1.2/TLS1.3 (now this is requirment to connect for IOT)

    3.) if none above (1 and 2) so then you can still use old .NET Microframework with VS2015 (VS2013) and GHI SDK …