Click here to Skip to main content
13,144,300 members (34,253 online)
Click here to Skip to main content

Stats

89K views
5.3K downloads
55 bookmarked
Posted 12 Jul 2009

Build ReST based Web Services in .NET/C#

, 12 Jul 2009
A ReST based Web Service for C#.
using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace PoC.Web.Services
{
    /// <summary>
    /// Tag for a Service handled by ReST HttpHandler
    /// </summary>
    public interface IReSTService
    {

    }

    public interface IReSTFulService : IReSTService
    {
        object GetCall(string arg, HttpContext context);
        object PutCall(string arg, HttpContext context);
        object PostCall(string arg, HttpContext context);
        object DeleteCall(string arg, HttpContext context);
    }

}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Parag.Gadkari
United States United States
Loves coding...

You may also be interested in...

Pro
Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170915.1 | Last Updated 12 Jul 2009
Article Copyright 2009 by Parag.Gadkari
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid