Phew, that's a mouthful! Working with AKS sometimes is. However, I can assure you that this approach to securing your applications in your Kubernetes cluster is worth it. The advantages to have a secretless solution are many:
* No secrets are lost in the wild 🐅 The need to send…
When developing, there are several benefits to using SVG sprites, but maintaining sprites can quickly become difficult and time-consuming. With Webpack and svg-sprite-loader your sprite will be automatically generated when you bundle your code.
What is an SVG sprite?
A sprite is a collection of something, ex. images, put into…
With Optimizely DXP, we as developers do not have direct access to the
production environment. If I want to get the database + blobs from the
production environment to update my local dev environment - this is how it's
done.
Export the database
The database export can be started…
In Contentful, the easiest way to change your content model is through the web app on app.contentful.com. This is pretty straightforward if you are doing basic changes like adding a new text field.
However, if you are planning more complex changes, migration scripts are probably the best way…
Format your groq query to get multiple queries in one request to Sanity.io.…
Den siste tiden har det vært mye fokus på personvern. Google Analytics er muligens ulovlig, cookies bør ikke brukes uten samtykke, og ting som GDPR og Schrems II har nærmest blitt en del av dagligtalen. Man bør generelt være varsom i sin omgang med personopplysninger!…
Not too long ago Sanity launched what they call field groups. Field groups are exactly what it sounds like, the option to group a bunch of fields.…
For running projects locally through Visual Studio and IIS Express, your URL will be something like http://localhost:9257/. As a developer, you probably often have many different projects on your machine, and using the same port number on the projects could cause problems. So if this is the case,…
If you're like me, and switch a lot between different projects, you've most likely run across problems with Node.js versions when building the frontend.
That's a problem we can solve rather easily with NVM.
But first things first, what is NVM?
NVM (Node…
In Sanity, you can have arrays that contain different objects. But what if we want to filter out the specific types inside the array when we run a query? A problem I came across was how to map the different Sanity objects to .NET objects based on their type.
Disclaimer:…