I need to create a web service with c# and asp.net
Im a little confused exactly how i should code this, whether i should
use a class file or if that would be unneccesary.
Its a web service that will calculate shipping costs for various states.
the 2 input parameters are state and weight (weight of the parcel).
I then need to return the shipping cost for the particular state in $.
Different states have different shipping costs, eg NSW and ACT is $12/kg
and theres 2 other rates for other states.
How would I go about firstly coding the web service, then the C# code in
the asp.net application?
The application will have a drop down list or radio buttons of various
states, which the user will pick one of. They will then enter the weight
into a textbox, click submit, and the weight should be calculated
corresponding to the state they entered.
I think this should be quite simple, however my C# skills aren't the
best, so I really do need some help.
Thanks in advance.