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

DPWS/WCF (client/server)


  • Please log in to reply
5 replies to this topic

#1 Igor UFCG

Igor UFCG

    New Member

  • Members
  • Pip
  • 2 posts

Posted 26 July 2012 - 01:31 PM

Hello everybody! I am developing a project where I have to access a database on my computer using. Net micro framework for that I created a WCF server and would like to know how to create a client to consume this data in .Net micro framework to achieve that access. I heard that there is a technology called DPWS that can provide me with that customer, but how could I do this? Thanked!
  • Stefan likes this

#2 nakchak

nakchak

    Advanced Member

  • Members
  • PipPipPip
  • 404 posts
  • LocationBristol, UK

Posted 26 July 2012 - 03:50 PM

If your WCF service has a REST api use that with the the httpclient. If not write a proxy to the WCF service, either as a windows service using sockets or as a asp.net web app, i would recomend using a REST ful api as SOAP is to verbose and you will run into memory issues. Nak.

#3 Elliatab

Elliatab

    New Member

  • Members
  • Pip
  • 4 posts
  • LocationKyoto, Japan

Posted 27 July 2012 - 12:32 AM

I agree with nakchak, if you are using a Netduino Plus it will not support the DPWS features provided by NETMF (memory size issue).
REST solution using HttpRequest or even using only sockets is a very efficient option on Netduino.

I recommend having a look at Chapter 2 of Getting Started with the Internet of Things
the sample code from the book is a really good start.

#4 Igor UFCG

Igor UFCG

    New Member

  • Members
  • Pip
  • 2 posts

Posted 27 July 2012 - 01:32 AM

I agree with nakchak, if you are using a Netduino Plus it will not support the DPWS features provided by NETMF (memory size issue).
REST solution using HttpRequest or even using only sockets is a very efficient option on Netduino.

I recommend having a look at Chapter 2 of Getting Started with the Internet of Things
the sample code from the book is a really good start.


Hello, everyone.
In fact I will not use the netduino, I'll use the Tahoe 2, below is the feature of this board:
http://devicesolutio...ts/TahoeII.aspx
Será que com essa especificação daria pra utilizar o DPWS.
I am from Brazil...

#5 Igor Kondrasovas

Igor Kondrasovas

    Advanced Member

  • Members
  • PipPipPip
  • 105 posts
  • LocationPorto, Portugal

Posted 28 July 2012 - 03:51 AM

1343352771[/url]' post='32744']
Hello, everyone.
In fact I will not use the netduino, I'll use the Tahoe 2, below is the feature of this board:
http://devicesolutio...ts/TahoeII.aspx
Será que com essa especificação daria pra utilizar o DPWS.
I am from Brazil...


Hello Igor,
I am Igor too, and I am also from Brazil. So if you prefer to write in Portuguese, send me a private message or visit my website at www.duinolabs.com
I think you should try Netduino with REST as suggested by the guys. Is there any particular reason to not use it?
Thank you,
Igor.

Igor Kondrasovas

www.inovativatec.com


#6 Igor Kondrasovas

Igor Kondrasovas

    Advanced Member

  • Members
  • PipPipPip
  • 105 posts
  • LocationPorto, Portugal

Posted 17 August 2012 - 10:13 PM

Hello, everyone.
In fact I will not use the netduino, I'll use the Tahoe 2, below is the feature of this board:
http://devicesolutio...ts/TahoeII.aspx
Será que com essa especificação daria pra utilizar o DPWS.
I am from Brazil...


Hello Igor,

I was reading this paper yesterday and maybe this gives you some insights.

Regards,

Igor.

Igor Kondrasovas

www.inovativatec.com





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.