Highlights
- Create REST services using Web API
- Learn Advanced Web API 2 techniques
- Use API architecture and modelling concepts
- Work with OData: define and configure
- The importance of Hypermedia in REST
- Learn how to Build secure REST services
- Implement Quality of Service features
- Deploy and host REST services
Course Details
Essential Concepts
- Overview of REST
- HTTP methods, requests, responses, and headers
- Creating a simple REST service using Web API
Web API 2 Techniques
- Managing flexible HTTP requests and responses
- Dependency injection
- HTTP message handlers
- Filters
- File uploading
Model Binding
- REST and MIME types
- Content negotiation
- Media formatters for XML, JSON, and BSON
- Creating a custom model formatter
- Configuration
REST Clients
- Consuming REST services in .NET
- Consuming REST services in web and mobile clients
- Additional types of client
Managing Routes
- Web API routing mechanisms
- Route parameters
- Best practices for designing APIs and routes
- Architectural considerations and best practice
Working with OData
- Overview of OData
- Defining a data model
- Configuring an OData endpoint
- Implement CRUD operations
- Advanced techniques
Building Hypermedia-Driven REST Services
- Overview of Hypermedia
- Understanding HATEOAS (Hypermedia as the Engine of Application State) constraints
- Understanding HAL (Hypertext Application Language)
- Implementing Hypermedia solutions using Web API
Security
- Using SSL and HTTPs
- Authentication and authorization options
- ASP.NET identity
- Using OAuth2
- Using Windows Azure ACLs
- Enabling Cross-Origin requests
- Preventing Cross-Site Request Forgery (CSRF) attack
Practical Considerations
- Documenting a REST API
- Logging
- Error handling
- Testing
- Performance
- Scalability
- Versioning
Deployment and Hosting
- Deployment to IIS
- Deployment to Windows Azure
- Self-hosting using OWIN
Who should attend
Feedback
4.8 out of 5 average
"Our tailored course provided a well rounded introduction and also covered some intermediate level topics that we needed to know. Clive gave us some best practice ideas and tips to take away. Fast paced but the instructor never lost any of the delegates"
Brian Leek, Data Analyst, May 2022
“JBI did a great job of customizing their syllabus to suit our business needs and also bringing our team up to speed on the current best practices. Our teams varied widely in terms of experience and the Instructor handled this particularly well - very impressive”
Brian F, Team Lead, RBS, Data Analysis Course, 20 April 2022