Join Jess Chadwick for an in-depth discussion in this video Expose web API endpoints, part of Learn ASP.NET Core MVC: The Basics.
- [Instructor] Now that I've shown you…how to avoid full page refreshes…and only refresh the sections of your page…by rendering views on the server…and sending them to the client via AJAX,…now let's explore how to expose your applications data…via a Web API.…A Web API is a server-side web service…that exposes a lightweight interface…and data structures with an emphasis on usability…and the ability to be consumed…by HTTP base devices such as browsers.…
When it comes down to it, a Web API is all about…representing your data as a collection of entities,…a set of endpoints or URLs…that devices can easily interact with…using standard HTTP verbs.…With this approach, each of the standard HTTP verbs…GET, PUT, POST and DELETE correspond to an action…that you can take on an entity.…For example, GETs would indicate a request…to retrieve an entity.…PUTs indicate a request to update an existing entity.…
POSTs indicate a request to create a new entity.…DELETEs indicate a request to remove…or delete an entity from the system.…In ASP.NET Core MVC, Web API endpoints…
- Building blocks of ASP.NET Core applications
- Creating a new project
- Responding to HTTP requests
- Serving static files
- Understanding the MVC pattern
- Handling requests with controllers
- Rendering HTML with Razor
- Rendering data, view markup, and view logic
- Creating HTML forms
- Validating form data
- Reading and writing from a database with Entity Framework
- Improving the user experience
- Exposing data with a web API
- Securing your ASP.NET application
Skill Level Intermediate
1. The Basics
2. The Model-View-Controller (MVC) Pattern
Understand routing4m 24s
3. Render HTML with Views
4. Work with Data
5. Improve User Experience with Ajax and Web APIs
6. Secure Your Application
Next steps1m 42s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.