Click here to Skip to main content
11,640,907 members (64,228 online)
Click here to Skip to main content
Add your own
alternative version

Build ReST based Web Services in .NET/C#

, 12 Jul 2009 CPOL 78.1K 4.9K 56
A ReST based Web Service for C#.
PoC.Web.ReSTService.zip
PoC.Web.ReSTService
obj
Debug
PoC.Web.ReSTService.dll
Refactor
PoC.Web.ReSTService.dll
Properties
PoC_Web_ReSTService.zip
PoC.Web.ReSTService.dll
PoC.Web.ReSTService.dll
TestWebApp.zip
tstWebApplication1
App_Data
bin
PoC.Web.ReSTService.dll
tstWebApplication1.dll
Properties
tstWebApplication1.csproj.user
using System;
using System.Collections.Generic;
using System.Text;

namespace PoC.Web.Services
{
    /// <summary>
    /// Exception
    /// </summary>
    public class InternalErrorException : System.Exception
    {
        int statusCode;

        public InternalErrorException(int errorCode, string message)
            : base(message)
        {
            this.statusCode = errorCode;
        }
        public int ErrorCode
        {
            get { return statusCode; }
        }
    }
}

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...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150731.1 | Last Updated 12 Jul 2009
Article Copyright 2009 by Parag.Gadkari
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid