Component for desktop app from OAuth v1 to v2 for Xero SDK 2.2.9 | C# Programming

Get Custom Essay on Component for desktop app from OAuth v1 to v2 for Xero SDK 2.2.9 | C# Programming

Let Our Team of Pofessional Writers Take Care of Your Paper.


We have a VB6 app that uses a C# dll. This dll is an add-on that extends the functionality of the main app and it integrates the Xero api. The VB6 app currently uses Xero’s private model app which is how one integrated vs1 of OAuth. They have phased it out and now use v2 and so that dll needs updating.

You may download VS solutions that contain SDKs and a project that details how the current dll is structured from http:\[login to view URL]temp7.rar. More on this download below:

* Folder 1_1: This project is our original dll that implements the old SDK ([login to view URL] with OAuth v1.0. It includes a reference to the new Xero SDK ([login to view URL] 2.2.9) under reference [login to view URL] but that uses OAuth 1.0. We require v2.0. This project compiles.

* Folder 1_2: SDK for [login to view URL] for OAuth v1.0.

– Link:

[login to view URL]

* Folder 1_3: SDK for [login to view URL] 2.2.9 for OAuth v1.0.

– Links:

[login to view URL]

[login to view URL]

* Folder 1_4: SDK for [login to view URL] 2.2.9 for OAuth v2.0.

– Links:

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

The project scope is as follows:

* Come up with a modified dll that implements v2 of OAuth as per the Xero guidelines

* The dll will have to use the latest Xero SDK which is v2.2.9

* Important: we do not wish to use the Xero REST methods but the latest SDK with OAuth 2.0 support (See last paragraph below for more on Xero REST methods)

* There is little coding with api’s proper needed: just coding the way the connection and authentication with Xero is done via v2 of OAuth which potentially if the SDK is used is 10 to 20 lines of code. We also require some basic code for getting Xero contacts and checking for a customer account number in a Xero company. Again this is maybe 40 or 50 lines of code.

We want for the new code to as much as possible resemble the code in the project under folder 1_1 but using the new SDK whose code we include in the other folders. This is especially the case about the main bulk of the project for handling Xero data such as the method CheckContactExists that as a company we’ve developed. The big issue the coder needs to check is if there is an object like the [login to view URL] you’ll see in project under 1_1 as this is the entry point into Xero we used before for all our api methods. If there is no such object or it requires a new Freelancer project, we need to know. We still need the code for managing connections via OAuth v2.0 and its SDK.

Because Xero only allows 30 minutes connection time with OAuth 2.0, we need to open and close connections to Xero whenever we perform a CRUD operation rather than leave the connection open as was previously the case in project 1_1. So for GetAccountsContact method in class clsXeroCommon, the Token details should be read and passed to open a connection and the Repository (or whatever it is now called) is then accessed. You could use the OpenConnection method to pass the ClientID, RedirectURL,… parameters you had before to your class and class-wide variables or pass them in a constructor to the class.

Once we have this, our company will implement all the functionality we require and currently offered by our original c# dll (in folder 1_1).

Download file [login to view URL] for more on this project.

Skills: C# Programming

See more:
countdown timer desktop app, turn desktop app web app, ajax windows desktop app, security desktop app, secure desktop app, flash php desktop app, using ffmpeg windows desktop app, desktop app save file web, web templates look desktop app, win service start desktop app, cool desktop app user interfaces, crystal report desktop app example, csharp desktop app, develop desktop app, interfaces desktop app, convert vb6 desktop app web based asp, convert desktop app web, convert desktop app web app visual studio, task management desktop app, ustream desktop app

53 reviews


United Kingdom

Project ID: #27647565

Get 20% Discount on This Paper
Pages (550 words)
Approximate price: -

Try it now!

Get 20% Discount on This Paper

We'll send you the first draft for approval by at
Total price:

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

Best Quality Essays has stood as the world’s leading custom essay writing services providers. Once you enter all the details in the order form under the place order button, the rest is up to us.


Essay Writing Services

At Best Quality Essays, we prioritize on all aspects that bring about a good grade such as impeccable grammar, proper structure, zero-plagiarism and conformance to guidelines. Our experienced team of writers will help you completed your essays and other assignments.


Admission and Business Papers

Be assured that you’ll definitely get accepted to the Master’s level program at any university once you enter all the details in the order form. We won’t leave you here; we will also help you secure a good position in your aspired workplace by creating an outstanding resume or portfolio once you place an order.


Editing and Proofreading

Our skilled editing and writing team will help you restructure you paper, paraphrase, correct grammar and replace plagiarized sections on your paper just on time. The service is geared toward eliminating any mistakes and rather enhancing better quality.


Technical papers

We have writers in almost all fields including the most technical fields. You don’t have to worry about the complexity of your paper. Simply enter as much details as possible in the place order section.