REST API - C# Facade namespace

Hi Gang,

I've done plenty of work with the SOAP API, but I'm a noob with REST.  I'm beginning to setup a .NET Web Application and I've downloaded the SDK and the Developer Tools from TASK.  I've loaded the Tessitura.Service.Client and Tessitura.Services.Common.Client DLLs into my Application.

I notice that the Program.cs file in the SDK references the namespace Tessitura.Service.Facades - this same reference appears in the Libraries section on the browser-based API information.  There is also a line in the Program.cs file that calls a function TessituraServiceFacade (presumably part of the .Facades namespace)

Here comes the noob part - I don't see any files in the Developer tools that define this namespace.  It just seems like a broken reference in the SDK.   Am I missing a file? Any help appreciated.

 

Thanks,

Bill Waugh
Starlight Theatre
bill.waugh@kcstarlight.com
816-997-1118

Parents
  • Hi Rick – Yes, in fact I did get a response from Tessitura – apparently the SDK that they posted for V12.5 was messed up and didn’t include all the necessary files.

     

    I’ve attached the full SDK that they sent me which includes TessituraServiceFacades.cs and TessituraServiceContract.cs classes.

     

    I’m still struggling a little bit with how to get TNEW shared session authentication working with the REST API, but having the ServiceFacades.cs file makes all of this much easier.

     

    Cheers,

     

    Bill Waugh
    Starlight Theatre
    (:: 816-997-1118 (o)
    (:: 816-444-2117 (f)   
    *:: 4600 Starlight Road, Kansas City, MO  64132
    8:: Email:  bill.waugh@kcstarlight.com

     

     

     

    From: Tessitura Technical Forum [mailto:forums-technical@tessituranetwork.com] On Behalf Of Rick Crawford
    Sent: Wednesday, March 01, 2017 3:41 PM
    To: Bill Waugh <bill.waugh@kcstarlight.com>
    Subject: Re: [Tessitura Technical Forum] REST API - C# Facade namespace

     

    Bill, 

    Wondering if you've had any offline responses to this post?

    We're investigating moving from the SOAP API to the REST API in our web project and I downloaded the SDK from the /TessituraService/Libraries page of our REST API service.  After hunting around on tessituranetwork.com I uncovered an "Advanced API" PowerPoint slideshow that suggests there should be TessituraServiceFacades.cs and TessituraServiceContract.cs classes included in the SDK project, but appear to be absent.

    Thanks,

    Rick Crawford

    Stratford Festival

    From: Bill Waugh <bounce-billwaugh2513@tessituranetwork.com>
    Sent: 2/17/2017 10:22:25 AM

    Hi Gang,

    I've done plenty of work with the SOAP API, but I'm a noob with REST.  I'm beginning to setup a .NET Web Application and I've downloaded the SDK and the Developer Tools from TASK.  I've loaded the Tessitura.Service.Client and Tessitura.Services.Common.Client DLLs into my Application.

    I notice that the Program.cs file in the SDK references the namespace Tessitura.Service.Facades - this same reference appears in the Libraries section on the browser-based API information.  There is also a line in the Program.cs file that calls a function TessituraServiceFacade (presumably part of the .Facades namespace)

    Here comes the noob part - I don't see any files in the Developer tools that define this namespace.  It just seems like a broken reference in the SDK.   Am I missing a file? Any help appreciated.

     

    Thanks,

    Bill Waugh
    Starlight Theatre
    bill.waugh@kcstarlight.com
    816-997-1118




    This message was sent automatically to you by www.tessituranetwork.com because you subscribed to the Tessitura Technical Forum. You may reply to this message to post to the Technical forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

    CSharp.zip
  • Hi Bill,

    I was happy to find this thread, as sample project I just downloaded is apparently the same incomplete one that you downloaded previously.

    This still doesn't build (for me) however: it's telling me that "'Tessitura.Service.Payment' is a 'namespace" but used like a 'type'".  Is this a version incompatibility perhaps between the sample project and the DLLs I just got?

    --Gawain

Reply
  • Hi Bill,

    I was happy to find this thread, as sample project I just downloaded is apparently the same incomplete one that you downloaded previously.

    This still doesn't build (for me) however: it's telling me that "'Tessitura.Service.Payment' is a 'namespace" but used like a 'type'".  Is this a version incompatibility perhaps between the sample project and the DLLs I just got?

    --Gawain

Children
No Data