Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP.NET REST Service without Controllers

Posted on 2013-06-11
8
Medium Priority
?
176 Views
Last Modified: 2013-06-18
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
Comment
Question by:WorknHardr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39238746
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
 

Author Comment

by:WorknHardr
ID: 39238810
Okay. Do you think the MVC project templates are also used for Entity purposes too?
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 39238941
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.

 

Author Comment

by:WorknHardr
ID: 39239058
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
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 39239142
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
 

Author Comment

by:WorknHardr
ID: 39239346
Can you point me to a asp.net REST web service code example that doesn't use MVC web templates?
0
 

Author Comment

by:WorknHardr
ID: 39239644
0
 

Author Closing Comment

by:WorknHardr
ID: 39257225
thank you
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question