www.planetgeek.ch Open in urlscan Pro
217.26.52.55  Public Scan

Submitted URL: http://planetgeek.ch/
Effective URL: https://www.planetgeek.ch/
Submission: On May 01 via api from GB — Scanned from GB

Form analysis 1 forms found in the DOM

GET https://www.planetgeek.ch/

<form class="typology-search-form" action="https://www.planetgeek.ch/" method="get">
  <input name="s" type="text" value="" placeholder="Type here to search...">
  <button type="submit" class="typology-button typology-button-search typology-icon-button">Search</button>
</form>

Text Content

PLANETGEEK.CH

 * Home
 * Books
 * Presentations
 * Legal Notice

 * 


YOUR SOURCE OF GEEK KNOWLEDGE

Y



LATEST STORIES


CREATING A LAZY-LOADING WRAPPER COMPONENT IN ANGULAR

By Domenic Helfenstein
In Software, TypeScript
March 15, 2022
11 Min read
C

A couple of weeks ago, one of my colleagues was tasked with implementing
multiple customizable reports for our software. So, he did some research and
found ActiveReportsJS by Grapecity. It allows us to create templates for
reports, which could then be edited by our users to fully customize the
appearance of those reports. Not only that, but it allows for PDF previewing on
the one hand and headless exporting the PDFs on the other.   To my surprise, the
PDF rendering takes place in the...

Read on


2021 IN BLOG POSTS

By Urs Enzler
In Uncategorized
December 21, 2021
1 Min read
2

Time to look back at 2021 and what interested you the most on planetgeek.ch.
These are the top 10 most viewed blog posts – views in 2021:

Read on


OUR JOURNEY TO F#: THE EFFECT OF F# ON OUR (UNIT) TESTS

By Urs Enzler
In .NET, C#, F#, Quality, Test Driven Development
December 6, 2021
9 Min read
O

On our journey from C# to F#, we were at a point where we changed our (unit)
testing strategy. Our approach just didn’t feel right anymore. We struggled to
do TDD because we didn’t get the tests to fail first. We wrote tests that didn’t
increase our confidence and started thinking of them as waste.

This post is part of the F# Advent Calendar 2021 
Thanks to Sergey Tihon for organising the Advent Calendar.

Read on


PIMPING UNQUOTE

By Urs Enzler
In .NET, F#, Testing
July 2, 2021
7 Min read
P

Unquote is a great library for writing test assertions in F#. In our acceptance
tests, we frequently check data structures for equality. When these data
structures get bigger, reading test failure messages gets harder. That’s why I
implemented an F# data structure differ around Unquote that lets me quickly see
the differences.

Read on


TYPE-SAFETY ACROSS .NET AND TYPESCRIPT – TESTING JSON SERIALIZATION AND
DESERIALIZATION

By Urs Enzler
In .NET, F#
April 27, 2021
13 Min read
T

This is part 7 of how we generate types from our .Net backend to be used in our
TypeScript client. Why do we even bother?Generating TypeScript constants from
.Net constantsFinding the types used in communication between the .Net backend
and the TypeScript clientGenerating TypeScript classes from .Net typesGenerating
Angular Services from .Net WebApi ControllersTypeScript-friendly JSON
serialization of F# typesTesting JSON serialization and deserializationPutting
all the parts together In the...

Read on


OUR JOURNEY TO F#: MAKING ASYNC UNDERSTAND TASKS

By Urs Enzler
In .NET, F#
April 22, 2021
2 Min read
O

In our F# code, we have a lot of asynchronicity: query the DB, call external
services, write messages to the service bus, etc. Inside of our happy F# bubble
we use async workflows, either by using Async or by using the computation
expression async { ... }. But we are surrounded by a world of Tasks. So we often
need to call functions or methods that return a Task. Of course, that is no big
problem, we can just add |> Async.AwaitTask, but that leads to a lot of visual
clutter in our precious...

Read on


OUR JOURNEY TO F#: JSON SERIALIZATION WITH A MIX OF C# AND F#

By Urs Enzler
In .NET, C#, F#
April 19, 2021
8 Min read
O

There are many libraries for JSON serialization in the .Net realm. The best
known are probably Newtonsoft’s Json.NET and System.Text.Json. Both can’t handle
F# discriminated unions very well. There are also a couple of F# JSON libraries
available like Thoth.Json or FSharp.Json. They are all great libraries, and
choosing one is about making trade-offs. However, our case is a bit complicated
because we have a mix of C# and F# code. This results in object/value graphs
that consist of a...

Read on


ANGULAR COMPONENT – PART 3: VALIDATION

By Domenic Helfenstein
In TypeScript
April 15, 2021
7 Min read
A

This is part 3 of my series about Angular components.If you haven’t already,
check out part 1 (one-way and two-way binding) and part 2 (ngModel) to see how
and why to write an Angular component following the ngModel pattern.

Our goal for this part of the series is to learn how to validate your angular
component’s user inputs to disable the submit of a form surrounding our
form-control.

Read on


TYPE-SAFETY ACROSS .NET AND TYPESCRIPT – TYPESCRIPT-FRIENDLY JSON SERIALIZATION
OF F# TYPES

By Urs Enzler
In .NET, F#, TypeScript
April 7, 2021
9 Min read
T

This is part 6 of how we generate types from our .Net backend to be used in our
TypeScript client. Why do we even bother?Generating TypeScript constants from
.Net constantsFinding the types used in communication between the .Net backend
and the TypeScript clientGenerating TypeScript classes from .Net typesGenerating
Angular Services from .Net WebApi ControllersTypeScript-friendly JSON
serialization of F# typesTesting JSON serialization and deserializationPutting
all the parts together None of...

Read on


ANGULAR COMPONENT – PART 2: NGMODEL

By Domenic Helfenstein
In TypeScript, Uncategorized
April 6, 2021
7 Min read
A

In my last article, I’ve explained how to use @Input() and @Output() and how to
combine them to offer two-way binding for your component. This time I want to
take this component to behave like a proper control within a <form>-element that
is using ngForm. What’s ngModel, and why should I use it? In a typical Angular
application, we often encounter scenarios where we have to handle forms with
various input controls and a button to send data or perform some sort of action.
The...

Read on
Load More


TAGS

.NET Agile Architecture Async ATDD Azure Azure Service Bus bbv.Common bbvcommon
bootstrapper C# Clean Code CompositeUI Conference Design Effective Teams F# F#
journey IoC Java Machine.Specifications Mocking mocking framework MSpec Ninject
NMock2 nservicebus Open source Presentation scrum Service Fabric Service
Oriented Systems Sketch note sketchnote Software Architecture TDD team Test
Driven Development Testing TypeScript Unit Test unit testing User Interface
Windows WPF

ABOUT

We are a group of passionate developers and admins. We maintain this source of
geek knowledge with enthusiasm and joy. Get infected!
planetgeek.ch
 * Home
 * Books
 * Presentations
 * Legal Notice

SEARCH

Search

RECENT POSTS

 * Creating a lazy-loading wrapper component in Angular
 * 2021 in blog posts
 * Our journey to F#: The effect of F# on our (unit) tests
 * Pimping Unquote
 * Type-safety across .Net and TypeScript – Testing JSON serialization and
   deserialization