In episode 34 the blue monster, Simon, discusses the basics of routing
- Where are routes defined?
- What's the default route?
- How can you add additional parameters to be extracted from the route
For more information about routing you can checkout
and the soon to be added https://docs.asp.net/en/latest/mvc/controllers/routing.html
It finally happened! The long awaited ASP.NET Core RC2 has arrived. In today's episode, monsters Simon and Dave discuss RC2 and changes to the File - New Project templage. We also weigh in on the project.json controversy and talk about why some bits are still labeled as "Preview 1".
When you don't want to make a trip to the database or an external service on each request, caching provides a mechanism to help improve performance and make your site hum along nicely.
In this episode, Monster James configures a simple caching scenario in an ASP.NET Core MVC application and demonstrates how to configure sliding and absolute expiry, along with setting options for cache priority.
Some other videos to help you along with features mentioned in this video:
The process for referencing and updating client side packages has changed in ASP.NET Core. Instead of using Nuget for packages like jQuery and Bootstrap, the default project template uses the Bower package manager.
Join Monster Dave as he walks us through using Bower to update to the latest alpha bits Bootstrap 4. We'll cover the Visual Studio tooling and the new Tag Helpers related to referencing JS and CSS files.
In episode 30 we attempt to get dotnet running on OSX by following the directions on the website. Things don't go quite as well as hoped and Simon ends up trying to read the C++ source code for dotnet to figure out why things aren't working.
Turns out that dotnet is not supported on OS X 10.9 https://github.com/aspnet/PlatformAbstractions/issues/23 We'll update and try this again later.
Thanks to Andy or @Inumedia who gave out sage advice on the dotnet/cli Gitter channel.
When things go sideways in application development, it's certainly helpful to have more than just the dreaded yellow screen of death. ASP.NET Core has really augmented the developer experience via some interesting extensibility points that you can leverage from the default template.
Join Monster Dave as he walks us through the different developer pages that ship with the default template. We'll also talk a little about the kinds of ways you could use this approach in your projects with custom middleware of your own.
Yes! You can accept payments in your ASP.NET Core applications. Third party payment processing systems have really come of age and made it not only simple for you to start collecting payments, but also help to keep your users' personal information - such as credit cards - private...and more importantly off your server.
In this episode, Monster James shows us how to create a system for accepting user information, creating subscriptions using the Stripe.net NuGet package and integrating all of that into our application. We'll use the Stripe.js library to negotiate a token representing the user's credit card data and never have to submit the sensitive bits to our server.
This episode will also make use of some other features we've previously covered:
Some monsters like rice pudding, some monsters like to do automotive repair but these monsters like containers. Containers of what? To day containers of Windows. In this episode we show off a simple right click deploy of our project to a Windows container running on Windows 2016 on Azure. That's right, it is 2016, and we don't need no stinking Linux our ASP.NET apps in containers!
If you're interested in learning more about Windows Containers then check out
Authentication has changed over the years, and my take on it has surely shifted. No longer is it the scary, intimidating beastie that must be overcome on our projects. Today, we can let external providers provide the authentication mechanisms, giving the user with a streamlined experience that can give them access to our application with previuosly defined credentials.
Let’s have a look at what it takes to allow users to authenticate in our application using GitHub as the login source, and you can check out the Monsters video take of this on Channel 9.