Viimased blogi sissekanded

Kanal : DT blogi



ASP.NET Core: Replacement for Server.MapPath

There’s no Server. MapPath() in ASP. NET Core and things are way different than with old ASP. NET MVC. This blog post shows how application and public web files are organized in ASP. NET Core and how to access them from web applications. ASP. #12:13 12.11.2018 kanalilt DT blogi


Reading GPS coordinates of photo on ASP.NET Core

During one of my ASP. NET Core classes I made demo about how to read GPS coordinates from photo and display location on a map. I took my favorite photo of beer kiosk in Krakow and displayed location of this kiosk on map. #12:17 09.11.2018 kanalilt DT blogi


Building offline Blazor application

I made one small experiment and tried to get simple client-side Blazor application running on browser in offline mode. Yes, offline – visit application page once, turn out internet connection, open browser, type in application URL and it just runs. #18:30 24.10.2018 kanalilt DT blogi


Server-side Blazor applications

Lately Blazor got important update – support for server-side Blazor applications. This blog post introduces how server-side Blazor applications work and what are pros and cons when considering building these. #06:14 19.10.2018 kanalilt DT blogi


String repeat method for C#

C# doesn’t have built-in function to repeat a string. There are different version for string. Repeat() available in internet and it’s up to reader to find out which version works better. Here is the list of most popular implementations I found across the web. #05:18 24.07.2018 kanalilt DT blogi


ASP. NET MVC error: It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level.

Error when running ASP. NET MVC application from Visual Studio: It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. #04:30 12.07.2018 kanalilt DT blogi


Adding search to Blazor applications

As my Blazor demo application supports now Azure AD I took the next step and implemented search using Azure Search service. This blog post shows how to add search capabilities to Blazor application using Azure AD protected Azure Functions back-end and Azure Search service. #07:14 11.07.2018 kanalilt DT blogi


Azure AD authentication in Blazor using ADAL.js

Although Blazor is in early stages of development it is already good enough to try out and play with it. #04:23 09.07.2018 kanalilt DT blogi


Running WordPress on .NET Core

About year ago I wrote a blog post Running PHP applications on . NET Core where I introduced how to build PHP applications to . NET Core using Peachpie. Their showcase was WordPress – the famous blog engine that also runs my blog. #05:53 05.07.2018 kanalilt DT blogi


Hosting Azure Functions backed Blazor application on Azure Storage static website

My previous blog post was an introduction to static website hosting on Azure Storage. This post focuses on how to deploy Blazor application as a Azure static website on Azure Storage and how to use Azure Functions as a server back-end for Blazor application hosted as a static site. #05:58 04.07.2018 kanalilt DT blogi


Introducing static website hosting for Azure Storage

Azure has new and interesting service for hosting static sites on blob storage. There is no additional server-side application hosting account needed to run public static sites – they run straight from blob storage. #05:08 03.07.2018 kanalilt DT blogi


ASP.NET Core Identity scaffolding

ASP. NET Core 2. 1 introduces Razor UI class libraries that allow us to share UI artifacts with libraries and NuGet packages. One of first official packages delivered with UI pieces is ASP. NET Core Identity. This blog post shows how to override default views of ASP. #05:25 27.06.2018 kanalilt DT blogi


Injecting services to ASP. NET Core controller actions.

ASP. NET Core comes with thin but rich and powerful built-in dependency injection mechanism we can use to inject instances to controllers and some other parts of web applications. #04:30 25.06.2018 kanalilt DT blogi


Solving Remote Desktop problems on Windows 10

Remote Desktop is great thing when it works but with Windows 10 I usually see one problem after another. I decided to write up some tricks I need pretty often when RDP is going crazy on some Windows 10 box. #07:09 22.06.2018 kanalilt DT blogi


Running ASP. NET Core application as Windows service.

ASP. NET Core 2. 1 introduces new application host for Windows services. We can now run ASP. NET Core applications as Windows services with minimal effort. This blog post introduces how it is done and how to build and run Windows services on ASP. NET Core without any need for dirty hacks. #05:20 20.06.2018 kanalilt DT blogi


Database level grouping in Entity Framework Core 2.

Previous versions of Entity Framework Core doesn’t support database level grouping and LINQ GroupBy is translated locally. Entity Framework Core 2. 1 translates LINQ GroupBy to database query in most of cases. Here is the example. #05:52 19.06.2018 kanalilt DT blogi


Adding attribute to backing field of automated property

There are scenarios where developers want to add attributes to backing field of automated property. It was hard to do before C# 7. 3. Now it is supported in Visual Studio and solution is simple. This blog post shows how to add attribute to backing field of automated property. #04:11 18.06.2018 kanalilt DT blogi


Speaking at ITCamp 2018

Today and tomorrow I have honor to be a speaker at ITCamp 2018 at Cluj-Napoca, Romania. It is pretty big conference at Romania and I’m happy to see serious line-up of speakers and well organized event. Here is short overview of muy presentations at ITCamp 2018. I have two presentations: 07. #13:30 07.06.2018 kanalilt DT blogi

GDPR features in ASP.NET Core

As General Data Protection Regulation (GDPR) is now official in European Union (EU) there’s also some basic support for it included in ASP. NET Core 2. 1. Althouhg it’s not possible to come out with technical etalon for GDPR there’s still some good starting points available in ASP. NET Core. #06:28 07.06.2018 kanalilt DT blogi


Include for derived types in Entity Framework 2.1

When I wrote user interface for my TemperatureStation solution I faced some bad problems with Entity Framework Core when trying to query base type and get some navigation properties of derived types included. I was able to come out with some work-arounds that were far from being satisfying for me. #03:33 06.06.2018 kanalilt DT blogi