• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

ASP.NET REST Service without Controllers

I've been reading many articles about ASP.NET using REST. The articles always use a MVC Web Service project template and use Interfaces and Controllers. I've also read postings which comment that MVC web service and REST is more a hybrid than a pure REST service.

What are the EE thoughts on this matter?
0
WorknHardr
Asked:
WorknHardr
  • 5
  • 3
1 Solution
 
käµfm³d 👽Commented:
REST is an architectural style, and it is not tied to any technology, language, or web server. WEB API (formerly REST Starter Kit) is just Microsoft's approach at making REST easier to throw together. You certainly don't have to use MVC (a design pattern as well as a framework developed by MS that implements the MVC pattern) in order to build a RESTful service.
0
 
WorknHardrAuthor Commented:
Okay. Do you think the MVC project templates are also used for Entity purposes too?
0
 
käµfm³d 👽Commented:
What do you mean by "Entity?"
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
WorknHardrAuthor Commented:
The examples I've downloaded all used the Entity framework to communicate with a database. Just thought maybe using a MVC web project made it easier.
0
 
käµfm³d 👽Commented:
Entity Framework is not restricted to only being used with the MVC Framework, nor is the MVC Framework required to use Entity Framework. Both are templating/scaffolding utilities that help you create extensible and manageable applications. The reason you often see these two together is that the goals that each accomplish are often realized across many similar applications (and they are the hottest buzz words in MS land right now).
0
 
WorknHardrAuthor Commented:
Can you point me to a asp.net REST web service code example that doesn't use MVC web templates?
0
 
WorknHardrAuthor Commented:
0
 
WorknHardrAuthor Commented:
thank you
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now