I have a desktop client application build under .net 4.0 and WPF.
In this application I need to send /Receive data from a client app on a Windows Mobile, this would be through Wifi.
I have no deep experience on this and would like to here your advise or approach on how to do it.
I already done such scenario throuh a wire network between different client through a WCF service hosted under a Server2008 but would like to do a be directionnal sync app between phone and my client.
Could you post me some ideas or sample approach?
thnaks for help
sergeenter code here
Check out servicestack. http://servicestack.net/. Pretty simple to get up and running on the server and client side. There isn't a WP7 client for it, yet but RestSharp works fine.
Sample of how you might host in a WPF app:
Related
We are currently trying to add OAuth2.0 for authentication into an existing Adobe AIR mobile app for a client. We are trying to carry this out by using this library https://github.com/charlesbihis/actionscript-oauth2 from this article.
We have tried using instances of the 'StageWebView' class and the Feathers UI 'WebView' class to display the authorization prompt page within the mobile app itself.
When we publish the app locally on our development PCs, the whole process works ok. However, as soon as it is published to our iPad(s) for testing, it is almost as if some security setting stops the "embedded" website from communicating with to the server.
As the website we are trying to communicate with is a https:// address, I'm assuming that this might be causing issues, but I can't confirm this.
Has anyone out there found themselves in a similar situation?
Thanks,
Dave
I want to develop an ios app on xcode which provide an web crawler service to the user. So I want to implement a server and implement a php web crawler in it which will server as a backend of my app. I had installed ubuntu server on my pc, is it possible to implement web crawler service on that. If not then which server can I use and how can I connect it with my ios app.
You are missing a question mark AND the only sentence i can figure out to be a question is wether or not it is possible, therefore:
YES
i am developing a ios app in which i need to create instant text chat with a back end .net server.
And in future also use this server through my andropid app.
how can i achieve this goal ?
You can use signalR with your .net backend. SignalR is a library that handles persistent socket connects via websocket, serversent, long polling etc. Research SignalR and you will find plenty of examples and implementations. Your IOS application can import the Obj-c SignalR client. The client understands the protocol used to communicate with the server.
It's pretty basic and easy stuff to implement.
SignalR .Net
http://www.asp.net/signalr
Objective-c Client
https://github.com/DyKnow/SignalR-ObjC
I have completed the tutorial in
http://azure.microsoft.com/en-us/documentation/articles/mobile-services-dotnet-backend-ios-get-started-push/
and able to receive push notification on my iPhone. The question is, if my website is ASP.NET, how can I get my website to talk to mobile services? Or it is not possible at all ?
Yes, you can definitely communicate ASP.Net website with mobile service. Download Nuget Package for Microsoft.WindowsAzure.Mobile.Service and add reference - http://msdn.microsoft.com/en-us/library/microsoft.windowsazure.mobile.service.aspx.
Instantiate MobileService instance using App Key and secret. And start consuming the DBs as service. There are lot of tutorials for this - http://blogs.msdn.com/b/mim/archive/2014/02/28/windows-azure-mobiles-services-c-backend-en-version.aspx.
Best way to get used to , is download simple TODO app for .net Backed Mobile service and see how that works.
last year I made really simple blog system. it allows user to authorize, posting, commenting. Now I want to create windows mobile/wp7 application that can adding new posts to my blog. But I have no idea how should it work. Should my web app share some api for this or my phone app should just sending specified request to server? I'm interessting how do facebook phone apps work? How they pass data to fb etc.
It would be great if anyone knows book, tutorial or something about connecting web app and phone app. I rather need app architecture tutorials than codes.
PS I know I can just open phone browser and login on website but I want to do it for fun :)
One way of approaching this is create a few actions in your controllers to return data in a format that is friendly to a WP7 app, for example, return JSON rather than HTML.
In your WP7 app you will make HTTP requests to these actions and receive the data in JSON format. From there it's up to you to handle that information on the phone.
What is the back-end of the blog system? Almost any DB data can now be exposed out as an OData Service that can be consumed on a Windows Phone app & also provide CRUD operations. Is OData a possibility?
Check out these two posts for details:
http://www.silverlightshow.net/items/Producing-and-Consuming-OData-in-a-Silverlight-and-Windows-Phone-7-application.aspx
http://www.silverlightshow.net/items/Connecting-Azure-Windows-Phone-through-OData.aspx
The second one does talk about how a central data store can be shared between web & mobile apps.
Hope this helps!