Solved

ASP.NET REST Service without Controllers

Posted on 2013-06-11
8
174 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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 500 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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

630 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