Viimased blogi sissekanded

Kanal : DT blogi



Global query filters in Entity Framework Core 2.0

Entity Framework Core 2. 0 introduces global query filters that can be applied to entities when model is created. It makes it easier to build multi-tenant applications and support soft deleting of entities. #05:00 16.08.2017 kanalilt DT blogi


Like-operator in Entity Framework Core 2.0

Entity Framework Core 2. 0 was announces yesterday and it brings some new and cool features. One of them is SQL Like-operator we can use now using directly in our code. Here is the simple web application that demonstrates using of new Like-operator. #07:11 15.08.2017 kanalilt DT blogi


.NET Core, ASP.NET Core, EF Core and .NET Standard 2.0 announced

Today Microsoft announced versions 2. 0 of . NET Standard, . NET Core, ASP. NET Core and Entity Framework Core. Also new updated to Visual Studio 2017 are available (both stable and preview version). This blog post is summary of most important features announced today. . NET Standard 2. 0. #07:02 14.08.2017 kanalilt DT blogi

ASP.NET Core: Converting C# enums to JavaScript

In my previous posts about enums I covered how to convert C# enums to JavaScript on classic ASP. NET MVC. This blog post introduces how to do it on ASP. NET Core using simple view component. To get better understanding about my previous work on getting C# enums to JavaScript on classic ASP. #06:33 14.08.2017 kanalilt DT blogi


Converting System.Drawing.Color to hex

One quick code note to make during building my Azure Cognitive Services demo application. I needed a way how to convert colors of System. Drawing to hex strings that I can use in views. Here is my simple and elegant solution. #05:40 11.08.2017 kanalilt DT blogi


Controlling LifeCam Cinema on Raspberry Pi

After some Windows 10 IoT Core updates I discovered that it detected LifeCam Cinema camera connected to it. I tried it also few months ago but then Windows 10 IoT Core was not able to detect it. #06:00 10.08.2017 kanalilt DT blogi


Converting multiple C# enums to JavaScript

My last solution to turn C# enums to JavaScript was simple but needed some additional work to support multiple enums better. After some playing with different approaches I found simple one that works okay for me. #06:00 09.08.2017 kanalilt DT blogi


Identifying people on photos using Azure Cognitive Services

My previous post about Azure Cognitive Services described how to detect faces on photos. In this post I will focus on identifying people on photos. #06:00 08.08.2017 kanalilt DT blogi


Converting C# enums to JavaScript

In one of my project I need some enums defined in C# to able also for JavaScript code. After some quick research in internet I came out with simple and easy extension method to convert C# enums to JavaScript. Here it is. #06:17 07.08.2017 kanalilt DT blogi


Running PHP applications on .NET Core

Ever wondered about mixing up simplicity and flexibility of PHP with power and performance of . NET Core? The solution is coming and it is called Peachpie, the successor of Phalanger. This blog posts introduces Peachpie – the tool to compile PHP code to. #06:00 01.08.2017 kanalilt DT blogi


Wikis are coming to Visual Studio Team Services

Finally wikis are coming to Visual Studio Team Services. It was announced by Microsoft DevOps Blog earlier this month. Currently wikis are in preview status. This blog post is short overview of what is there and what is coming next. #08:49 21.07.2017 kanalilt DT blogi


Faking Azure ID identity in ASP. NET Core unit tests.

When testing ASP. NET Core controllers in application that uses Azure AD we need usually current user at least for some tests. As there is no authenticated user when unit testing, we need to create one by our own. This blog post shows how to create claims identity for ASP. NET Core unit tests. #07:16 20.07.2017 kanalilt DT blogi


Getting started with SharePoint Framework

I started learning SharePoint Framefork (SPFx) to get better on client-side development for Office 365. I decided to go with SharePoint Framework as it has simple lightweight tooling available and also because it is well documented. #08:57 19.07.2017 kanalilt DT blogi


Progress indicator with Xamarin Forms

Progress indicator is available in Xamarin Forms and here it is called as “activity indicator”. It renders different on different devices as progress indicator is not general UI feature everywhere. This blog post shows how to use progress indicator with Xamarin Forms. #06:37 18.07.2017 kanalilt DT blogi


Visual Studio Tools for Tizen

Tizen is Linux-based open-source platform for mobile phones and TV-s. Earlier this year Samsung announced Tizen development tools for Visual Studio and now it is time to try out how things work. #05:56 17.07.2017 kanalilt DT blogi


ASP. NET Core 2: New single page application templates.

With ASP. NET Core 2. 0 Preview 2 there are new web application templates available for Single Page Applications (SPA). Currently Angular, React. js and React. js + Redux are supported. This blog post gives short overview of new templates and related sample application. #06:14 10.07.2017 kanalilt DT blogi


Local functions in C# 7.0

One of new features of C# 7. 0 is support for local functions. Local functions are methods that are defined inside other methods to simplify more complex code and by example to support local recursion. This blog post shows how to use local functions in C# 7. #05:19 06.07.2017 kanalilt DT blogi


Simple solution for metrics targets on MSSQL

I needed flexible solution to keep measurements with target values in SQL Server database. After some playing with tables and functions I came out with simple, clean and flexible solution that fits also well for many other scenarios besides the one I had to support. #06:25 26.06.2017 kanalilt DT blogi


Building web API apps on ASP.NET Core 2 and VB.NET

ASP. NET Core 2 will come with full support for VB. NET. In current preview we can use VB. NET to build . NET Core applications. I was still successful on mixing up C# and VB. NET project files and port C# code over to VB. #06:43 05.06.2017 kanalilt DT blogi


Simple .NET Core application using VB.NET

NET Core 2 Preview 1 bits bring us support for VB. NET on . NET Core. Although tooling for web applications is not ready yet we can start with console applications and also some web applications like I will show in some of my later posts. Visual Studio 2017 Preview 2 is needed to try VB. #05:21 01.06.2017 kanalilt DT blogi