Earlier today I was running into weird issues detecting whether or not my .NET Core site was receiving HTTPS requests. After much gnashing of teeth, I believe I found a solution.
Ramblings of a software developer..
posted on June 9, 2017 by long2know in ASP.NET, Core
Earlier today I was running into weird issues detecting whether or not my .NET Core site was receiving HTTPS requests. After much gnashing of teeth, I believe I found a solution.
posted on June 7, 2017 by long2know in ASP.NET, Core
Microsoft’s guidance, in regards to deploying .NET Core applications to IIS, is a bit lacking. Throw in a continuous integration tool, like Team City, and it becomes a bit of trial and error to get a .NET Core app deployed to an IIS hosted instance.
posted on May 31, 2017 by long2know in ASP.NET, Core
This is a little guide for anyone wanting to deploy a .NET Core Web site to IIS, locally or otherwise. It includes a few pitfalls you may or may not run into.
posted on May 24, 2017 by long2know in Core, Middleware, OWIN
In my previous installment, I focused mostly on sharing Cookies between an OWIN application and a .NET Core application. What happens if you want to utilize the Bearer tokens as well?
posted on May 23, 2017 by long2know in Core, Middleware, OWIN, Uncategorized
It seems like only yesterday when I setup an OWIN OAuth server to provide single-signon capabilities for all of my apps. Since that time, though, OWIN has kind of fallen to the wayside in favor of newer security mechanisms in .NET Core. However, it is possible to make an OWIN application play nice with a .NET Core application to share cookie-based authentication.
posted on May 21, 2017 by long2know in Core, Entity Framework
At Build last week, the possibility to have global filters applied to a context opened the possibility to support multi-tenancy scenarios directly. Multi-tenancy is the concept of having specific users, or “tenants”, having access to, or ownership of, only their data. In the past, I have simply checked a user’s role and conditionally added filters. Pushing this into a global filter, though, seems a bit more practical.
posted on May 21, 2017 by long2know in Core, Entity Framework
In a previous post, I demonstrated a bit of code that uses Reflection to retrieve a proper materialized trace string from Entity Framework 1.1. The 2.0 preview release of EF broke that code, though.
posted on May 17, 2017 by long2know in Core, Uncategorized
There are many subtle changes in moving from .NET Core 1.1 to .NET Core 2.0. In this post, I cover some of the breaking changes that I discovered while migrating a recent .NET Core 1.1 application.
posted on May 8, 2017 by long2know in Core
Over the weekend, I was playing around with the service scheduler project that I previously blogged about and discovered memory leaking like crazy. This project happened to also use an Entity Framework Core logger implementation.
posted on May 3, 2017 by long2know in Core, Quartz
The past few days, I’ve been playing with Quartz in a .NET Core application. My goal was to create a scheduler that could trigger other services via those services having an API.