WCF REST Service Template 40(CS)

Free

A WCF REST service template for C#.

(17) Review
Visual Studio
2010
Download (108,254)
3/4/2010
0.1
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (17)
Q and A (14)
Sign in to write a review
Sort by:

by Shreeharsh Ambli | Thu 2:00 PM

makes creating REST API projects damn easy!

by Leemeng | April 09 2014

Absolutely awesome!

by Sergio Parra | April 27 2013

Yeah!

by Mr. Wharty | June 08 2012

Nice!

by Dragan Radovac | April 14 2012

by nomuto1 | January 21 2012

awesome, time saver

by DaManJ | December 08 2011

Take a look at this article if you want security and authentication with your wcf rest service. http://www.codeproject.com/KB/WCF/WCFJsonRestHttpSecureRole.aspx

by Oliver Michalski | November 09 2011

Great Work - Thanks

by navcode | October 28 2011

by Alliston Carlos | October 19 2011

by SleepyCrat | October 04 2011

Excellent template for getting a REST service up running quickly. Thanks

by CyberBug | May 14 2011

Nice start point for RESTful WCF Services in .Net 4.0 with Visual studio 2010

Here is my experience:

http://softarchitect.wordpress.com/2011/05/14/software-architecture-restful-wcf-services-for-net-framework-4-0visual-studio-2010/

by Robert MacLean | March 15 2011

Excellant quickk start

by James Skemp | June 16 2010

After spending months looking for the best of ASP.NET MVC and WCF I finally stumbled upon http://blogs.msdn.com/b/endpoint/archive/2010/01/06/introducing-wcf-webhttp-services-in-net-4.aspx , which directed me to this.

Had I not relied upon Intellisense too quickly I could have had a RESTful WCF service ready to go within 5 minutes.

Four stars only because there's not much press about this, but there should be (right? <= -1 star). The site linked above only includes 10 of the 'promised' 12 parts, and comments have been disabled on older posts.

No updates since before the RTM release of .NET 4 and VS 2010 also makes me a little nervous.

by Spiders-Design | May 29 2010

by DiegoCG | March 07 2010

by Steven Wilssens | March 05 2010

Sign in to start a discussion


  • whens the new template come out?
    1 Posts | Last post October 05, 2012
    • Will there be a template for .NET 4.5?
  • Problems with IErrorHandler
    1 Posts | Last post May 30, 2012
    • Hi! I'am triying to controll al the errors produced y the application but I don't know if its because Im using the WCF Rest Service Template but I implemented IErrorHandler but when an error occurs the error handler doesn't fire. I talk a little more about the problem here:
      http://stackoverflow.com/questions/10794990/ierrorhandler-doest-trigger-using-wcf-restful-template-40
      Any idea?
  • Deployment Issues
    6 Posts | Last post March 08, 2012
    • The template works great in the development server, but I get an 404.0 error when calling the REST urls in an IIS7 deployment.
    • It's related with the endpoints. I think by default only works when using localhost/appname under default web site. This my provide some tips: http://keithelder.net/blog/archive/2008/01/17/Exposing-a-WCF-Service-With-Multiple-Bindings-and-Endpoints.aspx. Currently I'm exploring the best approach and struggling with between 3.5 and 4.0 implementation variations.
    • Agreed,
      Did you fix/find the issue with the 404.0 error.
      I am receiving the same.
      
      THx
      
    • I may have found the issue.
      
      I found it here
      http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/2ec269e3-c1ff-4d9b-9ff3-d530f1599047
      
      This thread discribes the behavior of the Rest Templates on IIS 6, but I found the solution to work on windows 7 IIS also.
      
      
      After 5 days of searching.
      
      
    • Same problem. I have created web service and tried to deploy it on IIS 7 on server, but it is giving me error. Reply, if you have any solution about how to deploy WCF REST Service on IIS7.
    • Try registering iis with dot net framework 4.0 <a href="http://msdn.microsoft.com/en-us/library/k6h9cz8h(v=vs.80).aspx"/> this should be done %windir%\Microsoft.NET\Framework\{version}\aspnet_regiis -ir
  • Where can i find the license information regarding this template ?
    1 Posts | Last post November 16, 2011
    • Where can i find the license information regarding this template ? I am trying to determine if we can use it in my workplace. 
  • Installs into wrong category
    1 Posts | Last post September 08, 2011
    • On my machine this template installed into "C# > Internet". Nonetheless, it should have installed into "C# > WCF".
  • Unable to open VSIX file extension
    1 Posts | Last post July 27, 2011
    • I  vsix with renamed zip and extracted all files but I am unable Ito open the solution with VS  2010. Please help
  • 如何在IIS7.5中部署服务
    1 Posts | Last post July 09, 2011
  • Adjusting Max Size
    2 Posts | Last post April 28, 2011
    • Hello,
      
      I have recently developed a web service using the WCF REST Service Template 40. Nothing much to the service, simply queries a db table and returns the results. However, queries that should return a large amount of records return nothing, just a blank page. I know this is probably because the max size is being exceeded, but I can't seem to find where I can change this property.
      
      I have tried editing the standardEnpoints tag, but no luck. Anyone know where I can set the size and/or max objects in graph?
      
        <system.serviceModel>
          <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
          <standardEndpoints>
            <webHttpEndpoint>
              <!-- 
                  Configure the WCF REST service base address via the global.asax.cs file and the default endpoint 
                  via the attributes on the <standardEndpoint> element below
              -->
              <standardEndpoint name="" helpEnabled="true" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647" automaticFormatSelectionEnabled="false" />
            </webHttpEndpoint>
          </standardEndpoints>
        </system.serviceModel>
      
      
    • I just ran into this myself. You have to set the MaxItemsInObjectGraph on the ServiceBehavior. I did it in code...
      
      [ServiceBehavior(InstanceContextMode = InstanceContextMode.PerCall,
                           MaxItemsInObjectGraph = 6553600)]
  • Configuration for exposing meta-data
    1 Posts | Last post February 17, 2011
    • Hi, I'm trying to consume my rest services from another project to create client proxy classes, but I don't know how to do this with this template. Ultimately I would like to do this on my debug instance only and when publishing the services for release there is no meta data endpoint.
  • oAuth
    1 Posts | Last post January 13, 2011
    • Can anyone get me started on securing my site with oAuth.  I need to have secure access from Windows / Linux and iPhone apps.
1 - 10 of 14 Items