Share enum of a web service with the client

1

I created a web service where you have enumerators to keep track of an integer attribute, I would like to know how I can access this enumerator from another project in which I am using this web service.

Edit:

    
asked by anonymous 14.03.2018 / 17:30

1 answer

1

Since you did not specify what language you use in your presentation, I'm assuming you're sweating some C # solution.

In this way, what you have to do is create an empty Web Application project. It would look like this:

Allyourenumerators,shouldstayinthislibrary,thiswayyoujustreferreryouthisdllintheprojectinwhichyouwanttomakeuseoftheseenumerators.

Itwouldbeso

Iwouldnotuseitlikethis

    
14.03.2018 / 18:08