Updated 2nd Oct 2020: for an approach that works with Autofac 6 and ConfigureTestContainer
see this post.
7 posts tagged with "ASP.Net Core"
View All TagsUp to the clouds!
This last four months has been quite the departure for me. Most typically I find myself building applications; for this last period of time I've been taking the platform that I work on, and been migrating it from running on our on premise servers to running in the cloud.
ASP.NET Core authentication: hard-coding a claim in development
This post demonstrates how you can hard code user authentication claims in ASP.NET Core; a useful technique to facilate testing during development.
Google Analytics API and ASP.Net Core
I recently had need to be able to access the API for Google Analytics from ASP.Net Core. Getting this up and running turned out to be surprisingly tough because of an absence of good examples. So here it is; an example of how you can access a simple page access stat using the API:
Cache Rules Everything Around Me
One thing that ASP.Net Core really got right was caching. IMemoryCache
is a caching implementation that does just what I want. I love it. I take it everywhere. I've introduced it to my family.
Auth0, TypeScript and ASP.NET Core
Most applications I write have some need for authentication and perhaps authorisation too. In fact, most apps most people write fall into that bracket. Here's the thing: Auth done well is a *big* chunk of work. And the minute you start thinking about that you almost invariably lose focus on the thing you actually want to build and ship.
Debugging ASP.Net Core in VS or Code
I've been using Visual Studio for a long time. Very good it is too. However, it is heavyweight; it does far more than I need. What I really want when I'm working is a fast snappy editor, with intellisense and debugging. What I've basically described is VS Code. It rocks and has long become my go-to editor for TypeScript.