1
vote
2answers
845 views

Identity and Access Control in Web API vs WCF

Our team is looking to introduce Web API, MVC/ASP.NET implementation in our SOA. I am having a hard time trying to wrap my head around the identity and access control it has compared to WCF. WCF has ...
1
vote
2answers
631 views

Implement service layer in MVC

We have a defined service layer hosted in WCF. We are now building a website that will need to use the services functionality. The website is being written in ASP.NET MVC 4 and I'm trying to decide ...
2
votes
1answer
189 views

Is passing the Model around in this way considered bad practice?

If I have a view called, for example, ViewDetails that displays user information in labels and has a Model called ViewDetailsModel and if I want to allow the user to click a button to edit some of ...
0
votes
2answers
579 views

MVC or Extract Service Layer

we have an application that is built with .Net MVC. We are now tasked with exposing API's to third parties. Members on our team want to just continue down our current path and just use more ...
2
votes
2answers
526 views

Is this the correct way to implement .NET MVC website structure?

I have recently seen a .NET MVC solution in which the markup in the .aspx views which appear to have a Controller as their model i.e the controller seems to be providing the data for the view, and the ...
13
votes
3answers
8k views

ASP.NET MVC vs WCF for REST API + Webpage usage

I think the discussion for programmatic service oriented usage vs human interaction is clear. But if I were to create an application that makes use of both a programmatic API and a website that makes ...
9
votes
1answer
2k views

How to build a good service layer in ASP.NET?

I have looked through some questions, technologies for building a good service layer but I have some questions regarding this that I need help with. First some information of what I have for ...
3
votes
2answers
915 views

If ASP.NET MVC 4 supports RPC style communication what does that mean for WCF?

From http://www.microsoft.com/download/en/details.aspx?id=28942 ASP.NET MVC 4 also includes ASP.NET Web API, a framework for building and consuming HTTP services that can reach a broad range of ...
2
votes
2answers
596 views

How to structure a project that supports multiple versions of a service?

I'm hoping for some tips on creating a project (ASP.NET MVC, but I guess it doesn't really matter) against multiples versions of a service (in this case, actually multiple sets of WCF services). ...