Category Archives: Uncategorized

ASP.NET Core 2.1: Setting Cookies in GDPR Times

Just a quick heads-up to everyone who wonders why adding cookies suddenly stopped working in ASP.NET Core 2.1: it’s not a bug – it’s a feature! GDPR (the EU’s General Data Protection Regulation) requires the user’s consent even to set … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Azure Web Apps: How to Manage Storage Account Credentials in Development and Production

Scenario: your web app – that’s an Azure Function app, a Web API app or a website – uses Azure Blob, Queue or Table storage. That usually means running on the Azure Storage Emulator for local tests and on the … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

ASP.NET Razor Pages: Post Back List Changes with Page Model Binding

This post shows how to post back changes made to lists used in model binding for ASP.NET Razor pages. Success is dead easy once you figured it out but it took me a while and most examples aren’t complete or … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Android Grid Drawing Demo

This short demo shows how to underline a specific row of a RecyclerView controlled by a GridLayoutManager. The code is available at Github under the Apache 2 license. The idea is of course that the line follows the grid’s content … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

ClassNotFoundException when Deploying without Android Studio

Have you ever wondered why you didn’t have to set multiDexEnabled true anymore despite adding almost any library to an Android project will extend it to more than 64K methods? Well, Android Studio conveniently injected that setting when deploying a … Continue reading

Posted in Uncategorized | Leave a comment

Data Binding Android ListViews

At I/O 2015 Google showed data binding to the Android developing masses. It basically generates the boilerplate code everybody had to type in previously to get data to the UI and back. But while there are samples for about every … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Styling Android Toasts the Easy Way

The first step to style Android Toasts is to define a layout, right? Well often it’s not, because to just show text and an image – yes, the built-in Toast can show an image – you don’t need a layout. … Continue reading

Posted in Uncategorized | Tagged | Leave a comment