Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Creating Web Service using VB.NET
Author:
Zeeshan Mahmood
E-mail:
Click to e-mail author
Website:
http://www15.brinkster.com/visualaspkit
Submitted:
12/31/2003
Version:
VB.NET
Compatibility:
VB.NET
Category:
Internet Programming
Views:
19576
One of the most important feature of Microsoft .NET technology is Web Services. Web services is just like RMI's(Remote Method Invocation) in Java, but Microsoft implements in more efficient way. In this code snippet I will describe you how to create Web Service using VB.NET.
Declarations:
'The methods that you want to expose publicly marked as
.
Code:
<%@ WebService Language="vb" Class="Visitor"%> Imports System.Web.Services Public Class Visitor
Public Function Hello(ByVal Name As String) As String Return "Hello, " & Name & ". Have a great day!" End Function End Class 'Now save this file "Visitor.asmx" 'Put the file in your virtual directory or Inetpub folder. 'IIS 5.0 or later and .Net Framework 1.0 or later is installed in your system. 'Open your web browser and type the web service address.
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement