home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Software / TemaCD / sharpdevelop / 087cSetup.exe / data / templates / file / VBNETWebService.xml < prev   
Encoding:
Extensible Markup Language  |  2002-03-20  |  890 b   |  33 lines

  1. <?xml version="1.0"?>
  2. <Template Originator="Christoph Wille" Language="VBNET" Created="6/13/2001" LastModified="6/13/2001">
  3.     
  4.     <TemplateConfiguration>
  5.         <Name>VB.NET Web Service (bare bones)</Name>
  6.         <Icon>VB.Project.VBWebProjectIcon</Icon>
  7.         <Category>Web Services</Category>
  8.         <LanguageName>VBNET</LanguageName>
  9.         <Description>Simple start for a Web Service in VB.NET</Description>
  10.     </TemplateConfiguration>
  11.     
  12.     <TemplateFiles>
  13.         <File DefaultExtension=".asmx" DefaultName="Empty">
  14.  
  15. <![CDATA[<%@ WebService Language="VB" Class="YourClassname" %>
  16. ' created on ${Date} at ${Time}
  17.  
  18. Imports System
  19. Imports System.Web.Services
  20.  
  21. Public Class YourClassname : Inherits WebService
  22.     ' <WebMethod()> Public Function SampleMethod() As System.String
  23.     '    SampleMethod = "Hello World"
  24.     ' End Function
  25. End Class
  26. ]]>
  27. </File>
  28.     </TemplateFiles>
  29.     
  30.     <FileOptions/>
  31.     
  32. </Template>
  33.