Programing Web API using ASP.NET Core 6

Explore programming with REST standards in this course. Learn the REST description, how to create ASP.NET Web AP and how to secure services.
Microsoft Partner
Private session

This training is available in a private or personalized format. It can be provided in one of our training centres or at your offices. Call one of our consultants of submit a request online.

Call now at 1 877 624.2344

  • Duration: 2 days
  • Regular price: On request

Course outline

Duration : 2 days

© AFI Expertise inc.

ASP.NET Core can create REST services, also called Web API services. You can build this communication infrastructure for information exchange between systems. Web API are the building blocks to create various architectures, like SOA, micro-services and nano-services. Data is transfered using the JSON format

This training uses the latest .NET version. (Currently version 6).

Audience

Developers

Contents

Introduction to REST

  • REST fundamentals
  • Standards and conventions
  • Architectures (SOA, Micro-services, etc)
  • Data Formats: JSON vs. XML

First apps with Web API

  • Create a Web API
  • Minimal APIs
  • Using dependency injection
  • Configure middleware
  • Routing
  • Attributs
  • Scaffolding controlers

Getting data

  • Test with Swagger/OpenAPI documentation
  • Test with different tools
  • Curl
  • Http-repl
  • Postman
  • Use .NET with HttpClient
  • Use JavaScript with fetch

Databases with Web API

  • Entity Framework
  • OData
  • Validation

Securing Web API

  • Authentication
  • Authorization
  • Logging
  • CORS
  • Prevent over-posting

Advanced ASP.NET

  • Filters
  • Formatters, model binding
  • Custom Middleware
  • Adding a Custom Response Header
  • Checking for an API Key
  • JSON Patch

Surround yourself with the best

Khalil Ben Fadhel
Khalil Ben Fadhel
Trainer, Data Science - AI
Khalil is an artificial intelligence expert working at Leap Conseil. Thanks to its extensive expertise in the managing and conducting artificial intelligence projects, Khalil has co-worked with several public and private sector organizations to carry out innovative projects.
Fazil Chouakri
Fazil Chouakri
VP Technology, Coach and Trainer
Fazil is a coach and trainer with solid experience in the field, which allows him to combine the practical and the theoretical to meet his students’ needs.
Philippe Paradis
Philippe Paradis
Certified Trainer and IT Consultant
Obsessed with the quality of services he provides and the solutions he develops, Philippe always makes sure he delivers more than what people expect, all while ensuring a pleasant learning experience.
Michel Laporte
Michel Laporte
Trainer and IT consultant
Michel possesses the ability to translate needs into IT solutions. His mission is to help his clients surf the ceaselessly accelerating technology wave.
Be aware of trends, innovations and best practices, every month.
Confidentiality
Training center accredited by Emploi-Québec, Accreditation : 0051460
GST : 141582528 – QST : 1019557738
© 2022 AFI
AFI Expertise

The AFI experience brought to you by Edgenda

At AFI, our focus is to offer you relevant training and impactful learning experiences in line with your transformation approach. Do you need support for your approach? Check out Edgenda’s services: Edgenda.com