0

I want to try out WCF web API. My plan is to create an application hosted on IIS that runs by itself (not combined with an MVC 3 application, etc). Maybe I'll give it an address http://192.168.1.2/myapi.

How do I set up my project from the beginning?

Which project template should I choose? WCF service application, ASP.NET empty web application, or what?

Then I guess I should nuget WebApi.All?

Then I should edit web.config?

Then I should put something in global.asax?

What else?

2 Answers 2

1

I've posted a getting started series on WCF Web API: http://blog.alexonasp.net/post/2011/04/15/Microsoft-Web-API-e28093-the-REST-is-done-by-WCF-(Part-1).aspx

Sign up to request clarification or add additional context in comments.

Comments

0

You may take a look at the following post, where I describe how to host WCF Web API with IIS - http://pfelix.wordpress.com/2011/04/22/wcf-web-apiiis-hosting/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.