When we use WebAPI controller in Asp.Net MVC

Asked by Last Modified  

18 Answers

Learn .Net MVC

Follow 1
Answer

Please enter your answer

Certified, Expert and Experienced AWS Cloud Trainer & Angular & Web development Trainer

To understand it , First understand the objective of WEB API and MVC WEB API : This technology is designed to develope HTTP Service that would be consumed by many device MVC : This is a framework that help to create full fledge web application that can consume WEB API service or any other service so...
read more
To understand it , First understand the objective of WEB API and MVC WEB API : This technology is designed to develope HTTP Service that would be consumed by many device MVC : This is a framework that help to create full fledge web application that can consume WEB API service or any other service so you want to develop service using WEB API that would be consumed by MVC then you can combine both technology and do your task read less
Comments

When we consider the current widespread use of IT through various Gadgets like PC, Laptop, Tabs, Mobiles developers need to Expose some functionality to Gadgets irrespective of platforms, HTTP Asp.Net Web API enables one to do it by returning light weight data notation like JSON. And also get many advantages...
read more
When we consider the current widespread use of IT through various Gadgets like PC, Laptop, Tabs, Mobiles developers need to Expose some functionality to Gadgets irrespective of platforms, HTTP Asp.Net Web API enables one to do it by returning light weight data notation like JSON. And also get many advantages over SOAP. read less
Comments

Azure.NET, MEAN, GenAI, OpenAI, Agentic AI, Prompt Engineering & Devops Trainer 16 years experienced

To create restful web services we have to Web API
Comments

Senior Software Engineer

We Use Web API when you have multiple consuming clients such as light weight mobile Apps or a Saas Application, the you have REST based Web Api as a service which need not know which client is calling the API. Whereas On the other hand default Controller in MVC is used to build applications that have...
read more
We Use Web API when you have multiple consuming clients such as light weight mobile Apps or a Saas Application, the you have REST based Web Api as a service which need not know which client is calling the API. Whereas On the other hand default Controller in MVC is used to build applications that have Views. WebAPIs does not use Views they are used to return data, instead Web API return plane JSON data to be consumed by clients. read less
Comments

We use WebAPI Controller in Asp.Net MVC to call the controller actions in the view through Jquery and return Json data.
Comments

Professional Training Provider (Focus on to clear Basic Concept)

While using jsframework like angularjs or knockoutjs etc.. then need webservices for grep data or put data so use WebAPI it will return Json Object (or XML Object)...
Comments

.Net Trainer,React JS,Java Script and Angular

Refer this page http://www.codeproject.com/Articles/826359/Consuming-ASP-NET-WEB-API-using-ASP-NET-MVC-and-Re
Comments

Software professional who loves to share his knowledge

Web API uses ApiController and is used to build REST based web services that are light weight. These can be invoked by multiple types of clients eg. Desktop, Mobile Devices. Typically the clients are built using Java script frameworks like AngujarJS or KnockoutJS. On the other hand default Controller...
read more
Web API uses ApiController and is used to build REST based web services that are light weight. These can be invoked by multiple types of clients eg. Desktop, Mobile Devices. Typically the clients are built using Java script frameworks like AngujarJS or KnockoutJS. On the other hand default Controller in MVC is used to build applications that have Views. WebAPIs does not use Views they are used to return data. Hope that helps you to understand. read less
Comments

.Net Technical Leader in Microsoft Technologies

When you need to implement rest services and caller decide on the type of response, xml or json, then WebApi is the better choice. To do the same from other services, there is required to implement extra code at service end.
Comments

IT Trainer

Web API is used for building HTTP services that can be consumed by browsers, mobiles, iphone and tablets. Use Web API when you need to return JSON/XML response to client.
Comments

View 16 more Answers

Related Questions

Is developing a website in .net easy or in php?
In php developing an app is easy.
Nithish REDDY
whats the fees of mvc class?
Its 4500 for MVC Training. Classes will be held at my location .If interested can contact me
Jayashri
What is dot net MVC?
It is a design pattern. .NET MVC is a successful template above asp.net framework. .NET MVC is used to develop web applications from the scratch
Tina
What is an MVC and why is it important?
MVC (Model-View-Controller) is a software architectural pattern that separates an application into three interconnected components: 1. *Model*: Represents the data and business logic, managing data...
Kirti
0 0
5
I'm looking Consultant or MVC Trainer
Hi, I provide .Net MVC training on the latest cutting edge technologies as MVC 5.0, Web API 2.0 and others. Please contact for more information regarding the courses.
Mary

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

.NET With AngularJS Training Program Syllabus
What You will Learn in .NET with AngularJS Training Program? Introduction to .Net: Features of .Net, CTS, CLS, CLR and MSIL. C# & .Net Basics and Branching & Flow Control. OOPs Concepts,...

Garbage collector [ GC ] in .NET framework
Garbage collector is responsible for the "automatic memory management - AMM" in .NET framework. Garbage collector is one of the properties of .NET framework components CLR . Why there is a need of "Memory...
R

Raga Deepthi G.

1 0
0

Be prepared to get trained--init
Before starting the training,students must be mentally prepared for acceptance of new knowledge. Students must attend training with open minded forgetting the position they are working.This will help...
S

Smartnub Softsolutions

0 0
0

Dependency Injection in Angular 2
Dependency injection Dependency injection is a way to supply a new instance of a class with the fully-formed dependencies it requires. Most dependencies are services. Angular uses dependency injection...

Angular-2 Developer Training Program Syllabus
Angular2 Developer Training Program Syllabus: Introduction to Angular2. Why Angular2. Angular2 Features: Components, Services and Typescript. Angular2 Components: Templates, Modules, Services...

Looking for .NET MVC ?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you