Throttling requests in .NET Core web applications

Stoplight

Last year I worked on a team migrating a large application to ASP.NET Core from ASP.NET MVC 5. Among our goals we wanted to make the site use responsive layout, become “future-proofed” on a technology stack, and clean-up a bunch of legacy cruft. Our initial launch did not go smoothly and we reverted to the previous site to make changes. In the process we learned some “gotchas”.  Today I’m going to discuss one of those and how we addressed it. We’ll learn about throttling requests in .NET Core web applications. 

Continue reading “Throttling requests in .NET Core web applications”

Cookie management in DotNetCore web applications

For those of us used to cookies in traditional ASP.NET the switch to ASP.NET Core might leave us scratching our heads. In the old system we were able to directly add and remove cookies from both the request and response objects (for better or worse). This might have led to us writing and overwriting the same cookie multiple times during a request as different portions of code affected it. DotNetCore has changed the game and that’s a good thing, trust me. Today we’re going to learn a technique for cookie management in DotNetCore web applications.

Continue reading “Cookie management in DotNetCore web applications”

Dependency Injection in a DotNetCore Console Application

Injecting the apple with naughtiness

In my last post I talked about creating a .NET Core console application for removing advertisements from a recorded stream.  I glossed over some of the things I did in that application such as hooking up dependency injection and configuration management.  Today I’m going to talk about implementing dependency injection in a DotNetCore console application.

Continue reading “Dependency Injection in a DotNetCore Console Application”

Removing advertisements from recorded video streams

Film Reel - Credit Denise Jans - Unsplash

Hypothetically, let’s say I have some software that records streaming video from the interwebs. For the sake of this exercise I’m also pretending this software is called PlayOn.  Next, I’m imagining that the recorded streams also include advertisements. Continuing into our hypothetical journey I’m guessing I have a media center where I host the recorded media. 

Continue reading “Removing advertisements from recorded video streams”

Programmer’s Obligatory Hello world!

Hello World!

This is an obligatory “Hello World” post seeing as I’m a developer.  My intention is to post weekly about programming topics: what I’m working on, what I’ve discovered, and where I’m going.  I’m hoping that this will serve as a resource for others as much as an archive for me.  Learn more about me.

At least initially I will be blogging primarily about .NET Core (netcore) and ReactJS. I work in several other technologies as well so don’t be surprised if they sneak in.

Credits

Photo by rawpixel on Unsplash