System.Web.Services.WebMethodAttribute Class
Information   Base Types   Related Resources

Adding this attribute to a method within an XML Web service created using ASP.NET makes the method callable from remote Web clients. This class cannot be inherited.

  • Namespace: System.Web.Services
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: System.Web.Services.dll

  • System.Attribute
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (17)Discussions (34)MembersRotorChanges
    Articles

    Page: 1
    .NET Framework and Web Services - Part II
    C# Corner
    Here we are going to learn how to create a WebService using VS.NET (using VB.NET.) and Consume the Webservice from VB.NET Client. This Article is based on VS.NET RC1 Release.
    .NET Framework and Web Services - Part III
    C# Corner
    In part II we learned how to create a Web service and how to consume it from a VB.NET client. Here I am going to explain Web methods.
    Bugslayer
    MSDN
    Bad Code? FxCop to the Rescue
    Common .NET Libraries for Developers
    MSDN
    Identifies and defines many of common namespaces that you will use when developing .NET applications, and provides examples of the most common classes and methods in those namespaces.
    Creating a Simple XML Web Service
    DotNetJunkies
    In this article, Doug builds a basic XML Web Service using the ASP.NET Framework. Doug will progress into building more complex XML Web Services, but he has to start somewhere.
    Design Secure Visual Studio.NET Web Services
    http://security.devx.com/
    VS.NET Web services designers make two critical mistakes when connecting their Web services to database servers.
    HOW TO: Write a Simple Web Service Using Visual Basic .NET (Q301273)
    Microsoft Support
    This article describes how to write a simple Web service, called MathService, that exposes methods for adding, subtracting, dividing, and multiplying two numbers.
    Return Custom Data Types From Web Service Methods
    Visual Studio Magazine
    Most Web service demos you see out there consist of a service that takes in simple types (such as numbers or strings) and returns simple types. However, most Web services you'll create will have to deal with complex types such as structures, objects, and arrays.
    Speed Up Web Services With Caching
    Visual Studio Magazine
    Web Service execution can take a long time to complete, not to mention consume expensive system services while processing a client request. .NET can optimize your Web Service execution, however, by caching the results of previous invocations.
    Transactions In Web Services
    C#Today
    The ASP.NET Framework enables transactional processing in classes, Web Forms and Web Services. We can use transactions to ensure an entire set of functionality successfully completes, or all data changes are rolled back if a portion of the functionality fails. In this article, Doug Seven looks at how we can implement transactional processing in a Web Service. The syntax for enabling transactions in a Web Service is different from the syntax for doing the same in either a class or a Web Form.
    Using SOAP Header to Authenticate a Web Service Consumer
    C# Corner
    In this Article we are going to use SOAP Header to authenticate the WebService users. Let’s consider a WebService that allows consumers to get the order details based on order ID (which they placed from the web).
    Using UDDI at Run Time
    MSDN
    This article walks through using UDDI at run time and discusses how UDDI, both the public registry and UDDI Services available in Microsoft Windows .NET Server, can act as infrastructure for Web services to support client applications.
    Using Web Services Instead of DCOM
    MSDN
    This document examines the advantages of using XML Web services over DCOM and demonstrates how to implement an XML Web service and consume it with a Microsoft .NET client application
    Using Web Services to Accept a Binary Large Object
    ASPToday
    Binary Large Objects, also known as BLOBs, are variable data types used in most modern database management systems to store files.large binary or character data. Web Services provide a way to work with BLOBs to distribute some of the processing involved in the converting and editing of large text or multimedia files. In this article, Robert Paxman will demonstrate how to store and retrieve BLOB data from an SQL server and how to create and use a Web Service to accept and convert an image file into a smaller thumbnail image.
    Web Methods Make it Easy to Publish Your App's Interface over the Internet
    MSDN
    Web Services are a great way to accept and manage contributions to a public clip art library, digital music catalog, or corporate knowledge base. Since the SOAP interface to a Web method operates over HTTP, contributors can easily publish content any time, from anywhere across the Internet. However, accepting binary content and managing content metadata through SOAP over HTTP presents Web Service developers with some interesting design decisions. This article discusses three ways to enable content publishing using Web methods.
    XML Classes from Web Services
    XML Magazine
    Although Web services can be used to return simple types such as integers and strings, I'll focus on how different XML-related classes found in the .Net platform can be returned from Web services to allow consuming clients to integrate the data received into an application using technologies such as XSLT. After introducing a simple example of how the XmlDocument and XmlNode classes can be returned, I'll walk you through a news filter Web service that demonstrates why and when you may want to return these object types from a Web Service.
    XML Web Service Caching Strategies
    MSDN
    Despite advancements in network and processor speeds, performance remains a key concern among application developers. So whether you are writing an XML Web service, pushing image bitmaps to a video card, or even engineering that next great processing chip, you will invariably want to consider utilizing a universal mechanism for improving performance: a cache.
    Ad


    Need Dot Net Interview Questions?
    Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
    .Net Projects
    Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
    Free .net Help
    Commission ExamGuru, Inc. and his team for your next bespoke software project
    FogBUGZ
    The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
    Awesome Tools
    If you don't know about these, you're missing out... IT Certification Questions
    IT Interview Questions
    Free Oracle 10g Training
    MCSE Boortcamp
    Cisco Study Guides
    Cheap Study Guides
    Exact Questions
    Dot Net Interview Questions
    Oracle OCP
    Cheap Travel
    Designer Perfumes - Wholesale Prices
    Free Programming Tutorials
     
    ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
     Copyright © ExamGuru, Inc. 2001-2006
    Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification