Part-3 Exam 70-486: Developing ASP.NET MVC Web Applications
Live Lecture
Lecture 1: Exploring ASP.NET Core MVC
Live Lecture
ASP.NET Core MVC supports agile, test-driven development cycle. It also allows you to use the latest HTML standard and Front-End frameworks such as Angular, React, and more.
· Lessons
· Overview of Microsoft Web Technologies
· Overview of ASP.NET 4.x
· Introduction to ASP.NET Core MVC
· Lab: Exploring ASP.NET Core MVC
· Exploring a Razor Pages Application
· Exploring a Web API Application
· Exploring an MVC Application
· After completing this course, students will be able to:
· Understand the variety of technologies available in the Microsoft
web stack.
· Describe the different programming models available for
developers in ASP.NET.
· Choose between ASP.NET Core and ASP.NET 4.x.
· Describe the role of ASP.NET Core MVC in the web technologies
stack, & how to use ASP.NET Core MVC to build web applications.
· Distinguish between MVC models, MVC controllers, and MVC
views.
Lecture 2: Designing ASP.NET Core MVC Web Applications
Live Lecture
Microsoft ASP.NET Core MVC is a programming model that you can use to create powerful and complex web applications. However, allcomplex development projects, and large projects in particular, can be challenging and intricate to fully understand.
· Lessons
· Planning in the Project Design Phase
· Designing Models, Controllers and Views
· Lab : Designing ASP.NET Core MVC Web Applications
· Planning Model Classes
· Planning Controllers
· Planning Views
· Architecting and MVC Web Application
· After completing this module, students will be able to:
· Plan the overall architecture of an ASP.NET Core MVC web
application and consider aspects such as state management.
· Plan the models, controllers, and views that are required to
implement a given set of functional requirements.
Lecture 3: Configure Middlewares and Services in ASP.NET Core
Live Lecture
ASP.NET Core is a framework that allows us to build many different kinds of applications. In this module, you will learn how to leverage the ASP.NET Core framework to handle requests and responses via existing, and custom middleware, and how to configure services for use in middleware and throughout other parts of the application, such as controllers.
· Lessons
· Configuring Middlewares
· Configuring Services
· Lab : Configuring Middleware and Services in ASP.NET
Core
· Working with Static Files
· Creating custom middleware
· Using dependency injection
· Injecting a service to a controller
· After completing this module, students will be able to:
· Use existing middleware to set up an ASP.NET Core application.
· Create your own middleware and use it to define custom
behavior.
· Understand the basic principles behind Dependency Injection,
and how it is used in ASP.NET Core.
· Know how to create a custom service, configure its scope, and
inject it to both middleware and ASP.NET Core MVC controllers.
Lecture 4: Developing Controllers
Live Lecture
ASP.NET Core MVC is a framework for building web applications by using the Model-View-Controller (MVC) architectural pattern. The controller is essentially responsible for processing a web request by interacting with the model and then passing the results to the view. The model represents the business layer, sometimes referred to as the domain, and may include data objects, application logic, and business rules.
· Lessons
· Writing Controllers and Actions
· Configuring Routes
· Writing Action Filters
· Lab : Developing Controllers
· Adding controllers and actions to an MVC application
· Configuring routes by using the routing table
· Configuring routes using attributes
· Adding an action filer
· After completing this module, students will be able to:
· Add a controller to a web application that responds to user
actions that are specified in the project design.
· Add routes to the ASP.NET Core routing engine and ensure
that URLs are user-friendly in an MVC web application.
· Write code in action filters that runs before or after a controller
action.
Lecture 5: Developing Views
Live Lecture
Views are one of the three major components of the Model-View-Controller (MVC) programming model. You can define the user interface for your web application by creating views. A view is a combination of HTML markup and C# code that runs on a web server.
· Lessons
· Creating Views with Razor Syntax
· Using HTML Helpers and Tag Helpers
· Reusing Code in Views
· Lab : Developing Views
· Adding Views to an MVC Application
· Adding a partial view
· Adding a view component
· After completing this module, students will be able to:
· Create an MVC view and add Razor markup to it to display
data to users.
· Use HTML helpers and tag helpers in a view.Reuse Razor
markup in multiple locations throughout an application.
Lecture 6: Developing Models
Live Lecture
Most web applications interact with various types of data or objects. An e-commerce application, for example, manages products, shopping carts, customers, and orders. A social networking application might help manage users, status updates, comments, photos, and videos.
· Lessons
· Creating MVC Models
· Working with Forms
· Validate MVC Application
· Lab : Developing Models
· Adding a model
· Working with Forms
· Add Validation
· After completing this module, students will be able to:
· Add a model to an MVC application and write code in it to
implement the business logic.
· Use display and edit data annotations.
· Validate user input with data annotations.
Lecture 7: Using Entity Framework Core in ASP.NET Core
Live Lecture
Web applications often use information and they usually require a data store for that information. By rendering webpages that use data from a data store, you can create a web application that changes continually in response to user input, administrative actions, and publishing events.The data store is usually a database, but other types of data stores are occasionally used.
· Lessons
· Introduction to Entity Framework Core
· Working with Entity Framework Core
· Use Entity Framework Core to connect to Microsoft SQL
Server
· Lab: Using Entity Framework Core in ASP.NET Core
· Adding Entity Framework Core
· Use Entity Framework Core to retrieve and store data
· Use Entity Framework Core to connect to Microsoft SQL
Server
· After completing this module, students will be able to:
· Connect an application to a database to access and store data.
· Explain EF Core.
· Work with Entity Framework Core.
· Use EF Core to connect to a database including Microsoft
SQL Server.
Lecture 8: Using Layouts, CSS and JavaScript in ASP.NET Core MVC
Live Lecture
While building web applications, you should apply a consistent look and feel to the application. You should include consistent header andfooter sections in all the views. Microsoft ASP.NET Core MVC includes features such as cascading style sheets (CSS) styles and layouts that enhance the appearance and usability of your web application
· Lessons
· Using Layouts
· Using CSS and JavaScript
· Using jQuery
· Lab : Using Layouts, CSS and JavaScript in ASP.NET Core
· Applying a layout and link views to it
· Using CSS
· Using JavaScript
· Using jQuery
· After completing this module, students will be able to:
· Apply a consistent layout to ASP.NET Core MVC applications.
· Add JavaScript code to your web application.
· Use the jQuery library in your web application.
Lecture 9: Client-Side Development
Live Lecture
In this module, you are going to learn how to use the Bootstrap framework to style your web application. Then you are going to learn how to use Sass and Less, two common Cascading Style Sheets (CSS) preprocessors that add features to CSS, such as variables, nested rules, and functions.
· Lessons
· Applying Styles
· Using Task Runners
· Responsive design
· Lab : Client-Side Development
· Use gulp to run tasks
· Styling using Sass
· Using Bootstrap
· After completing this module, students will be able to:
· Use Bootstrap, Sass and Less in a Microsoft ASP.NET Core
application.
· Use task runners in an ASP.NET Core application.
· Ensure that a web application displays correctly on devices with
different screen sizes.
Lecture 10: Testing and Troubleshooting
Live Lecture
Software systems such as web applications are complex and require multiple components, which are often written by different developers, to work together. Incorrect assumptions, inaccurate understanding, coding errors, and many other sources can create bugs that result in exceptions or unexpected behavior.
· Lessons
· Testing MVC Applications
· Implementing an Exception Handling Strategy
· Logging MVC Applications
· Lab : Testing and troubleshooting
· Testing a Model
· Testing a controller using a fake repository
· Implementing a repository in MVC project
· Add exception handling
· Add logging
· After completing this course, students will be able to:
· Run unit tests against the Model–View–Controller (MVC)
components, such as model classes and controllers, and locate
potential bugs.
· Build a Microsoft ASP.NET Core MVC application that handles
exceptions smoothly and robustly.
· Run logging providers that benefit your applications and run them
by using a common logging API.
Lecture 11: Managing Security
Live Lecture
Authentication is the act of utilizing several parameters to make sure that a user is who they claim to be. By implementing authentication, you can ascertain who a user is and provide them with appropriate content while utilizing your applications. Authorization is the process where an already authenticated user in the application can be granted access to specific actions or resources.
· Lessons
· Authentication in ASP.NET Core
· Authorization in ASP.NET Core
· Defending from Attacks
· Lab : Managing Security
· Use Identity
· Add Authorization
· Avoid the Cross-Site Request Forgery Attack
· After completing this module, students will be able to:
· Add basic authentication to your application.
· Configure Microsoft ASP.NET Core Identity.
· Add basic authorization to your application.
· Utilize several different authorization approaches.
· Know how security exploits work and how to better defend
against them.
Lecture 12: Performance and Communication
Live Lecture
Modern web applications require complex interactions with users. Users will often request a lot of data in a small time-frame, while also expecting relevant data as soon as it comes online. This can easily cause a significant amount of load on an unprepared server, resulting in unnecessarily complex or repeated operations and a heavy load on your server.
· Lessons
· Implementing a Caching Strategy
· Managing State
· Two-way communication
· Lab : Performance and Communication
· Implementing a Caching Strategy
· Managing state
· Two-Way communication
· After completing this module, students will be able to:
· Implement caching in a Microsoft ASP.NET Core application.
· Use state management technologies to improve the client
experience,by providing a consistent experience for the user.
· Implement two-way communication by using SignalR, allowing
the server to notify the client when important events occur.
Lecture 13: Implementing Web APIs
Live Lecture
Most web applications require integration with external systems such as mobile applications. You need to know how to use Web APIs to promote application interaction with external systems. You can use the Web API to implement Representational State Transfer (REST) services in your application.
· Lessons
· Introducing Web APIs
· Developing a Web API
· Calling a Web API
· Lab : Implementing Web APIs
· Adding Actions and Call Them Using Microsoft Edge
· Calling a Web API using server-side code
· Calling a Web API using jQuery
· After completing this module, students will be able to:
· Create services by using ASP.NET Core Web API.
· Call a Web API from server-side code and jQuery.
Lecture 14: Hosting and Deployment
Live Lecture
ASP.NET Core MVC applications are designed to provide a service to multiple users simultaneously while only requiring the server to be installed, and the clients to use browsers to access it. This results in highly desirable applications which do not rely on the user installing dedicated software, and ensuring it is accessible by clients on a wide variety of machines.
· Lessons
· On-premise hosting and deployment
· Deployment to Microsoft Azure
· Microsoft Azure Fundamentals
· Lab : Hosting and Deployment
· Deploying a Web Application to Microsoft Azure
· Upload an Image to Azure Blob Storage
· After completing this module, students will be able to:
· Host and Deploy an ASP.NET Core MVC application on IIS.
· Host and Deploy an ASP.NET Core MVC application on
Microsoft Azure.
· Be able to utilize services offered by Microsoft Azure to improve
the capabilities of your web applications.