Platform is based on "asp.net + silverlight + MS-SQL", and now want to develop a "IOS" clients can access the platform. Because "IOS" not supported "Silverlight", so it can only develop client.
The question: What is a good way to solve this problem?
Question two: "IOS" How client applications to access data on the server "Win2003", on the server side should do? asp.net release of "WCF" service "IOS" You can not use it?
Question three: the IOS client should do? How "IOS client" in order to access the server. . .
Reply:
"IOS", "Android", "WP" to talk about these three platforms are chanting. . .
Reply:
LZ did not quite understand the meaning of
Access Server? And server interaction is a chant, transfer data, this is the case is that the back-end server provides an interface to the mobile client application requests directly to the load, and ASIHTTP to request a useful NSConnection, I frequented the request URL, is nothing more than GET and SET methods or XML interface, to see how the background is given a brief introduction to wonder if help ~
Reply:
"Backend server provides an interface," What kind of interface can? ? ?
Development Services client what language? Service interface can be called the client. . . Server environment under Win2003 Server.
Reply:
WinServer2003 under "IIS" published services, mobile clients can access it? For example, IOS, WP, Android and so on. . . How to provide data services for mobile phones end it?
Reply:
? Was not there when developing ASP.NET web form using it? xxx.aspx documents, such as this file is called jiekou.aspx that this would make for an interface.
Then use the method to access this page NSURLConnection iOS aspects, such http://xxxx/jiekou.aspx?id=123
This is an argument passed to the server, id = 3
Server receives this parameter id, you can search for information in the database.
The search for information using respond.write () method to write back, iPhone can receive, you can make xml, json her.
Then let the iPhone do you handle ah.
Reply:
This does not work, because the "aspx" page is a site where there is "Silverlight" and "Flash", IOS is not supported, so only the development of the client.
The key is to "IOS" How to access the service "IIS" on the?
Reply:
is not whether "WebService", "Socket" or "RPC" is possible, as long as the port pair.
Reply:
According to your description is quite appropriate WebService
Reply:
. "WCF" net under the can?
IOS can be accessed. "WebService" net under? ? ?
Reply:
Under "Android" is "Java", and "WebService" and "WCF" are all ". net C #", and it can access it?
Reply:
Under "IOS" is "Object-C", and "WebService" and "WCF" are all ". net C #", and it can access it?
Reply:
should be able to, but ". net C #" released, why "IOS" can have access to? ? ? Do not quite understand. . .
Reply:
Http request is not it? How can not access
I now can access tomcat rest ios
Reply:
can access, the key is how to resolve ah.
WCF is based on "SOAP", which can be parsed. . "There WCF client proxy classes under the Net", under the "Android" how to do it? ? ?
Reply:
Roughly guess mainly read data:
1 is mainly used webservice interface. To read the database data via ws.
2 is to write data to xml file, and then go read.
Reply:
Yes, the main function is to resolve "SOAP", read the data. In ". Net C #" under data is XML serialization, and how to resolve? ? ?
Reply:
Reply:
I do not know what you need to resolve
I now ios android and wpf are accessing the same rest
service
My service returns including pictures of bytes (of course, to resolve what to display), strings (this you will not get it), a string in XML format (and then I turn myself into a category)
Reply:
If you want to use WCF services,
Then of course there is no direct access to WPF, in the service and client are class, uniform use (I guess you can not see the level of this point, this is an object-oriented), and immediately be able to use the
The principle is to get through the service and byte strings
Then how do everyone, every company has a different approach (to get the data of how to do it? How to do on how to do it)
Not despise you, I am also someone who has, it reminds me before you bring those younger, new to the service, reading to see more, a book East West piece, next to dead people advice, but reminded him too did not listen carefully
You slowly realize it
Reply:
Reply:
< br />
because the PC you want to use "Silverlight", so the service using "WCF RIA Service" foreheads. . .
Reply:
< br />Top ah. . .
Reply:
webservice or socket bar
Reply:
webservice or socket bar. . .
C # and Object-C can also use the Socket communication is not it? ? ?
Reply:
Top ~ ~ ~ ~ ~
Reply:
CFNetwork
Reply:
No comments:
Post a Comment