How to create a webservice and consume that service in a VB.Net Windows Form.
You can use same mechanism to consume the service in ASP.Net web form also with some minor changes
Imports System.Web.services
Public Class FirstWebService
_
Public Function Add(ByVal a As Decimal, ByVal b As Decimal) As Decimal
Return a + b
End Function
_
Public Function Multiply(ByVal a As Decimal, ByVal b As Decimal) As Decimal
Return a * b
End Function
End Class