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.
Ramblings of a software developer..
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 26, 2017 by long2know in angularjs, plunker
While Anuglar 4.x is all the rage, I continue to also work in Angular 1.x (AngularJS) projects. Earlier this week, a colleague of mine wanted to use an input mask that doesn’t affect an underlying ng-model value. We already had a directive using jquery.input-mask, but that modifies the model value. Formatters and parsers are suited well for this task of separating the view value and model value.
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 14, 2017 by long2know in Azure, Uncategorized
One of the more interesting things from Build was the move to provide different databases as services. Since this opened the possibility of moving my LAMP-based WordPress instance to Azure, I decided to give it a try.
posted on May 14, 2017 by long2know in Azure
During Build, one thing that was demoed was the in-line bash shell that is available from the Azure Portal. I couldn’t get this feature, I guessed, to work due to not having a storage account configured.
posted on May 11, 2017 by long2know in Microsoft
Day two of Microsoft Build is slowly coming to a close. Here are a few of my impressions after two days.