Viimased blogi sissekanded

Kanal : DT blogi



Default literal expressions in C# 7.1

C# 7. 1 introduces a little update to default literal expressions that makes them a little bit shorter and on some cases helps us write cleaner and more readable code. This blog post introduces this litlle feature update in C# 7. #04:55 11.05.2018 kanalilt DT blogi


Separating code and presentation of Blazor pages

Although there are many examples available demonstrating Blazor views it is also possible to separate code and presentation by using Razor pages with backing model. This blog post is based on my Blazor presentation and focuses on separating code and presentations of Blazor pages. #05:26 10.05.2018 kanalilt DT blogi


Advanced Raspberry Pi traffic lights simulator

My previous post about Raspberry Pi traffic lights introduced simple traffic lights simulator. #04:57 09.05.2018 kanalilt DT blogi


Creating PDF on ASP.NET Core

Creating PDF files on ASP. NET Core has been issue for awhile. I needed some proof-of-concept solution to prove it’s possible to generate PDF files on ASP. NET Core easily without writing a lot of code or going through complex configuration. I solved the problem and here is my solution. #06:28 08.05.2018 kanalilt DT blogi


Global DevOps Bootcamp 2018 is coming to Tallinn!

The new event we will hold first time this year at Tallinn is Global DevOps Bootcamp 2018. It takes place at 16th of June at premises of local Microsoft office. The event is organized by UserGroup Estonia – the local Microsoft user-group managed by Estonian MVP-s. #07:06 03.05.2018 kanalilt DT blogi


Simulating traffic lights with Raspberry Pi and Windows 10 IoT Core

Most of beginner examples for Raspberry Pi introduce how to turn on and off LED lamp. I wrote a little bit more complex starting example but it has some touch from real life – my example simulates traffic lights. #04:45 30.04.2018 kanalilt DT blogi


Inferred tuple names in C# 7.1

Although C# 7. 1 hasn’t many new features there are still some convenience hacks I like. One of these is inferred tuple names meaning that we can name tuple members using variable names. It’s not a big change in language but it still makes code a little bit cleaner where tuples are used. #05:45 26.04.2018 kanalilt DT blogi


WebAssembly apps with Blazor

Next version of ASP. NET Core is getting better and better and with it we can use new tooling for Blazor applications announced yesterday at official ASP. NET blog. Blazor is Microsoft tooling to build WebAssembly applications using . NET languages. #06:42 18.04.2018 kanalilt DT blogi


Visual Studio Live Share for collaborative coding

Sharing code and working together on it in real time from different locations has been issue for years. We have video chat and screen sharing for long time but working on same files together in IDE has been a dream. Visual Studio Live Share is here to solve the problem. #07:00 19.03.2018 kanalilt DT blogi


VS Code for PHP development

Although most of my work time is spent on ASP. NET and SharePoint development I also have some PHP projects. I have my own favorite thin tooling for PHP but I decided to give a try to Visual Studio Code (VS Code) with one of the projects. #07:00 16.02.2018 kanalilt DT blogi


Culture based views in ASP.NET Core

ASP. NET Core supports culture based views for more complex localizations. It means we have one view per culture per controller action. This blog post shows how to use culture based views in ASP. NET Core and how to implement them. Sample solution. #07:00 15.02.2018 kanalilt DT blogi


Reading request body in ASP.NET Core

Most of requests to controller actions of our ASP. NET Core applications send some simple parameters or some serialized model objects. But this is not always the case. #06:47 12.02.2018 kanalilt DT blogi


Building pager tag helper

Tag helpers are classes that can be applied to HTML and special tags in ASP. NET Core views. They are addition to HTML helper extension methods and they provide more flexibility by having their own classes and supporting framework level dependency injection. #07:05 06.02.2018 kanalilt DT blogi


New killer features planned for . NET Core, ASP.

Microsoft announced roadmap for upcoming release of . NET Core family versioned as . NET Core 2. 1. While there are some new features and many improvements coming I compiled a list of my favorites that I see as most imortant to all developers building solutions on . NET Core, ASP. #06:45 05.02.2018 kanalilt DT blogi


Entity Framework Core with . NET Core console application.

ASP. NET Core makes it very easy to configure and use Entity Framework Core in web applications. For . NET Core console applications there is no such machinery available but we can still use Entity Framework Core in console applications. #07:07 01.02.2018 kanalilt DT blogi


Switching C# version in Visual Studio

Want to try out features of newest of some specific version of C# but Visual Studio 2017 can’t compile it? Well, by default major versions of C# are supported and if some other version is needed it must be turned on from project settings. #07:03 30.01.2018 kanalilt DT blogi


ASP.NET paging solution available at GitHub

Paging of data in ASP. NET and ASP. NET Core applications is timeless topic. It is invented over and over again and asked all the time in forums all over the world. Years ago I worked out kind of universal solution with reusable UI artifacts and I’m using these pieces this far. As ASP. #07:00 29.01.2018 kanalilt DT blogi


Ref returns and ref locals in C# 7.0

C# 7. 0 introduces ref returns and ref locals. Main goal of these new features is to make it easier for developers to pass around references to value types instead of copies of their values. This is important when working with large data structures that are implemented as value types. #06:56 26.01.2018 kanalilt DT blogi


NHibernate supports async

NHibernate, the O/R-mapper that some people consider as dead, is actually alive and very much alive. The release of version 5. 0 at last autumn was somehow quiet and didn’t got much attention. But there is something that brings NHibernate to modern era – support for asynchronous database access. #06:14 25.01.2018 kanalilt DT blogi


Refactoring: Replace Exception with Test

Exceptions are mechanism to transport information about errors in object-oriented code. But they come with performance hit when not used carefully. Still we find a lot of code when exceptions are not avoided but used as a control mechanism in code flow. #06:58 24.01.2018 kanalilt DT blogi