Support multiple JS module formats with rollup
Having recently needed to produce a shared JavaScript npm package for internal sharing of functionality between applications I naively failed to consider the impact of the various competing module...
View ArticleWindow is undefined during SSR
If when server side rendering a React application (other JS frameworks are available) that makes use of the global window object during the initial render, or perhaps the global document object, then...
View ArticleNodeJS & HTTP Error 431
Photo by Vie Studio on Pexels.com I recently found error responses from a Node JS microservice with HTTP error “431 Request Header Fields Too Large” but at first it seemed to be intermittent dependent...
View ArticleReferencing External Controllers in ASP.Net Core 3.x
I recently had a situation where I needed to include a utility controller and set of operations into every .Net Core Web API that used a common in-house framework. The idea being that by baking this...
View ArticleFree SSL encryption on Azure with Cloudflare
I have a small Web Application site (running ASP.net Core) hosted on Microsoft Azure under a shared plan. Azure shared plans are budget friendly whilst providing features like custom domain names....
View ArticleIIS Express Launch Script
Usually during web development you want to run your web code locally via a local development web server and there are many options for this. In fact most development workflows provide this...
View ArticleBreak your site out of Internet Explorer Compatibility View
Internet Explorer Compatibility mode is a feature of IE that allows you to choose to render sites that targeted older versions of IE when they were developed. It essentially pretends to be IE 8 during...
View ArticleRazor Pages Fixes to Tag Helpers Issues
Recently when adding Razor Pages to an existing ASP.net Core MVC web application I had issues with the Tag Helpers not working. No markup was being produced. Not only were the tag helpers (i.e....
View ArticleCheap Azure Hosting via Static Web Sites
Something that is pretty cool and not that well known is that you can now host your static web site in the cloud with Microsoft Azure just from your Azure storage account. The functionality is...
View ArticleDeveloper Roadmaps
Something that’s proving popular on Medium these days are “development roadmaps” that outline a roadmap approach to choosing techniques and technologies for certain technical domains (for example Web...
View ArticleCmder – A Better Windows Console
Whilst Linux treats console users as first rate citizens and provides many useful and powerful terminal emulators Windows has always lagged behind. This is evermore noticeable now that many developer...
View ArticleA Custom JSF Tag Lib For Toggling Render of Child Elements
I’ve added a new sample project on GitHub that shows a custom Tag Library for JSF (Java Server Faces) that can be used to show/hide its children. There are several uses for this sort of custom...
View ArticleSpeed up a slow JSF XHTML editing experience in Eclipse or IBM RAD/RSA.
If you find yourself doing some JSF (Java Server Faces) development within either Eclipse, IBM’s RAD (Rapid Application Developer) or IBM RSA (Rational Software Architect) IDEs you may find that the...
View ArticleSetting HTTP Headers in Java Server Faces (JSF)
In my last post I discussed using HTTP headers to control browser caching of sensitive data. The post can be found here. The examples provided in that post were all ASP.Net and so I thought I’d cover...
View ArticlePreventing Browser Caching using HTTP Headers
Many developers consider the use of HTTPS on a site enough security for a user’s data, however one area often overlooked is the caching of your sites pages by the users browser. By default (for...
View ArticleHost Static HTML or WebForms Page within MVC Site
If you need to host a static HTML page within an ASP.net MVC website or you need to mix ASP.net WebForms with an MVC website then you need to configure your routing configuration in MVC to ignore...
View ArticleSetting a Custom Domain Name on an Azure Web Site
I recently decided to add a custom domain name to a free Azure website that I use for development purposes. As the FREE Azure web site model doesn’t support custom domains (a shame but hard to complain...
View ArticleThe Enterprise & Open Web Developer Divide
In this interesting Forrester post about embracing the open web Jeffrey Hammond highlights the presence of two different developer communities. In his words: "…there are two different developer...
View ArticleGetting A Users Username in ASP.NET
When building an ASP.net application it’s important to understand the authentication solution that you are planning to implement and then ensure that all your developers are aware of it. On a few...
View ArticleSetting HTTP Headers in Java Server Faces (JSF)
In my last post I discussed using HTTP headers to control browser caching of sensitive data. The post can be found here. The examples provided in that post were all ASP.Net and so I thought I’d cover...
View Article