16 08 2016
This blog post is about how to really precompile ASP.NET MVC views. It destroys the myth about MvcBuildViews as precompilation tool and shows you how to configure precompiling. It also stops on some internals of precompiling and explains what are the options and limitations with it. There is also real-life example for Azure where precompiling of views may avoid some serious headaches that one may face otherwise.
27 07 2016
I have one big OneNote notebook that I need also on my Windows Phone. While this notebook was not very big synchronization worked well on both WP8 and WP10. But after growing over 120MB both phones had suddenly synchronization issues. Notebook was usually synchronized partially with many pages missing from WP and some changes to existing pages were never synchronized to phone. This blog post provides one not so nice solution for these problems.
25 07 2016
This year again I have honour to speak at TechDays 2016 Netherlands. It is well organized event with very good and interesting content. I was speaking there year ago and I had only good experiences with this event. This year it is held in RAI Center at Amsterdam in the beginning of October – 04-05.10.2016. This blog post tells why it is important to visit this event and why it is important to come to my Azure deep-dive session.
20 07 2016
On ASP.NET Core view components support dependency injection. We can use some DI/IoC container but we can also go with framework level dependency injection. This blog post explains how dependency injection works with view components and as an example I show you some code I’m using to build top menu for my demo site.
19 07 2016
Whenever we deal with data we need some mechanism for paging it. It makes it easier for users to navigate through data and same time we don’t put too much load to our systems. This blog post shows you how to build pager for your MVC site using ViewComponent and PagedResult class.
17 07 2016
Search is important feature of many apps and web sites because it is the main way for users to find quickly the information they are looking for. Typing search keywords to search box is not the end point of search we can provide to users. Sites that have huge amount of data can also help users to find out what keywords to use. In this post I will show how to use Azure Search suggesters to help users to find out these keywords.
16 07 2016
In my last blog post about REST-clients Why Azure REST API-s and how to prepare for using them? I introduced how to write simple base class for Azure REST API-s. In this post we will implement simple REST-client for Azure Search. This is the same code that I’m using in my beer store sample application. I also make some notes about how to use search clients in domain models.
16 06 2016
Universal Windows Platform is almost new kid on the street and it’s time for developers to find out what it is, how it works and why to bother. In this post I make short introduction to UWP for developers. I also share some of my thoughts about platform and point out some useful resources that help you to get started.
19 04 2016
When new Microsoft Azure services come they usually have REST API-s available. Of course, there are usually client libraries available too as NuGet packages but usually not for every .NET flavour. Although Microsoft has plans to publish libraries for CoreCLR too it doesn’t happen always fast. Let’s see how REST API-s work and how to prepare for using them.
27 03 2016
Planning for search is mandatory first step when starting building search index. If we build search indices as we go we easily end up with messed up and hard to use indices. And even worse – we may end up with very complex search queries that need way more resources than we expect. This post goes through simple analysis of example beer store search index and shows how to create Azure Search index for products.