Join Jess Chadwick for an in-depth discussion in this video Add ASP.NET MVC to your ASP.NET Core application, part of Learn ASP.NET Core MVC: The Basics.
- [Narrator] Now that you know what the ASP.NET Core…MVC Framework is, it's time to add it to our application.…Like most other functionality, the ASP.NET Core…MVC Framework lives in a package that this project…does not yet reference.…So, we'll need to add that package, and I'll do this…with the shortcut that I've shown in other videos…by simply writing the code to register the MVC middleware…in my application: app.UseMvc();…Then I'll use the context menu to tell Visual Studio…to add the package.…
Once the package is added, and I begin to get intellisense,…I can see that this method also accepts an optional…parameter of a configuration function.…In this function, you can define the route patterns that…the ASP.NET Core MVC middleware should be listening to.…It looks like this: I'll explain the details of what's…going on here in a later video.…All you really need to know right now is that this string…represents the URL to be matched and each of these…placeholders defines a section of the URL…and gives it a name.…
- 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.