Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > Wrapper libraries >

C# Api scope / life cycle

Started by Ron Tape -   in Wrapper libraries

Using the .net framework API. What is the recommended scope or life cycle when instantiating the Xero API? Specifically when its a private and I'm trying to get as async as possible. Currently I have a new instance per class where each class is instantiated when needed.