我正在制订<条码>。 Telephone application that GETS data from my ASP.NET
web services that Return seriesized JSON strings. 我的方法如下:
[WebMethod(Description = "Set GPS Location")]
[ScriptMethod(UseHttpGet = true, ResponseFormat = ResponseFormat.Json)]
public string SetGPS(int userId, double lat, double lng)
{
...
return cord.SerializeToJson();
}
Ignoring my temporary anti-pattern of returning a string, what would be a simple, but effective way to provide a security mechanism to ensure that communication between the client and server is secure?
I feel a bit at a loss in my transport to the iPhone and I don t know where to start.