About my blog

I write about the technical and non-technical aspects of software development

How it works

Microsoft ASP.NETASP.Net
BlogEngine.NET BlogEngine.NET
Azure DevOpsAzure DevOps

Contact info

 Email
 Contact

Follow me

Prod-20240219.1

Categories

Posts in the 'Web Development' category

platformBrowserDynamic with Angular Universal
platformBrowserDynamic with Angular Universal

Using platformBrowserDynamic with Angular Universal is a bit of a hack. All we are doing is providing configuration to the application server module so that it has configuration server-side before platformBrowserDynamic can load it on the client.

Angular platformBrowserDynamic method
Angular platformBrowserDynamic method

Scenarios where configuration will be injected only into services and components work well with the APP_INITIALIZER technique. If however we need to configure an application consisting of multiple modules, with each requiring configuration, even partial configuration, then an alternative is necessary.

Angular Universal with APP_INITIALIZER
Angular Universal with APP_INITIALIZER

The APP_INITIALIZER token in Angular can also be used to delay the bootstrapping of the application for Angular Universal

Angular [Universal] runtime configuration
Angular [Universal] runtime configuration

Although the standard out-of-the-box Angular application makes it easy to create and configure options for your application using 'environment' files, this approach has a few issues

The babushka story
The babushka story

You're probably familiar with the famous Russian dolls. But have you heard about their infamous cousins, the Babushka user stories?

Manage delivery, not time
Manage delivery, not time

Too many Agile teams make the mistake that the purpose of a sprint is to produce two weeks worth of work. It isn't. The well-planned sprint is a focused collection of activities to achieve specific goals or produce pre-agreed deliverables.

The gods among us
The gods among us

A Team God is probably the most effective solution to managing the fallout from shortcuts and poor management. But there is a price to pay.