Companies Home Search Profile

Web API Development Using MVC and .NET 6/7

Focused View

Paul D. Sheriff

4:02:53

104 View
  • 1. Introduction.mp4
    03:57
  • 1. What is a Web API.mp4
    03:39
  • 2. HTTP Status Codes and Verbs.mp4
    03:22
  • 3. ASP.NET and Its Components.mp4
    02:14
  • 4. Routes, Endpoints and Dependency Injection.mp4
    02:50
  • 5. Middleware Fundamentals.mp4
    03:40
  • 6. Minimal Web API Overview.mp4
    02:30
  • 7. MVC Web API Overview.mp4
    04:11
  • 8. Test your knowledge of Web API Terms and Concepts.html
  • 1. Create Web API Project Using VS Code.mp4
    02:12
  • 2. Create Web API Project Using Visual Studio 2022.mp4
    02:03
  • 3. Test Web API Calls Using Postman.mp4
    01:36
  • 4. Using SwaggerOpen API to Test API Calls.mp4
    02:30
  • 5. Understanding and Commenting Program.cs.mp4
    02:57
  • 6. Test your knowledge of Creating a Web API Project.html
  • 7. Lab Create a Web API Project.html
  • 8.1 Labs-FinishedSample.zip
  • 8. Finished Lab Samples.html
  • 9.1 Samples.zip
  • 9. Sample Code Demonstrated in this Section.html
  • 1. Adding Product Entity & Repository Classes.mp4
    02:29
  • 2. Add Product Controller to Return a List of Products.mp4
    03:22
  • 3. Get a Single Product from the Product Controller.mp4
    01:50
  • 4. Using the IActionResult Return Type for a List.mp4
    04:35
  • 5. Using the IActionResult Return Type for a Single Product.mp4
    01:44
  • 6. Alternatives to the StatusCode() Method.mp4
    00:59
  • 7. Add Multiple Response Types to Action Methods.mp4
    01:36
  • 8. Use ActionResultT Generic for Returning Data.mp4
    02:44
  • 9. Test your knowledge of Controllers and Return Types.html
  • 10. Lab Controllers and Return Types.html
  • 11.1 Labs-FinishedSample.zip
  • 11.2 Labs-StartingCode.zip
  • 11. Finished Lab Samples.html
  • 12.1 Samples-StartingCode.zip
  • 12.2 Samples.zip
  • 12. Sample Code Demonstrated in this Section.html
  • 1. Overview of Routing and Applying the [Route] Attribute.mp4
    03:22
  • 2. Multiple URLs on the Same Endpoint.mp4
    01:13
  • 3. Get a Product by Category ID.mp4
    01:20
  • 4. Pass Multiple Query Parameters.mp4
    01:15
  • 5. Pass Multiple Query Parameters as a Query String.mp4
    01:37
  • 6. Using Parameter Constraints.mp4
    02:44
  • 7. Test your knowledge of Routes and Parameters.html
  • 8. Lab How Routing Works.html
  • 9.1 Labs-FinishedSample.zip
  • 9. Finished Lab Samples.html
  • 10.1 Samples.zip
  • 10. Sample Code Demonstrated in this Section.html
  • 1. What is Dependency Injection and Why Use It.mp4
    03:45
  • 2. Service Lifetimes of Injected Objects.mp4
    01:49
  • 3. Demonstration of a Scoped Lifetime.mp4
    03:17
  • 4. Demonstration of a Singleton Lifetime.mp4
    01:07
  • 5. Using an Interface with Dependency Injection.mp4
    04:46
  • 6. Test your knowledge of Dependency Injection.html
  • 7. Lab Dependency Injection.html
  • 8.1 Labs-FinishedSample.zip
  • 8. Finished Lab Samples.html
  • 9.1 Samples.zip
  • 9. Sample Code Demonstrated in this Section.html
  • 1. Introduction to Logging in ASP.NET Core.mp4
    01:39
  • 2. Using the Built-In Logging to the Console Window.mp4
    02:23
  • 3. Control the Log Levels Through the appsettings File.mp4
    02:33
  • 4. Logging an Object.mp4
    04:43
  • 5. Test your knowledge of logging.html
  • 6. Lab Logging.html
  • 7. Finished Lab Samples.html
  • 8.1 Samples.zip
  • 8. Sample Code Demonstrated in this Section.html
  • 1. The Built-In ASP.NET Unhandled Exception Handler.mp4
    01:56
  • 2. Create Your Own Exception Controller.mp4
    02:41
  • 3. Development vs Production Exception Handling.mp4
    01:40
  • 4. Create a Production Profile in Visual Studio.mp4
    02:01
  • 5. Handling a 404 Status Code.mp4
    03:26
  • 6. Log Exceptions and Info Messages to Different Files.mp4
    01:31
  • 7. Log Exceptions in your Catch Blocks.mp4
    03:12
  • 8. Test your knowledge of Exception Handling.html
  • 9. Lab Exception Handling.html
  • 10.1 Labs-FinishedSample.zip
  • 10. Finished Lab Samples.html
  • 11.1 Samples.zip
  • 11. Sample Code Demonstrated in this Section.html
  • 1. Create a Custom Base Controller Class.mp4
    03:28
  • 2. Add Exception Handling to Base Controller Class.mp4
    02:36
  • 3. Add Serialization of Objects to Base Controller Class.mp4
    02:18
  • 4. Test your knowledge of a base controller class.html
  • 5. Lab Base Controller Class.html
  • 6.1 Labs-FinishedSample.zip
  • 6. Finished Lab Samples.html
  • 7.1 Samples.zip
  • 7. Sample Code Demonstrated in this Section.html
  • 1. Reading Configuration Settings from JSON File.mp4
    02:19
  • 2. Read Settings into Object, Inject Object.mp4
    01:59
  • 3. Read Settings, Assign to Each Property in Class.mp4
    02:15
  • 4. Assign Config Settings Directly to Class.mp4
    01:30
  • 5. Read Settings and Bind to Class in Program.cs.mp4
    02:03
  • 6. Dynamic Configuration Settings Using IOptionsMonitorT.mp4
    03:33
  • 7. Test your knowledge of reading configuration settings..html
  • 8. Lab Reading Configuration Settings.html
  • 9.1 Labs-FinishedSample.zip
  • 9. Finished Lab Samples.html
  • 10.1 Samples.zip
  • 10. Sample Code Demonstrated in this Section.html
  • 1. Using Attributes to Affect JSON Serialization.mp4
    02:25
  • 2. Format JSON Using Global Options in Program.cs.mp4
    01:38
  • 3. Ignore All Read-Only Properties.mp4
    01:14
  • 4. Return XML From Web API Calls.mp4
    01:21
  • 5. Consuming XML in a Post() Method.mp4
    02:06
  • 6. Test your knowledge of JSON Serialization.html
  • 7. Lab Formatting JSON.html
  • 8.1 Labs-FinishedSample.zip
  • 8. Finished Lab Samples.html
  • 9.1 Samples.zip
  • 9. Sample Code Demonstrated in this Section.html
  • 1. Create an MVC Website From Which to Make API Calls.mp4
    01:28
  • 2. Call Web API via JavaScript.mp4
    02:20
  • 3. Configure CORS to Allow Incoming Web API Calls.mp4
    03:44
  • 4. Test your knowledge of CORS.html
  • 5. Lab CORS.html
  • 6.1 Labs-FinishedSample.zip
  • 6. Finished Lab Samples.html
  • 7.1 Samples.zip
  • 7. Sample Code Demonstrated in this Section.html
  • 1. Create a Constants Class.mp4
    02:00
  • 2. Create a Services Collection Extension Class.mp4
    02:24
  • 3. MVCBuilder and Host Extension Classes.mp4
    01:58
  • 4. Create Web Application Builder Extension Class.mp4
    01:00
  • 5. Create Repository Classes Extension Method.mp4
    01:54
  • 6. Lab Organize the Program.cs File.html
  • 7.1 Labs-FinishedSample.zip
  • 7. Finished Lab Samples.html
  • 8.1 Samples.zip
  • 8. Sample Code Demonstrated in this Section.html
  • 1. Security in ASP.NET.mp4
    01:48
  • 2. Turn on Authentication and Add [Authorize] Attribute.mp4
    01:42
  • 3. Overview of JSON Web Tokens.mp4
    02:40
  • 4. Adding JWT to a Web API Project.mp4
    03:30
  • 5. Register JWT as the Authentication Scheme.mp4
    03:07
  • 6. Handling Unauthorized Calls (401 Status Code).mp4
    01:10
  • 7. Creating the Entity Security Classes.mp4
    02:11
  • 8. Creating the Security Manager Class.mp4
    05:58
  • 9. Create a Security Controller to Generate a JWT.mp4
    02:38
  • 10. Display the Contents of a JWT.mp4
    01:24
  • 11. Add JWT Support in Swagger.mp4
    02:30
  • 12. Securing an Endpoint Using Claims.mp4
    04:14
  • 13. Test your knowledge of ASP.NET security.html
  • 14. Lab Securing your Web APIs.html
  • 15.1 Labs-FinishedSample.zip
  • 15. Finished Lab Samples.html
  • 16.1 Samples.zip
  • 16. Sample Code Demonstrated in this Section.html
  • 1. Add the Entity Framework to the Web API Project.mp4
    01:36
  • 2. Add Data Annotations to the Product Class.mp4
    01:48
  • 3. Create the DbContext Class.mp4
    02:39
  • 4. Add the DbContext Class to the DI Services Collection.mp4
    01:27
  • 5. Read Product Data from the Database.mp4
    02:36
  • 6. Test your knowledge of the Entity Framework.html
  • 7. Lab Add the Entity Framework.html
  • 8.1 Labs-FinishedSample.zip
  • 8. Finished Lab Samples.html
  • 9.1 Samples.zip
  • 9. Sample Code Demonstrated in this Section.html
  • 1. Add Methods to the Interface and Repository Class.mp4
    01:46
  • 2. Insert Products into the Product Table.mp4
    03:44
  • 3. Update Products in the Product Table.mp4
    04:05
  • 4. Delete Products in the Product Table.mp4
    02:34
  • 5. Validating Product Data Using Data Annotations.mp4
    03:26
  • 6. Lab Modify and Validate Data.html
  • 7.1 Labs-FinishedSample.zip
  • 7. Finished Lab Samples.html
  • 8.1 Samples.zip
  • 8. Sample Code Demonstrated in this Section.html
  • 1. Create a SearchBase and a ProductSearch Class.mp4
    02:06
  • 2. Add Search Methods to Product Repository Class.mp4
    01:36
  • 3. Add Search Methods to IRepository Interface.mp4
    01:51
  • 4. Add a Search Route to Product Controller.mp4
    03:21
  • 5. Lab Create Searching Methods.html
  • 6.1 Labs-FinishedSample.zip
  • 6. Finished Lab Samples.html
  • 7.1 Samples.zip
  • 7. Sample Code Demonstrated in this Section.html
  • 1. Introduction to Asynchronous.mp4
    01:47
  • 2. How Asynchronous Web API Calls Work.mp4
    03:04
  • 3. Introduction to async, await and TaskT.mp4
    01:35
  • 4. A Simple SyncAsync Demonstration.mp4
    03:16
  • 5. Create Async Repository Class.mp4
    01:52
  • 6. Create Async Controller & Get all Products Asynchronously.mp4
    01:35
  • 7. Get a Single Product Asynchronously.mp4
    01:00
  • 8. Create Search, Insert, Update, Delete Async Methods.mp4
    02:44
  • 9. Test your knowledge of asynchronous programming.html
  • 10. Lab Create Asynchronous Web API Calls.html
  • 11.1 Labs-FinishedSample.zip
  • 11. Finished Lab Samples.html
  • 12.1 Samples.zip
  • 12. Sample Code Demonstrated in this Section.html
  • Description


    Learn Web API, MVC, Security, CRUD, CORS, Swagger, and Reusability are all covered in this course.

    What You'll Learn?


    • What is a Web API?
    • Build a Web API Project
    • Use PostMan and Swagger to Test API Calls
    • Configure your Web API using Config Classes
    • Determine the Return Type to Use
    • Format Data as JSON or XML
    • Setup Web API Routes
    • Add Logging to your Web API Calls
    • Add Exception Handling to your Web API Calls
    • Develop a Complete Set of CRUD APIs
    • Call your Web APIs from JavaScript/jQuery
    • Add CORS to Allow Cross-Domain Calls
    • The Basics of Securing Web APIs
    • Calling Web APIs Asynchronously

    Who is this for?


  • If you are a C# web developer, at some point you are probably going to need Web APIs. If you are a front-end developer using Angular, React, JavaScript, jQuery, etc. you should be familiar with how to create Web APIs so you can consume them effectively. If you are already developing Web APIs using MVC, you are sure to learn something new in this course. If you are a development manager or a QA person who workings with developers creating Minimal Web APIs, after watching this course you will be better equipped to work with those developers.
  • What You Need to Know?


  • To get the most out of this course, I assume you are very familiar with the C# language, Visual Studio or Visual Studio Code. You should also have a basic familiarity with MVC and web programming.
  • More details


    Description

    If you need other developers to access data within your private domain, Web APIs are the best way to accomplish this. Using Web APIs, you write code behind a firewall to access your data and expose just what you want to the outside world. With Microsoft you can write Web APIs using the popular MVC paradigm and this is what you are going to learn in this course. Even if you have never created a Web API before, this course guides you step-by-step through the entire process.


    In this course you are provided with an overview of Web APIs in general. You then build an MVC Web API project and learn to consume Web APIs using Postman and Swagger. You learn how to configure the project to return different types of data such as JSON and XML. The basics of routing and how to add logging and exception handling is illustrated. You then build a set of CRUD APIs to allow a developer to interact with your database. You are going to see how to call your APIs via JavaScript/jQuery and how CORS is added to allow cross-domain access. Finally, the basics of securing your Web APIs is covered.


    How Are You Going To Learn All This?

    All the demos you are shown during this course are backed up with a set of labs for you to perform. Walking through these labs step-by-step ensures that you understand the concepts illustrated in each lesson.

    • ~88 demos

    • ~65 questions

    • ~75 hands-on labs

    Who am I?

    My name is Paul D. Sheriff and I have been teaching developers since 1986 through video, blogs, articles, speaking at major conferences and user groups, and in-person training at small and enterprise (Fortune 500) companies. My students have said I have an easy-going manner and have a talent for breaking complicated topics into an easy-to-understand format. I consistently have very high ratings on my courses. I believe you need to learn by doing and that is why I offer so many hands-on labs within my courses.

    Who this course is for:

    • If you are a C# web developer, at some point you are probably going to need Web APIs. If you are a front-end developer using Angular, React, JavaScript, jQuery, etc. you should be familiar with how to create Web APIs so you can consume them effectively. If you are already developing Web APIs using MVC, you are sure to learn something new in this course. If you are a development manager or a QA person who workings with developers creating Minimal Web APIs, after watching this course you will be better equipped to work with those developers.

    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Paul D. Sheriff
    Paul D. Sheriff
    Instructor's Courses
    Paul has been in the IT industry over 35 years. In that time he has successfully assisted hundreds of companies architect software applications to solve their toughest business problems. Paul has been a teacher and mentor through various mediums such as video courses, blogs, articles and speaking engagements at user groups and conferences around the world. Paul has multiple courses in the Pluralsight library on topics ranging from C#, LINQ, JavaScript, Angular, MVC, WPF, XML, jQuery and Bootstrap. Contact Paul at [email protected].
    Students take courses primarily to improve job-related skills.Some courses generate credit toward technical certification. Udemy has made a special effort to attract corporate trainers seeking to create coursework for employees of their company.
    • language english
    • Training sessions 99
    • duration 4:02:53
    • Release Date 2023/06/16