The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
249 views

Template for Visual Studio for starting AngularJS / ASP.NET Web API dev. Do I need ASP.NETMVC anymore? [closed]

Anyone know of a template.. or information on a proper structure to create a Angular/Web API site? I have been trying to find a good starting point. Should I use the MVC/Web API as a starting point ? ...
0
votes
1answer
125 views

bad practice to have actions in web api controllers

I was creating a new action for a WebApi controller and tried to create a url using the following: @Url.RouteUrl("DefaultApi", new { httproute = "", controller = "ClientApi"}) and noticed that the ...
2
votes
1answer
73 views

when is it necessary or when should a controller be async

When is it absolutely necessary for a controller to be async? Should all controllers be async or is it bad practice to make all of them async unless it is necessary. Just looking for some general ...
0
votes
1answer
90 views

necessary to migrate to Web API from MVC controller

Since the released of Web API, I've been wondering whether it's necessary or helpful to migrate/change MVC controllers to use Web API calls. Since it's hard to describe code I'll show an example of ...
7
votes
1answer
748 views

Is there an advantage to using WCF or WebAPI for mobile?

I'm looking at doing my first mobile development using Mono Touch and Mono for Android. I'd like them to communicate with an ASP.NET MVC 4 site I'm designing. I've worked with WCF and WebAPI in the ...
1
vote
1answer
281 views

project layout using webapi

I have the following project structure I would like to implement. I would like to know if there are any pitfalls to structuring my code this way. It is going to be using Microsoft's WebAPI, an MVC 4 ...