Example #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        NashService.Service svc = new NashService.Service();
        IAsyncResult result = svc.BeginHelloWorld(null, null);

        result.AsyncWaitHandle.WaitOne();
        Page.Response.Write(svc.EndHelloWorld(result));
    }
Example #2
0
    protected void Page_Load(object sender, EventArgs e)
    {
        NashService.Service svc    = new NashService.Service();
        IAsyncResult        result = svc.BeginHelloWorld(null, null);

        result.AsyncWaitHandle.WaitOne();
        Page.Response.Write(svc.EndHelloWorld(result));
    }