I real开发者_如何学JAVAly want to run my test websites from an iPad to show to clients but I don't want to have to rely on the 3g connectivity or wifi. Can I run sites that are compiled from an App or something similar on the iPad?
I have seen Mono Touch but I wanted first hand views on this as if I can I'm going to buy an iPad ASAP.
You can use Service Stack to create web services. I'm sure you can serve up HTML one way or another. I haven't tried it.
What you're looking for is IIS or Cassini for the iPad, which doesn't exist, as far as I know.
Using MonoTouch, you'd have to create a native app that simply functioned as a browser shell and served up HTML. MVC works in Mono, so you could do it using a local db, but it would be a lot of work, and I'm not sure what that would buy you... Other than an iPad, which just might make the effort worth it. :)
Hmm, a bit of a hack, but extending waht ifwdev said, if you can expose services as JSON endpoints, you could mock the UI using raw HTML and Javascript instead of server side code (PHP/ASP.NET etc).
精彩评论