Click here to Skip to main content
Click here to Skip to main content
 
Add your own
alternative version

Build ReST based Web Services in .NET/C#

, 12 Jul 2009 CPOL
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
<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="something" value="=asdfasdf"/>
  </appSettings>
	<connectionStrings/>
	<system.web>
		<!-- 
            Set compilation debug="true" to insert debugging 
            symbols into the compiled page. Because this 
            affects performance, set this value to true only 
            during development.
        -->
		<compilation debug="true">
		</compilation>
		<!--
            The <authentication> section enables configuration 
            of the security authentication mode used by 
            ASP.NET to identify an incoming user. 
        -->
		<authentication mode="Windows"/>
		<!--
            The <customErrors> section enables configuration 
            of what to do if/when an unhandled error occurs 
            during the execution of a request. Specifically, 
            it enables developers to configure html error pages 
            to be displayed in place of a error stack trace.

        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
		<httpHandlers>
      <add verb="*" path="RESTService/*" type="PoC.Web.Services.ReSTServiceHandler, PoC.Web.ReSTService"/>
      <add verb="*" path="RESTService/*/*" type="PoC.Web.Services.ReSTServiceHandler, PoC.Web.ReSTService"/>
      
		</httpHandlers>
	</system.web>
	<system.webServer>
	</system.webServer>
</configuration>

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

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