Enviar pesquisa
Carregar
Web API Basics
•
6 gostaram
•
1,282 visualizações
LearnNowOnline
Seguir
The basics of Web API.
Leia menos
Leia mais
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 136
Recomendados
REST API and CRUD
REST API and CRUD
Prem Sanil
Understanding REST
Understanding REST
Nitin Pande
REST API
REST API
Tofazzal Ahmed
Introduction to the Web API
Introduction to the Web API
Brad Genereaux
RESTful API - Best Practices
RESTful API - Best Practices
Tricode (part of Dept)
Web api
Web api
Sudhakar Sharma
What is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
Tessa Mero
Recomendados
REST API and CRUD
REST API and CRUD
Prem Sanil
Understanding REST
Understanding REST
Nitin Pande
REST API
REST API
Tofazzal Ahmed
Introduction to the Web API
Introduction to the Web API
Brad Genereaux
RESTful API - Best Practices
RESTful API - Best Practices
Tricode (part of Dept)
Web api
Web api
Sudhakar Sharma
What is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
Tessa Mero
introduction about REST API
introduction about REST API
AmilaSilva13
Introduction to REST - API
Introduction to REST - API
Chetan Gadodia
REST API Design & Development
REST API Design & Development
Ashok Pundit
Api presentation
Api presentation
Tiago Cardoso
Rest web services
Rest web services
Paulo Gandra de Sousa
RESTful Web Services
RESTful Web Services
Christopher Bartling
Rest API
Rest API
Rohana K Amarakoon
REST-API introduction for developers
REST-API introduction for developers
Patrick Savalle
Express node js
Express node js
Yashprit Singh
Express js
Express js
Manav Prasad
Node.js Express
Node.js Express
Eyal Vardi
Introduction to API
Introduction to API
rajnishjha29
MEAN Stack
MEAN Stack
Krishnaprasad k
REST & RESTful Web Services
REST & RESTful Web Services
Halil Burak Cetinkaya
API for Beginners
API for Beginners
Gustavo De Vita
Express JS Rest API Tutorial
Express JS Rest API Tutorial
Simplilearn
Learn REST in 18 Slides
Learn REST in 18 Slides
Suraj Gupta
Advanced Web Development in PHP - Understanding REST API
Advanced Web Development in PHP - Understanding REST API
Rasan Samarasinghe
An Introduction To REST API
An Introduction To REST API
Aniruddh Bhilvare
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
Ido Flatow
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
WSO2
Multi Tenant API management with WSO2 API Manager
Multi Tenant API management with WSO2 API Manager
WSO2
Mais conteúdo relacionado
Mais procurados
introduction about REST API
introduction about REST API
AmilaSilva13
Introduction to REST - API
Introduction to REST - API
Chetan Gadodia
REST API Design & Development
REST API Design & Development
Ashok Pundit
Api presentation
Api presentation
Tiago Cardoso
Rest web services
Rest web services
Paulo Gandra de Sousa
RESTful Web Services
RESTful Web Services
Christopher Bartling
Rest API
Rest API
Rohana K Amarakoon
REST-API introduction for developers
REST-API introduction for developers
Patrick Savalle
Express node js
Express node js
Yashprit Singh
Express js
Express js
Manav Prasad
Node.js Express
Node.js Express
Eyal Vardi
Introduction to API
Introduction to API
rajnishjha29
MEAN Stack
MEAN Stack
Krishnaprasad k
REST & RESTful Web Services
REST & RESTful Web Services
Halil Burak Cetinkaya
API for Beginners
API for Beginners
Gustavo De Vita
Express JS Rest API Tutorial
Express JS Rest API Tutorial
Simplilearn
Learn REST in 18 Slides
Learn REST in 18 Slides
Suraj Gupta
Advanced Web Development in PHP - Understanding REST API
Advanced Web Development in PHP - Understanding REST API
Rasan Samarasinghe
An Introduction To REST API
An Introduction To REST API
Aniruddh Bhilvare
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
Ido Flatow
Mais procurados
(20)
introduction about REST API
introduction about REST API
Introduction to REST - API
Introduction to REST - API
REST API Design & Development
REST API Design & Development
Api presentation
Api presentation
Rest web services
Rest web services
RESTful Web Services
RESTful Web Services
Rest API
Rest API
REST-API introduction for developers
REST-API introduction for developers
Express node js
Express node js
Express js
Express js
Node.js Express
Node.js Express
Introduction to API
Introduction to API
MEAN Stack
MEAN Stack
REST & RESTful Web Services
REST & RESTful Web Services
API for Beginners
API for Beginners
Express JS Rest API Tutorial
Express JS Rest API Tutorial
Learn REST in 18 Slides
Learn REST in 18 Slides
Advanced Web Development in PHP - Understanding REST API
Advanced Web Development in PHP - Understanding REST API
An Introduction To REST API
An Introduction To REST API
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
Destaque
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
WSO2
Multi Tenant API management with WSO2 API Manager
Multi Tenant API management with WSO2 API Manager
WSO2
Customizing the API Store & Publisher in WSO2 API Manager
Customizing the API Store & Publisher in WSO2 API Manager
WSO2
Introduction to g reg 4.6.0
Introduction to g reg 4.6.0
WSO2
API Management Workshop (at Startupbootcamp Berlin)
API Management Workshop (at Startupbootcamp Berlin)
3scale
API 101 - Understanding APIs
API 101 - Understanding APIs
3scale
An Introduction to the WSO2 API Manager
An Introduction to the WSO2 API Manager
WSO2
API designing with WSO2 API Manager
API designing with WSO2 API Manager
WSO2
WSO2 Identity Server 5.3.0 - Product Release Webinar
WSO2 Identity Server 5.3.0 - Product Release Webinar
WSO2
WSO2Con USA 2017: Implementing a Modern API Management Solution that Benefits...
WSO2Con USA 2017: Implementing a Modern API Management Solution that Benefits...
WSO2
C# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENT
Dr. Awase Khirni Syed
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
WSO2
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
WSO2
Best Practices for API Management
Best Practices for API Management
WSO2
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
WSO2
API Management architect presentation
API Management architect presentation
sflynn073
Destaque
(17)
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Multi Tenant API management with WSO2 API Manager
Multi Tenant API management with WSO2 API Manager
Customizing the API Store & Publisher in WSO2 API Manager
Customizing the API Store & Publisher in WSO2 API Manager
Introduction to g reg 4.6.0
Introduction to g reg 4.6.0
API Management Workshop (at Startupbootcamp Berlin)
API Management Workshop (at Startupbootcamp Berlin)
API 101 - Understanding APIs
API 101 - Understanding APIs
An Introduction to the WSO2 API Manager
An Introduction to the WSO2 API Manager
API designing with WSO2 API Manager
API designing with WSO2 API Manager
WSO2 Identity Server 5.3.0 - Product Release Webinar
WSO2 Identity Server 5.3.0 - Product Release Webinar
WSO2Con USA 2017: Implementing a Modern API Management Solution that Benefits...
WSO2Con USA 2017: Implementing a Modern API Management Solution that Benefits...
C# ASP.NET WEB API APPLICATION DEVELOPMENT
C# ASP.NET WEB API APPLICATION DEVELOPMENT
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
WSO2Con USA 2017: Iterative Architecture: A Pragmatic Approach to Digital Tra...
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
WSO2Con USA 2017: DevOps Best Practices in 7 Steps
Best Practices for API Management
Best Practices for API Management
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
WSO2Con USA 2017: Managing Verifone’s New Payment Device “Carbon” with WSO2’s...
API Management architect presentation
API Management architect presentation
Semelhante a Web API Basics
Web API HTTP Pipeline
Web API HTTP Pipeline
LearnNowOnline
Managing site collections
Managing site collections
LearnNowOnline
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
LearnNowOnline
SharePoint Document Management
SharePoint Document Management
LearnNowOnline
Asynchronous Programming
Asynchronous Programming
LearnNowOnline
What's new in Silverlight 5
What's new in Silverlight 5
LearnNowOnline
Introduction to ASP.NET MVC
Introduction to ASP.NET MVC
LearnNowOnline
SharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPath
LearnNowOnline
KnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVC
LearnNowOnline
Object-Oriented JavaScript
Object-Oriented JavaScript
LearnNowOnline
Using The .NET Framework
Using The .NET Framework
LearnNowOnline
Bring a Web Page Alive with jQuery
Bring a Web Page Alive with jQuery
LearnNowOnline
Introducing LINQ
Introducing LINQ
LearnNowOnline
WPF Binding
WPF Binding
LearnNowOnline
Создание API, которое полюбят разработчики. Глубокое погружение
Создание API, которое полюбят разработчики. Глубокое погружение
SQALab
.NET Variables and Data Types
.NET Variables and Data Types
LearnNowOnline
SQL Server: Security
SQL Server: Security
LearnNowOnline
Working with Controllers and Actions in MVC
Working with Controllers and Actions in MVC
LearnNowOnline
New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDE
LearnNowOnline
The Entity Data Model
The Entity Data Model
LearnNowOnline
Semelhante a Web API Basics
(20)
Web API HTTP Pipeline
Web API HTTP Pipeline
Managing site collections
Managing site collections
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
Building Windows 8 Metro Style Applications Using JavaScript and HTML5
SharePoint Document Management
SharePoint Document Management
Asynchronous Programming
Asynchronous Programming
What's new in Silverlight 5
What's new in Silverlight 5
Introduction to ASP.NET MVC
Introduction to ASP.NET MVC
SharePoint: Introduction to InfoPath
SharePoint: Introduction to InfoPath
KnockOutJS with ASP.NET MVC
KnockOutJS with ASP.NET MVC
Object-Oriented JavaScript
Object-Oriented JavaScript
Using The .NET Framework
Using The .NET Framework
Bring a Web Page Alive with jQuery
Bring a Web Page Alive with jQuery
Introducing LINQ
Introducing LINQ
WPF Binding
WPF Binding
Создание API, которое полюбят разработчики. Глубокое погружение
Создание API, которое полюбят разработчики. Глубокое погружение
.NET Variables and Data Types
.NET Variables and Data Types
SQL Server: Security
SQL Server: Security
Working with Controllers and Actions in MVC
Working with Controllers and Actions in MVC
New in the Visual Studio 2012 IDE
New in the Visual Studio 2012 IDE
The Entity Data Model
The Entity Data Model
Mais de LearnNowOnline
Windows 8: Shapes and Geometries
Windows 8: Shapes and Geometries
LearnNowOnline
SQL: Permissions and Data Protection
SQL: Permissions and Data Protection
LearnNowOnline
Attributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programming
LearnNowOnline
WPF: Working with Data
WPF: Working with Data
LearnNowOnline
A tour of SQL Server
A tour of SQL Server
LearnNowOnline
Generics
Generics
LearnNowOnline
Object oriented techniques
Object oriented techniques
LearnNowOnline
Sql 2012 development and programming
Sql 2012 development and programming
LearnNowOnline
Expression Blend Motion & Interaction Design
Expression Blend Motion & Interaction Design
LearnNowOnline
Introducing the Entity Framework
Introducing the Entity Framework
LearnNowOnline
Creating a User Interface
Creating a User Interface
LearnNowOnline
.Net branching and flow control
.Net branching and flow control
LearnNowOnline
Mais de LearnNowOnline
(12)
Windows 8: Shapes and Geometries
Windows 8: Shapes and Geometries
SQL: Permissions and Data Protection
SQL: Permissions and Data Protection
Attributes, reflection, and dynamic programming
Attributes, reflection, and dynamic programming
WPF: Working with Data
WPF: Working with Data
A tour of SQL Server
A tour of SQL Server
Generics
Generics
Object oriented techniques
Object oriented techniques
Sql 2012 development and programming
Sql 2012 development and programming
Expression Blend Motion & Interaction Design
Expression Blend Motion & Interaction Design
Introducing the Entity Framework
Introducing the Entity Framework
Creating a User Interface
Creating a User Interface
.Net branching and flow control
.Net branching and flow control
Último
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
ThousandEyes
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Allon Mureinik
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
OnBoard
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Drew Madelung
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
2toLead Limited
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
gurkirankumar98700
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
ThousandEyes
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
BookNet Canada
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Alan Dix
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Igalia
Último
(20)
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Web API Basics
1.
Web API Basics
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
2.
Objectives
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
3.
Objectives • See how
REST and web services can be used to access data Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
4.
Objectives • See how
REST and web services can be used to access data • Build your first Web API service Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
5.
Objectives • See how
REST and web services can be used to access data • Build your first Web API service • Use Web API naming conventions for routing Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
6.
Objectives • See how
REST and web services can be used to access data • Build your first Web API service • Use Web API naming conventions for routing • Modify your service for basic CRUD operations Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
7.
Agenda
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
8.
Agenda • What Is
ASP.NET Web API? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
9.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
10.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
11.
Agenda •
What Is ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
12.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations • Filtering Data with Parameters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
13.
What Is ASP.NET
Web API? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
14.
What Is ASP.NET
Web API? • Next iteration of WCF REST Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
15.
What Is ASP.NET
Web API? • Next iteration of WCF REST • Incorporated into ASP.NET MVC 4 Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
16.
What Is ASP.NET
Web API? • Next iteration of WCF REST • Incorporated into ASP.NET MVC 4 • Framework for developing REST oriented services Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
17.
REST
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
18.
REST • Uses HTTP
protocols Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
19.
REST • Uses HTTP
protocols • URLs and methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
20.
REST • Uses HTTP
protocols • URLs and methods • Accessible from a wide variety of clients Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
21.
REST • Uses HTTP
protocols • URLs and methods • Accessible from a wide variety of clients • HTTP methods: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
22.
REST • Uses HTTP
protocols • URLs and methods • Accessible from a wide variety of clients • HTTP methods: • GET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
23.
REST • Uses HTTP
protocols • URLs and methods • Accessible from a wide variety of clients • HTTP methods: • GET • POST Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
24.
REST • Uses HTTP
protocols • URLs and methods • Accessible from a wide variety of clients • HTTP methods: • GET • POST • PUT Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
25.
GET
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
26.
GET • Primarily just
a URL making a simple request for a resource, e.g., a web page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
27.
GET • Primarily just
a URL making a simple request for a resource, e.g., a web page • Response is sent back Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
28.
GET • Primarily just
a URL making a simple request for a resource, e.g., a web page • Response is sent back • Additional information is put in a query string Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
29.
GET • Primarily just
a URL making a simple request for a resource, e.g., a web page • Response is sent back • Additional information is put in a query string • Generally used to Select data Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
30.
GET • Primarily just
a URL making a simple request for a resource, e.g., a web page • Response is sent back • Additional information is put in a query string • Generally used to Select data • Selecting all: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
31.
GET • Primarily just
a URL making a simple request for a resource, e.g., a web page • Response is sent back • Additional information is put in a query string • Generally used to Select data • Selecting all: http://www.root.com/products/ Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
32.
GET • Primarily just
a URL making a simple request for a resource, e.g., a web page • Response is sent back • Additional information is put in a query string • Generally used to Select data • Selecting all: http://www.root.com/products/ • Selecting one: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
33.
POST
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
34.
POST • Sends collection
of name-value pairs along with the request Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
35.
POST • Sends collection
of name-value pairs along with the request • Commonly used with forms on the web Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
36.
POST • Sends collection
of name-value pairs along with the request • Commonly used with forms on the web • Used to add new resources (Insert) Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
37.
POST • Sends collection
of name-value pairs along with the request • Commonly used with forms on the web • Used to add new resources (Insert) • Should return an appropriate HTTP success code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
38.
PUT
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
39.
PUT • Used to
store a resource at the supplied URL Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
40.
PUT • Used to
store a resource at the supplied URL • Generally used for Editing existing resources Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
41.
DELETE
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
42.
DELETE • Used for
deleting resources Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
43.
DELETE • Used for
deleting resources • Should return an appropriate HTTP code Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
44.
Agenda
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
45.
Agenda • What Is
ASP.NET Web API? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
46.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
47.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
48.
Agenda •
What Is ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
49.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations • Filtering Data with Parameters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
50.
Create Your First
Web API Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
51.
Create Your First
Web API • Create a repository Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
52.
Create Your First
Web API • Create a repository • Create an API controller to use the repository Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
53.
Create Your First
Web API • Create a repository • Create an API controller to use the repository • Try it out in a browser Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
54.
Agenda
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
55.
Agenda • What Is
ASP.NET Web API? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
56.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
57.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
58.
Agenda •
What Is ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
59.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations • Filtering Data with Parameters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
60.
Web API Routing
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
61.
Web API Routing •
Interpretation of URLs by the server to decide what code should handle the request Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
62.
Web API Routing •
Interpretation of URLs by the server to decide what code should handle the request • Operates similarly to ASP.NET MVC routing Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
63.
Web API Routing •
Interpretation of URLs by the server to decide what code should handle the request • Operates similarly to ASP.NET MVC routing • Actions determined by HTTP method used Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
64.
Default Mapping
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
65.
Default Mapping • Configured
in Global.asax Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
66.
Default Mapping • Configured
in Global.asax • Uses “api” as URL segment Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
67.
Default Mapping • Configured
in Global.asax • Uses “api” as URL segment • Adds word “Controller” to the controller part of URL Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
68.
Default Mapping • Configured
in Global.asax • Uses “api” as URL segment • Adds word “Controller” to the controller part of URL • Looks for action that begins with the HTTP method Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
69.
Default Mapping • Configured
in Global.asax • Uses “api” as URL segment • Adds word “Controller” to the controller part of URL • Looks for action that begins with the HTTP method • Additional URL parameters are mapped as action parameters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
70.
Alternative Routing
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
71.
Alternative Routing • Rarely
necessary for most Web API services Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
72.
Alternative Routing • Rarely
necessary for most Web API services • Several options to change URL routing Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
73.
HTTP Method Attributes
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
74.
HTTP Method Attributes •
Very similar to ASP.NET MVC Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
75.
HTTP Method Attributes •
Very similar to ASP.NET MVC • Use attributes to bind HTTP methods to specific actions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
76.
HTTP Method Attributes •
Very similar to ASP.NET MVC • Use attributes to bind HTTP methods to specific actions [HttpGet] Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
77.
HTTP Method Attributes •
Very similar to ASP.NET MVC • Use attributes to bind HTTP methods to specific actions [HttpGet] [HttpPost] Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
78.
HTTP Method Attributes •
Very similar to ASP.NET MVC • Use attributes to bind HTTP methods to specific actions [HttpGet] [HttpPost] [HttpPut] Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
79.
HTTP Method Attributes •
Very similar to ASP.NET MVC • Use attributes to bind HTTP methods to specific actions [HttpGet] [HttpPost] [HttpPut] [HttpDelete] Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
80.
AcceptVerbs Attribute
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
81.
AcceptVerbs Attribute • Also
used on actions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
82.
AcceptVerbs Attribute • Also
used on actions • Specify HTTP methods as strings Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
83.
AcceptVerbs Attribute • Also
used on actions • Specify HTTP methods as strings • Especially useful for atypical HTTP methods Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
84.
Action Names in
the URL Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
85.
Action Names in
the URL • Makes URLs route identically to ASP.NET MVC Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
86.
Action Names in
the URL • Makes URLs route identically to ASP.NET MVC • Must change routeTemplate in Global.asax Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
87.
Action Names in
the URL • Makes URLs route identically to ASP.NET MVC • Must change routeTemplate in Global.asax • Must also add HTTP method attributes to actions Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
88.
Removing Actions from
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
89.
Removing Actions from •
Used when a resource’s URL would trigger an action, but this is not desired Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
90.
Removing Actions from •
Used when a resource’s URL would trigger an action, but this is not desired • Use the NonAction attribute on the method Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
91.
Agenda
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
92.
Agenda • What Is
ASP.NET Web API? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
93.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
94.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
95.
Agenda •
What Is ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
96.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations • Filtering Data with Parameters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
97.
Create a Web
API Service for CRUD Operations Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
98.
Create a Web
API Service for CRUD Operations • Create – POST Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
99.
Create a Web
API Service for CRUD Operations • Create – POST • Read – GET Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
100.
Create a Web
API Service for CRUD Operations • Create – POST • Read – GET • Update – PUT Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
101.
Create a Web
API Service for CRUD Operations • Create – POST • Read – GET • Update – PUT • Delete – DELETE Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
102.
Create a Web
API Service for CRUD Operations • Create – POST • Read – GET • Update – PUT • Delete – DELETE • Basic functionality that most services will have Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
103.
Create a Web
API Service for CRUD Operations • Create – POST • Read – GET • Update – PUT • Delete – DELETE • Basic functionality that most services will have • Try it out! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
104.
Agenda
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
105.
Agenda • What Is
ASP.NET Web API? Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
106.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
107.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
108.
Agenda •
What Is ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
109.
Agenda • What Is
ASP.NET Web API? • Create Your First Web API Service • Web API Routing • Create a Web API Service for CRUD Operations • Filtering Data with Parameters Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
110.
Filtering Data with
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
111.
Filtering Data with •
Uses the OData protocol Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
112.
Filtering Data with •
Uses the OData protocol • Special query strings can be used to: Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
113.
Filtering Data with •
Uses the OData protocol • Special query strings can be used to: • Filter Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
114.
Filtering Data with •
Uses the OData protocol • Special query strings can be used to: • Filter • Page Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
115.
Filtering Data with •
Uses the OData protocol • Special query strings can be used to: • Filter • Page • Sort Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
116.
Filtering Data with •
Uses the OData protocol • Special query strings can be used to: • Filter • Page • Sort • And more… Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
117.
Filter
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
118.
Filter • Condition that
evaluates to true or false Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
119.
Filter • Condition that
evaluates to true or false • Uses OData-specific keywords Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
120.
Filter • Condition that
evaluates to true or false • Uses OData-specific keywords • Must be sendable in a URL Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
121.
Order By
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
122.
Order By • Specifies
the sort order of returned data Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
123.
Order By • Specifies
the sort order of returned data • Can sort by multiple properties Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
124.
Order By • Specifies
the sort order of returned data • Can sort by multiple properties • Can specify ASC and DESC sorting Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
125.
Paging
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
126.
Paging • Done by
using $skip and $top Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
127.
Paging • Done by
using $skip and $top • $skip passes over a number of records Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
128.
Paging • Done by
using $skip and $top • $skip passes over a number of records • $skip should be set to: page number * page size Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
129.
Paging • Done by
using $skip and $top • $skip passes over a number of records • $skip should be set to: page number * page size • $top selects a certain number to return Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
130.
Paging • Done by
using $skip and $top • $skip passes over a number of records • $skip should be set to: page number * page size • $top selects a certain number to return • $top should be set to page size Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
131.
There’s More
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
132.
There’s More • There
are other OData query strings Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
133.
There’s More • There
are other OData query strings • Other query keywords for $filter Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
134.
There’s More • There
are other OData query strings • Other query keywords for $filter • www.odata.org Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
135.
Learn More!
Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
136.
Learn More! • This
is an excerpt from a larger course. Visit www.learnnowonline.com for the full details! Learn More @ http://www.learnnowonline.com Copyright © by Application Developers Training Company
Notas do Editor
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
DEMO: rest of section\n