24 06 2015
One mystery in ASP.NET 5 that people are asking me about are ASP.NET 5 console applications. We have web applications running on some web server – what is the point of new type of command-line applications that refer by name to web framework? Here’s my explanation.
23 06 2015
I have project where I need to output some reports as CSV-files. I found a good library called CsvHelper from NuGet and it works perfect for me. After some playing with it I was able to generate CSV-files that were shown correctly in Excel. Here is some sample code and also extensions that make it easier to work with DataTables.
31 05 2015
Although ASP.NET MVC has been here for years the discussion about fat and thin controllers continues. There are guys who have strong faith in fat controllers and guys who believe more in thin controllers. Having seen both types of controllers I wrote this post to share my experiences with you.
24 05 2015
Last week was my first time to be a speaker at Techorama, Belgium. It’s not a big and massive event like Build or Ignite but it’s still pretty big for Europe, I think. And it’s challenging for speakers as line-up is very strong. Really, it’s not kids game. Here is my short overview of Techorama and if you want to get quick answer then yes, for sure get there next year!
7 02 2015
Found weird error when adding translations support to some ASP.NET MVC models. I’m working on application that uses authentication forms generated by Visual Studio. As it turns out this is known bug with data annotations in .NET 4.5. Solution is here.
2 02 2015
C# 6.0 introduces language feature called null propagation. It’s about avoiding all this if-else mess in most sanity checks that avoid NullReferenceException.Of course, null checks can be found also from other parts of code that doesn’t necessarily deal with sanity checks. Let’s see how new null propagation feature help us write cleaner code.
26 11 2014
Next week I have honor to speak at Software Development Conference 2014. It is held on 01-02.12 at Arnhem, Netherlands. I have sessions on both days – in total four sessions – and here is the short overview of these. It’s all mostly about ASP.NET, ASP.NET vNext, and cloud but there’s also something about legacy code. I hope you will join me!
25 11 2014
ASP.NET 5 supports POCO controllers. Yes, controller classes that doesn’t extend Controller base class. These controllers look a little bit different by some small aspects and sometimes we may need to help framework detect our POCO controllers. This posting gives you complete overview of POCO controllers in next ASP.NET.
21 11 2014
This year I have honor to be a speaker at Code Camp 2014, Macedonia. It’s one of the biggest developers event in Macedonia. I have been in Macedonia as a speaker once before but it was community evening and not a big conference. This time I come to Skopje with new ASP.NET vNext. In this post I will give short overview about digital hell I prepared for Macedonian techies.
19 11 2014
New C# introduces expression-bodied members of classes. Instead of property or method that makes some simple calculation we can define expressions and keep our code shorter. Nice thing is – also other .NET languages are able to use these new members. Let’s see what we can do with expression-bodied members in C#.