Blog

Debug an Azure application

Objective Collect diagnostic information by using Azure App Insights; choose log types, for example, event logs, performance counters, and crash dumps; stream logs directly to Visual Studio from a deployed site; debug an Azure application by using Visual Studio and remote debugging; interact directly with remote Azure websites using Server Explorer What is Application Insights?...

Design an exception handling strategy

Objective Handle exceptions across multiple layers; use MVC middleware to configure error handling; use different exception handling strategies for different environments; create and display custom error pages; configure a custom pipeline for error handling; handle first chance exceptions; configure and use App Insights; log application exceptions ASP.NET Error Handling Handle errors in ASP.NET Core Displaying...

Prevent and troubleshoot runtime issues

Objective Troubleshoot performance, security, and errors; implement tracing, logging, and debugging including IntelliTrace; enable and configure health monitoring including Performance Monitor; configure and use App Insights runtime telemetry Troubleshoot performance, security, and errors Use Performance Wizard in Visual Studio Analyze –> Perfomance Profiler (VS 2017 Community edition)Available Targets: Startup project, Running ProcessExecutableASP.NET (running on IIS)Running App...

Design and implement serialization and model binding

Objective Serialize models and data using supported serialization formats, including JSON, XML, protobuf, and WCF/SOAP; implement model and property binding, including custom binding and model validation; implement web socket communication in MVC; implement file uploading and multipart data; use AutoRest to build clients JSON and XML Serialization in ASP.NET Web API Model validation in ASP.NET...

Control application behavior by using MVC extensibility points

Objective Create custom middleware and inject it into the pipeline; implement MVC filters and controller factories; control application behavior by using action results, model binders, and route handlers; inject services into a view ASP.NET Core Middleware Dependency injection into views in ASP.NET Core Model Binding in ASP.NET Core Custom Model Binding in ASP.NET Core Filters...

Design and implement MVC controllers and actions

Objective Apply authorization attributes, filters including global, authentication, and overriddable filters; choose and implement custom HTTP status codes and responses; implement action results; implement MVC areas; implement Dependency Injection for services in controllers Authorization in ASP.NET Core Understanding Action Filters (C#) HttpStatusCode Enum Areas in ASP.NET Core Dependency injection into controllers in ASP.NET Core ASP.NET...

Plan for search engine optimization and accessibility

Objective Use analytical tools to parse HTML; provide an xml sitemap and robots.txt file to improve scraping; write semantic markup for accessibility, for example, screen readers; use rich snippets to increase content visibility Search Engine Optimization Toolkit Managing Robots.txt and Sitemap Files HTML: A good basis for accessibility Designing for Screen Reader Compatibility schema.org...