Kaushik SPOT Services for .NET Micro Framework
Posted 18 September 2011 - 09:54 AM
Please refer to Codeplex for more details. And a demo can be seen at YouTube. On Codeplex Home page and Documentation page have useful information.
This is my First project on Netduino Plus (In fact first on any Micro Controller and .NET Micro Framework). I hope all of you will like it and use it for further more to come.
Update Sep 21, 2011 : Added support for Windows Phone 7.1 (RC). Now Windows Phone can act as a Kaushik SPOT Services client.
Posted 18 September 2011 - 01:35 PM
Posted 18 September 2011 - 05:41 PM
Hey, congrats for the amazing framework!
I wonder how you were able to fit all that into a Netduino Plus!
It's best if you move this thread in the "Project showcases" section of this forum.
Thanks for sharing.
Posted 19 September 2011 - 07:09 AM
Posted 19 September 2011 - 08:59 AM
Posted 19 September 2011 - 09:12 AM
To make it simple I have summarized steps below:
1. Define an Interface that acts as a Service Contract. Interface should be marked with attribute SpotService and respective RMI methods should be marked SpotMethod
2. Implement interface defined in step 1 in a class
3. Register the class defined in step 2 using SpotServices.RegisterService(new <serviceclassname>());
4. Start Spot Services server using SpotServices.StartServer(<socketport>);
5. Code Generate proxy class using Kaushik.Spot.CodeGenerator, steps are explained in Demo Video and include in your client app (like Kaushik.Spot.ControllerApp)
You can see steps 1 to 4 in project named Kaushik.Spot.MicroServer. Step 5 is implemented in Kaushik.Spot.ControllerApp (UI project used in Demo) and Kaushik.Spot.ConsoleClient.TestApp (A simple load test project)
You are ready to have fun….
You can give me a specific example that you might want to implement and I will be glad to help you.
May we have some more sample code than the one shown in the video?
- identy likes this
Posted 21 September 2011 - 07:32 AM
Posted 28 September 2011 - 04:47 AM
Posted 20 November 2011 - 04:35 PM
Code if there on CodePlex. Happy Programming!!!
Posted 20 November 2011 - 04:53 PM
Posted 21 November 2011 - 04:55 AM
For those who did not understand what my work is all about I would like to explain it again..
This is a digital world where devices collaborate to solve some business problem. As we move ahead these devices are not limited to High end servers; we have PCs, Laptops, Smart Phones and Embedded systems that play a vital role in this collaboration.
My framework unites these devices by providing a communication platform based on RPC/RMI and Microsoft’s .NET Framework. You will be able to control and manipulate embedded systems from click of a button on your laptop or a windows phone. Any MS Developer can adopt this RPC/RMI Framework and use it as if (s)he is working with Web Services or WCF. (S)he does not require specialized skills to be able to establish such communication.
Netduino Plus is a Netduino with network capabilities. It gives us opportunity to communicate with this cool thing from other devices like PC and Phone using Ethernet. Writing stuff from ground up to realize what business problem you want to address would not be required if you use this. DPWS for sure is another thing that you may use, but then it is too heavy to run. If you use DPWS, you will be left with nothing on Netduino to do your own work.
Possibilities: You can securely control things in following setup:
1. Host RPC/RMI enabled Services on Netduino and control it from a PC and/or Windows Phone.
2. Host RPC/RMI enabled Services on PC and control it with a Netduino and/or Windows Phone.
It is Internet Of Things
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users