Sunday, December 1, 2013

IOS how to access the server application

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:
reference to the second floor of the 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 ~



"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:
reference to the third floor of the reply:
reference to the second floor of replies:

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 ~



"Backend server provides an interface," What kind of interface can? ? ?

Development services ......


? 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:
references, 5th Floor reply:
reference to the third floor of replies:

2nd Floor cited 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 ~



"Backend server provides an interface," What kind of ......


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:
referenced 8th Floor reply:
WebService based on your description is quite suitable


. "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:
reference to the 11th floor of the Re: Next
"IOS" is "Object-C", and "WebService" and "WCF" and so are "net C #. ", and it can access it?


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:
reference to the 13th floor of the reply:
http request is not it? How can not access

I now ios can access tomcat rest


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:
reference to the 15th floor 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.


Yes, the main function is to resolve "SOAP", read the data. In ". Net C #" under data is XML serialization, and how to resolve? ? ?
Reply:
The reply was deleted at 2012-04-27 09:40:52 moderator

Reply:
reference to the 14th floor of the reply:
reference to the 13th floor of the reply:

Http request is not it? How can not access

I now can access tomcat rest
ios

Access to, 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? ? ?


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:
The reply was deleted at 2012-04-28 08:29:54 moderator

Reply:
reference to the 19th floor Reply:
if you 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, the book East West 1, next turn ......
< br />
because the PC you want to use "Silverlight", so the service using "WCF RIA Service" foreheads. . .
Reply:
reference to the 19th floor Reply:
if you 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, the book East West 1, next turn ......
< 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:
reference to the second floor of the 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 ~
Top ~ ~ ~ ~ ~
Reply:
CFNetwork
Reply:
The reply was deleted at the moderator 2012-08-30 13:26:03

No comments:

Post a Comment