Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6247527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:53:33+00:00 2026-05-24T12:53:33+00:00

I am using mvc3 and I want to create an API with the site.

  • 0

I am using mvc3 and I want to create an API with the site.

MVC makes it really easy to return json from the controller which I know how to do.

I want to use a subdomain for the api something like http://api.mydomain.com

I have a few questions

  1. Do I create an area for api or just place the controller and model in the root?
  2. How can I point to the subdomain so the url is api.mydomain.com not mydomain.com/api
  3. What is the best way to version the api? do I just create a new controller for each version e.g. V1Controller,V2Contoller etc etc

Any suggestions would be really helpful.

Thanks for your help

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T12:53:34+00:00Added an answer on May 24, 2026 at 12:53 pm

    I have recently used ServiceStack, I really like working with it, you should take a look

    http://www.servicestack.net/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create two DropDownList in a cascade using MVC3 (preferably Razor )
I want to create a Date, Time and DateTime EditorTemplate using MVC3 and Razor.
Using ASP.net MVC3 with C# I want to create a partial view that uses
I'm using ASP.NET MVC 3 with Razor views. When you want to create a
I am trying to create a web site app using MVC 3- The problem
Im want to create a data structure for using within my MVC3 application. The
I have a problem with cookies in MVC3. I want to create a cookie,
I'm writing an MVC3 site, and I'm using JQuery unobtrusive validation to validate my
I am using Spring MVC 3.0 I have a guestbook.jsp page where I want
I have created a site using asp.net mvc3 and I have some action in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.