views:

57

answers:

2

I Have an application in my account and I want to call a method that takes int number and return one int number (int someMethod(int someVar)) from client application that must be written in C#.

+3  A: 

All that you have to do to call a method in an AppEngine application is to expose it as a URL that your app handles. Your C# application can use WebRequest to make a request to that URL.

Adam Crossland
thank you very much.
Vitaliy1
A: 
WebRequest wr = WebRequest.Create(Your method URL);

You can URL using some program like HTTP Analyzer.

wr.Headers.add(headerName, value); //the same as in HTTP Analyzer show;      

WebResponse response =  wr.GetResponse();