Soumettre la recherche
Mettre en ligne
Web API Basics
•
6 j'aime
•
1,282 vues
LearnNowOnline
Suivre
The basics of Web API.
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 136
Recommandé
An Introduction To REST API
An Introduction To REST API
Aniruddh Bhilvare
REST API
REST API
Tofazzal Ahmed
REST API and CRUD
REST API and CRUD
Prem Sanil
Introduction to the Web API
Introduction to the Web API
Brad Genereaux
Introduction to REST - API
Introduction to REST - API
Chetan Gadodia
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
Tessa Mero
What is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
REST API Design & Development
REST API Design & Development
Ashok Pundit
Recommandé
An Introduction To REST API
An Introduction To REST API
Aniruddh Bhilvare
REST API
REST API
Tofazzal Ahmed
REST API and CRUD
REST API and CRUD
Prem Sanil
Introduction to the Web API
Introduction to the Web API
Brad Genereaux
Introduction to REST - API
Introduction to REST - API
Chetan Gadodia
Understanding REST APIs in 5 Simple Steps
Understanding REST APIs in 5 Simple Steps
Tessa Mero
What is REST API? REST API Concepts and Examples | Edureka
What is REST API? REST API Concepts and Examples | Edureka
Edureka!
REST API Design & Development
REST API Design & Development
Ashok Pundit
What is an API
What is an API
Elliott Richmond
Rest API
Rest API
Rohana K Amarakoon
REST-API introduction for developers
REST-API introduction for developers
Patrick Savalle
Web api
Web api
Sudhakar Sharma
Rest api standards and best practices
Rest api standards and best practices
Ankita Mahajan
Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface)
Vibhawa Nirmal
Understanding REST
Understanding REST
Nitin Pande
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB API
Pankaj Bajaj
introduction about REST API
introduction about REST API
AmilaSilva13
What is an API?
What is an API?
Muhammad Zuhdi
REST & RESTful Web Services
REST & RESTful Web Services
Halil Burak Cetinkaya
API for Beginners
API for Beginners
Gustavo De Vita
RESTful API - Best Practices
RESTful API - Best Practices
Tricode (part of Dept)
ASP.NET Web API
ASP.NET Web API
habib_786
REST-API overview / concepts
REST-API overview / concepts
Patrick Savalle
Api presentation
Api presentation
Tiago Cardoso
API
API
Masters Academy
API Basics
API Basics
Ritul Chaudhary
Introduction to spring boot
Introduction to spring boot
Santosh Kumar Kar
What's an api
What's an api
Jacques Ledoux
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
Contenu connexe
Tendances
What is an API
What is an API
Elliott Richmond
Rest API
Rest API
Rohana K Amarakoon
REST-API introduction for developers
REST-API introduction for developers
Patrick Savalle
Web api
Web api
Sudhakar Sharma
Rest api standards and best practices
Rest api standards and best practices
Ankita Mahajan
Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface)
Vibhawa Nirmal
Understanding REST
Understanding REST
Nitin Pande
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB API
Pankaj Bajaj
introduction about REST API
introduction about REST API
AmilaSilva13
What is an API?
What is an API?
Muhammad Zuhdi
REST & RESTful Web Services
REST & RESTful Web Services
Halil Burak Cetinkaya
API for Beginners
API for Beginners
Gustavo De Vita
RESTful API - Best Practices
RESTful API - Best Practices
Tricode (part of Dept)
ASP.NET Web API
ASP.NET Web API
habib_786
REST-API overview / concepts
REST-API overview / concepts
Patrick Savalle
Api presentation
Api presentation
Tiago Cardoso
API
API
Masters Academy
API Basics
API Basics
Ritul Chaudhary
Introduction to spring boot
Introduction to spring boot
Santosh Kumar Kar
What's an api
What's an api
Jacques Ledoux
Tendances
(20)
What is an API
What is an API
Rest API
Rest API
REST-API introduction for developers
REST-API introduction for developers
Web api
Web api
Rest api standards and best practices
Rest api standards and best practices
Introduction to APIs (Application Programming Interface)
Introduction to APIs (Application Programming Interface)
Understanding REST
Understanding REST
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB API
introduction about REST API
introduction about REST API
What is an API?
What is an API?
REST & RESTful Web Services
REST & RESTful Web Services
API for Beginners
API for Beginners
RESTful API - Best Practices
RESTful API - Best Practices
ASP.NET Web API
ASP.NET Web API
REST-API overview / concepts
REST-API overview / concepts
Api presentation
Api presentation
API
API
API Basics
API Basics
Introduction to spring boot
Introduction to spring boot
What's an api
What's an api
En vedette
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
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
Ido Flatow
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
En vedette
(18)
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...
ASP.NET Web API and HTTP Fundamentals
ASP.NET Web API and HTTP Fundamentals
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
Similaire à 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
Similaire à 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
Plus 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
Plus 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
Dernier
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Delhi Call girls
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
naman860154
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
wesley chun
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Puma Security, LLC
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
Anna Loughnan Colquhoun
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
The Digital Insurer
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Results
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
hans926745
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
Paola De la Torre
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
Delhi Call girls
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
Sinan KOZAK
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
The Digital Insurer
Dernier
(20)
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
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
Notes de l'éditeur
\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