When working with a .net core 2.1 site, I discovered that HTTPS redirection was working with browsers on Windows computers, but not on IOS machines. This behavior can be difficult to detect if your browser is pulling the URL from its cache. The problem existed for both Chrome, Firefox, and Safari on IOS. Redirection code […]
Using the the partial tag helper with models in .NET Core 2.1 and later
.Net Core 2.1 introduces the partial tag helper. This post shows two useful ways to use this tag helper. Example to display sample websites This example uses a model to display a list of sample websites that have been produced by your company. We require the sample company name, some short text about the company, […]
Mirroring Facebook posts on your website using .Net Core
If you have an active Facebook business page, you can use your posts to that Facebook page to make your website more active too. It is useful to be able to mirror the last couple of Facebook posts to your website. Previously, Facebook did not require that you apply for any special permissions to read […]
Creating a simple progressive web app from scratch
The earlier post Creating a simple Progressive Web App (PWA) with .Net Core explains the benefits of PWAs and how to use .Net Core and the NuGet package WebEssentials.AspNetCore.PWA to simplify creating a PWA. However, it is easy enough to create a PWA without recourse to any package. This post shows how to create from […]
Creating a simple Progressive Web App (PWA) with .Net Core
Progressive web apps or PWAs can replace many native apps. Depending on your device, you can cache content, take photos, detect photos, recognize speech, use geolocation services, and many other features of devices just using Html 5 and javascript. The app, once created, can then be installed on any device without changing the code and […]