Web Server for my device on the .NET Micro Framework - webserver

I want to have a Web Server as an interface for users to tweak my device. The device is being written in the .NET Micro Framework.
I can write my own Web Server in C# that serves static pages, it's not difficult. But I am looking for a Web Server that supports some type of server side technology, like ASP.NET or PHP, so that from there I could mess with my hardware settings. Is there either a commercial offering or a free one?
Thanks.

You could use the HttpServer class inside the .NET MF Toolkit at http://www.mftoolkit.net/.

Related

Accessing Private Web Services from iPhone app

We have our website hosted on external data center and it interacts with various asp.net web services hosted on in-house servers. For security reasons, we have blocked public access to these web services and only external data center where website is hosted has access.
Now we are creating a iPhone app for the website and I'm wondering how we can access these private web services from the app which are downloaded to users' phones. Do we need to create a middle ware layer to accommodate the communication between iPhone app and the private web services? Or is there a better solution.
Phoenix,
Unfortunately for this type of application you need to create an intermediary layer. To do this you can create APIs with .Net to respond the calls required, resulting in an XML file and / or JSON that is perfectly interpreted by iOS frameworks. I thing that it is the best way.
Good Lucky

Lotus Native Application on iPhone

How can i make a lotus application an iPhone native apps?
For e.g: eLeave.
The submit or approve action button in the form was created using lotusscript. So how can it work in iOS ? I have no idea how can i extend my lotus application to an iPhone Native Apps. Someone had suggested to use either SOAP or REST via HTTP to communicate between iOS and domino. But i don't even know what can i do with SOAP in my apps.
Pls help.
The suggestions along the lines of SOAP or other HTTP-based access to the data are correct. Since you can't just port a Notes app to the iPhone (for a variety of reasons) or use the Notes Java API classes (since the iPhone doesn't have Java), some form of HTTP access is your best bet. Either traditional Domino web access via forms or XPages are most likely the best way to go, since then you can write your UI in Designer. If you don't want to or can't do that for whatever reason, you're on the hook for writing the UI for your iOS app separately and then connecting to Domino via Web Services or REST functionality.
SOAP Web Services are probably what you want. They have the advantage of being supported directly in Designer - you can create a Web Service Provider in LotusScript or Java in much the same way you would write an Agent or Script Library. You would have to write methods to access and update the data you want, but it would also mean you have full control over what happens. You could re-implement your form-submission code as a web service call that takes the changed data as parameters and then does whatever manipulation you want and creates/saves the document.
It does depend on the version of Lotus/Domino you are running. This could be a start XPages Mobile Controls I am not sure about the "native"here. This is XPages, web based.
Based on your comment, I know of one native application TSAzr. This application uses XPages as web-services on the domino server. A bit more info can be found here dominoGuru
Your follow-up suggests that a mobile-optimised web application will not cut it, and that you want a native application. This means writing a new iOS application, end of story. There are different ways to go about this of course—e.g. you could build a web app and then wrapper it using something like Appcelerator Titanium, or PhoneGap—but ultimately, you need to write something.
As #Jesse Gallagher has already stated, Notes applications can't be ported directly to an iOS device. Apart from anything else, a Lotus Notes client application is a proprietary data store (NSF) sitting within a C and C++-based client built and compiled for the relevant underlying platform (Win or OS X). There is no direct analogue for iOS other than re-coding your app (of course, you could re-use the existing Lotusscript business logic via web service calls, as detailed in earlier answers).

Web service integration with iphone

I want to create iphone native app. which will use web service.Could any one tell me how many languages is supported by apple for web service. And which the best in performance ??
Your web service implementation is completely independent from your iPhone native app. Apple does not care what language you implement your web service in.
However, your web service client (i.e.: your iPhone app) must be written in Objective-C.
Simple Object Access Protocol is a webservice multi-platform language, and its the default for web services.
In a SOA these problems are addressed. Because the need to communicate with services that are not in the same programming language is something that happens normally. And there appears the SOAP protocol to normalize it.
This is independent from your iPhone.

Client-server web app with both client AND server running on iPhone - is this possible?

I'd like to build a simple native iPhone app with tools traditionally used for web apps.
I would prefer to use something like jQTouch and Rails, but I want it to work offline (not require an internet connection or a server).
Is there a framework that enables simple creation of native iOS aps by encapsulating a lightweight web server and a server-side app framework (Rails or something simpler and more lightweight that can run on a phone), thus allowing you to write the client side code in HTML+JavaScript ?
If there is not such a thing, is there a way to create an app (with HTML+JS) that basically only has a client-side component with persistent data storage?
Thanks.
Have you tried Phonegap?
www.phonegap.com
You write your app in HTML/CSS/JavaScript.
You access the phones APIs through JavaScript - boom!
Also; Appcelerator Titanium would be an option: http://www.appcelerator.com/
-IMO Titanium is more powerful, and offers a more native look.
Why would you want to run a webserver off of the iPhone?
Is it so that you could send back data to the mothership?
Yes, you can included a lightweight http server running in another thread inside your iPhone app, and have your UIWebView connect to it. But unless you are going to do a fancier web server that generates dynamic content, it might be easy to just download your HTML/CSS/Javascript content to a local directory, and then point any URLs to those local files when offline.

How to get started on SOAP service on Windows Phone 7?

Hey guys, I'm a student that is trying to develop a Windows Phone 7 app that uses a free web service that can be accessed via SOAP protocol. They have the web service address and the .wsdl address.
I'm pretty confused since all that I've seen mentions .asmx instead of .wsdl, can somebody point me to the right direction to start implementing the web service usage in my app?
Thanks in advance
WSDL is the standard for SOAP-based web service description. It's an xml-based description of webservices that allows client proxy code generation across platforms. ASMX is just an extension for a webservice page. They're separate entities.