Author Archive: Andreas Kuntner
Andreas Kuntner
6. December 2017
As a follow-up to the simple SinglePagePdfViewer proposed in the previous blog post, let me suggest a potential performance improvement. At the moment, whenever one of the navigation buttons is tapped, we load the appropriate page, render it and display…
Read more
Andreas Kuntner
23. November 2017
If you’ve liked the idea of the simple and quick PDF preview renderer I presented in my previous blog post and wish to avoid referencing third party licenses for displaying full PDF documents as well, this is for you –…
Read more
Andreas Kuntner
12. November 2017
One of the less well known features of UWP is encapsulated in the Windows.Data.Pdf namespace: This includes classes for reading PDF documents and rendering them. On first sight, this seems hardly useful in any real-life app, since it doesn’t support…
Read more
Andreas Kuntner
15. October 2017
Remember my blog post about automatically choosing appropriate DataTemplates for an ItemsControl (such as a ListView) by using a DataTemplateSelector? This certainly is useful for items that shall be visualized using different controls, but definitely overkill for scenarios that just…
Read more
Andreas Kuntner
29. September 2017
Every now and then, I receive questions about how to display different types of items in a ListView, FlipView, Xamarin.Forms CarouselView, etc. For example, imagine a list of files the user can choose from. The list will mainly contain file…
Read more
Andreas Kuntner
21. July 2017
Welcome back to the final part of this tutorial! By now, our SQLite DateTimeOffset serializer is functional, all that’s missing are a few improvements to make it more flexible. First of all, our custom implementation still does not solve the…
Read more
Andreas Kuntner
10. July 2017
If you followed all the steps in the previous blog post, created your own SQLite DateTimeOffset serializer post-build task and tested it, you might wonder how to automate it. At the moment, we need to build the target assembly, register…
Read more
Andreas Kuntner
6. July 2017
After settings up the basic structure of our post-build task in the previous blog post, let’s bring it two life! This post focuses on the cure steps of our CIL manipulation: Analyzing object structure, declaring new properties, and changing existing…
Read more
Andreas Kuntner
2. July 2017
Welcome back to part #3 of the aspect-oriented DateTimeOffset SQLite serializer! In this part, we’re going to actually read .NET assemblies, manipulate them, and recompile them. To be able to reconstruct the solution on your side, I’d suggest that you…
Read more
Andreas Kuntner
30. June 2017
What do we need to get started with our automatic DateTimeOffset-to-SQLite serialization project? Let’s begin with the simplest part: Obviously, we’ll need a custom attribute to flag those DateTimeOffset properties our solution shall handle. Create a new Class Library Project,…
Read more