Q&A

Q&A: ASP.NET Core Beyond the Basics

There are a lot of "getting started" talks about ASP.NET Core out there, but they won't take you very far in the real world. What if you already know what the Startup class does, how configuration is handled and what Kestrel is?

Well then, do we have an expert for you!

Based in Sweden, Chris Klug is an 11-time MVP in Developer Technologies and sought-after tech event presenter, along with being a solution architect and developer at Active Solution. He's going to be diving into the higher-level ASP.NET Core stuff in an upcoming presentation at the Visual Studio Live! conference set for June 13-17 in Austin, Texas.

His June 16 presentation, ASP.NET Core Beyond the Basics, will cram multiple demos into a short amount of time in examining complex areas of ASP.NET Core, thus skipping typical introductions to ASP.NET Core and "this template includes ..." types of discussions.

Attendees are promised to:

  • Learn there is much more to ASP.NET Core than they teach at ASP.NET Core 101
  • See some really interesting features of ASP.NET Core that generally aren't shown
  • Realize that with a good understanding of the framework, you can build stuff you didn't think was possible

To give you a taste of what's on tap, we caught up with Chris for a quick Q&A:

VisualStudioMagazine: In going beyond the basics, what are some of the advanced/complex topics you will cover in your presentation?
Klug: I'm actually going to be looking at a few different topics. For example, I will show how to use some ASP.NET Core extension points to enable content negotiation using the Accept header. I will also do a fun little deep dive into how you can add features to any ASP.NET Core application deployed to your server, by "simply" utilizing a few tricks built into the framework. Basically showing how Application Insights can be "injected" into your application by simply ticking a checkbox in Azure.

What's the biggest hurdle ASP.NET Core developers have to overcome as they embark on projects beyond the basic web site types of projects?
Well, people tend to look at the intro courses, and the "Getting started"-kind of talks. And this is fine if you just need the basics. However, when you start digging deeper, and reading the documentation, you realize that there are a lot of features in there that you can use to your advantage.

"When you start digging deeper you realize that there are a lot of features in there that you can use to your advantage."

Chris Klug, Microsoft MVP

But I think the problem is really around finding out that something is available. Once you know that, you can easily find more information in the docs, or on-line. But before you know what to look for, it is hard.

Inside the Session

What: ASP.NET Core Beyond the Basics

When: June 16, 8:00am - 9:15am.

Who: Chris Klug, Solution Architect and Developer, Active Solution

Why: There are plenty of introductory courses to be found, so this is for advanced-level developers eager to learn what they might not know now.

Find out more about Visual Studio Live!, taking place June 13-17 in Austin, Texas

You will discuss some really interesting features of ASP.NET Core that generally aren't shown. What's one?
Well, it's just the amount of extensions points that are available in there. And since there are often very generic, they allow you to take advantage of them in whatever way you need. For example, the ability to add an attribute implementing the IActionConstraint interface. This allows you to filter the use of an action based on a context in a very simple way. But it still offers so many possibilities.

A complete understanding of the framework can help developers build things they didn't think was possible. What's an example of that?
By understanding the IActionConstraint interface, as well as a few supporting base classes and interfaces, I am able to add content negotiation using the Accept header in a fairly easy way. A feature that I find to be missing in the framework, and that could be hindering me. But now, I have it, and can use it in my project.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube