24 05 2017
ASP.NET Core 2 comes with Razor Pages that allow developers to build simple web applications with less overhead compared to MVC. The emphazise is on the word “simple” as Razor Pages doesn’t come with patterns suitable for bigger and more complex applications. For this we have MVC that is flexible enough to build applications that will grow over years. This blog post uses simple shoutbox application to illustrate how to build applications using Razor Pages.
19 04 2017
ASP.NET Core applications can be tested with different testing frameworks and Entity Framework Core makes testing specially easy by removing different technical problems from our way by using in-memory data provider. This blog posts shows how to unit test controllers that use data from Entity Framework Core.
7 04 2017
ASP.NET Core supports also distributed cache solutions. Out-of-box there is support for SQL Server and Redis based distributed caches. This blog post focuses to SQL Server based cache we can use when there are really no better options.
5 04 2017
C# 7.0 introduces throw expressions. We can add exception throwing to expression-bodied members, null-coalescing expressions and conditional expressions. This blog post introduces throw expressions, demonstrates how to use them and also provides a peek behind a compiled throw expressions.
3 04 2017
Azure Functions supports functions that are invoked by HTTP request. It makes it easy to have some scripted functionalities on cloud that we can invoke by simple HTTP request. This blog post shows how to build and run HTTP-triggered Azure Functions using Visual Studio.
29 03 2017
For some ASP.NET Core projects errors related to bower and bundling may appear after project is moved to csproj file from previous project.json format. This blog post introduces how I got these errors solved for imported project.
24 03 2017
Azure Active Directory is cloud-based directory service that allows users to use their personal or corporate accounts to log-in to different applications. Local Active Directory can sync data to its cloud counterpart. Also external users are supported. This blog post shows how to make ASP.NET Core application use Azure AD and how to read data that Azure AD provides about user account.
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.
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 2015
With ASP.NET 5 we don’t have current bundling and minification system available. It’s replaced by new one that is based on Gulp. Default web application shows how to minify simple and safe files. But if you have some more complex design with CSS files referring to images then you are on your own. This post shows you how to solve a problem.
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!
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.
14 11 2014
Although ASP.NET MVC is well tested framework and probably you don’t find any major bugs in public releases you may still sometimes need to debug your application with ASP.NET MVC sources. In this posting I will show you how debugging with sources works in ASP.NET vNext.
5 11 2014
Something cool to try out – you can run your ASP.NET vNext applications on Windows Azure Websites already today. Yes, you can take Visual Studio 14 CTP, create ASP.NET vNext application and deploy it to cloud. In this posting we will sniff around in Azure Websites to see how ASP.NET vNext applications run there.
3 11 2014
Using new ASP.NET tooling it is also very easy to run tests on command line. We don’t need Visual Studio to be installed on machine where we want to run tests and we can use this fancy K-stuff to make tests run. This post will show you how to write and run tests using new Visual Studio and K.
31 10 2014
ASP.NET MVC 6 solutions have a little bit different solution and project structure. Changes are needed because of new minimalistic tooling and cross-platform requirements. This posting gives you overview of new solution structure and explains how solutions will be organized in future.
18 11 2013
In one of my projects I needed configuration transforms similar to web applications. But I needed transforms for command line and Windows service applications to make sure that with release builds some settings are different (by example, web service URL-s and some other settings). I found some materials from web and got everything work well. Here is how to enable web.config transforms for App.config files too.
14 11 2013
With Visual Studio 2013 Microsoft also announced online version of Visual Studio for Windows Azure Web Sites. When I first saw SharePoint Napa tools and “powered by Vsiual Studio” slogan then I knew that soon Visual Studio is on cloud. Now Microsoft made their next step. Let’s see what Visual Studio Online with codename “Monaco” is and what you can do with it.
17 10 2013
I’m building a web based hybrid system that can run on-premises and on cloud. On development machine I want NLog to write logs on disk. When system is deployed to cloud I want NLog to write logs to Windows Azure Table storage. In this posting I will show you how to use web.config transforms with NLog configuration.
5 07 2013
Visual Studio 2013 has good surprise for web developers who need to test their applications on different browsers. The new feature called Browser Link helps developers to refresh application in all opened browsers using just one icon click on Visual Studio toolbar.