Devam Ediyor

Create C# classes from documentation

Hi all,

** Overview

I want to call a JSON RPC server. I want the JSON objects to be easily serialized and deserialized into my C# POCO design.

I have put together the design template of a class structure written in C# that I wish you to implement. This included some basic interfaces and a requirement on ///summary notations.

** Technical

The RPC server I want to call is the Bitcoin daemon (bitcoind).

All of the BitcoinD RPC calls can be found documented here : [url removed, login to view]

I want you to implement:

1) A class for every RPC request (with the below interface and attribute)

2) A class for every RPC response (with the below interface and attribute)

3) Paste the method's documentation in ///summary notation in each Request class.

** Example

I have attached a sample C# DLL project and will walk you through this example.

Lets look at the list of RPC calls and choose an example call - AddNode -

[url removed, login to view]

1) First things first - we create an AddNodeRequest and AddNodeResponse class.

2) We implement the IBaseRequest and IBaseResponse interfaces which require an 'Operation' string.

3) We place the description of AddNode in //summary notation for the AddNodeRequest object.

4) We look at the parameters that AddNode call requires, add them into the AddNodeRequest class and decorate them with a RequestParameterIndex attribute.

5) We create /// notations for each parameter by pasting in the documented description.

5) If there are any strings which are fixed and suitable for enums we implement.

6) The AddNode call's request object is null - we we just have a blank POCO nice and easy.

7) We move to the next object!!!

public class AddNodeRequest : IBaseRequest

{

public string Operation { get; } = "AddNode"; //

Beceriler: .NET, C# Programlama

Daha fazlasını görün: blockchain bitcoin json rpc api, bitcoin json rpc api, bitcoin rpc api, vb6 api wrapper, google api wrapper, api wrapper google, google maps api wrapper delphi, google adwords api wrapper net, zoho rpc api, google ajax search api wrapper, xml rpc api united states map, yahoo net api wrapper, yahoo search api wrapper, google search api wrapper, php xml rpc api key

İşveren Hakkında:
( 0 değerlendirme ) United Kingdom

Proje NO: #15647817

Seçilen:

mauricemarinus

I was going to suggest : [url removed, login to view] .just paste your json in there and generate some classes. But then read the extra instructions... Yes I am bidding on this Relevant Skills and Experience 17 y Daha fazlası

10 gün içinde 55£ GBP
(74 Değerlendirme)
5.8

5 freelancers are bidding on average £163 for this job

talhaamin

I have great experience in writing C# classes, and i can follow instructions very precisely and timely. I have huge experience of writing POCO classes, even i have written a generator for POCO Relevant Skills and Exp Daha fazlası

in 2 gün içinde66£ GBP
(25 Değerlendirme)
8.5
papon13

Hi there, I am expert on C#. I have completed many project on Json serialized and deserialized. I can post json data and get json data. Thanks in advance, Noor All Safaet

in 5 gün içinde100£ GBP
(73 Değerlendirme)
6.3
khp31

Sr. Software Professional having 8+ years experience. Relevant Skills and Experience Angular CLI, Angular 4, Angular 2, Angular Js, C# .Net, MVC , PHP, HTML, CSS, Bootstrap, Typescript, Javascript, Jquery, ASPBOILERPL Daha fazlası

in 10 gün içinde529£ GBP
(23 Değerlendirme)
5.0
BeautiCG

hello,dear. It's my pleasure meeting you. I have read your requirements and I fully went through it. I am confident and I am sure that I can do your project. Please contact me for further discussing. Thanks for your in Daha fazlası

1 gün içinde 66£ GBP
(2 Değerlendirme)
2.8