.Net Core

Deployment options in .NET Core 3.0

Posted on
net core 3.0 deyploment logo

.NET Core introduced one very useful deployment option: self-contained application deployment. This means that deployment package contains all the required artifacts to run the application. I can simply copy deploy output to target machine and run it. No runtime prerequisites needed as it is the case with .NET Framework. Furthermore, .NET Core 3.0 introduced self-contained […]

.Net Core

Why I think .NET Core is the best development stack

Posted on
net core the best dev stack

.NET Core is here to stay. It’s open source, super fast and super awesome. With .NET Core and cross platform mantra, a .NET renaissance has begun! Microsoft again found just the right way how to regain DEVELOPERS back with hot, interesting and modern development platform. Together with cross-platform development tools, it opens so many interesting voyages for us – .NET developers.

.Net Core

Blazor, run C# code inside web browser

Posted on
blazor-logo

I never really liked writing JavaScript and doing web browser DOM interaction. For me, dealing with JavaScript has always been a pain, a-must when developing web applications . In contrast, I always enjoyed to write C# code. Back in Silverlight times, C# was – for a relative short period – one possibility to write web […]

.Net Core

C#: From Event-based Asynchronous Pattern to Task-based Asynchronous Pattern

Posted on

Task-based Asynchronous Pattern (TAP) was introduced in .NET Framework 4 and since then, it is the recommended approach to asynchronous programming in .NET.

Event-based Asynchronous Pattern (EAP) is still in use, especially at legacy systems, but for new development is not recommended anymore.

In this post I will show how to wrap EAP into TAP and use more modern approach.

.Net Core

App Center and WPF.

Posted on

First, official introduction: Visual Studio App Center brings together multiple services commonly used by mobile developers into an integrated cloud solution. Developers use App Center to Build, Test, and Distribute applications. Once the app’s deployed, developers monitor the status and usage of the app using the Analytics and Diagnostics services, and engage with users using […]

.Net Core

C# locks and async Tasks.

Posted on

C# lock is mechanism to prevent concurrent access to “restricted” resource in multi-threaded environment. In multi-threaded applications locks are used to ensure that the current thread executes a block of code to completion without interruption by other threads. The lock statement obtains a mutual exclusion lock for a given object so that one thread executes […]

.Net Core

Simple Settings service example in C#.

Posted on

In .NET world storing data into xml configuration files is very common scenario. While, web apps (Asp.Net) use web.config, desktops use app.config (renamed to <FullExecutableFilename>.exe.config at runtime). Every application sooner or later needs to collect, persist and restore some data (settings) from (to) end user. While web apps store these information almost always into database, […]