stream:// .net


Modernising .NET projects for .NET Core and beyond!

In this article I'll describe how to modernise your .NET Framework projects for .NET Core, the .NET Standard and .NET 5, which is planned to be released this year.

Blazor Vs. Traditional Web Apps

[DISPLAY_ULTIMATE_SOCIAL_ICONS] Blazor is a new Single Page Application (SPA) technology by Microsoft. It is a comparable technology to React, Angular, and Vue.js but uses C# instead of JavaScript. It brings C# to the world of SPAs and challenges traditional web apps frameworks such as ASP .NET Web Forms and ASP .NET Core MVC for building web apps. This article discusses the choice between SPAs and traditional web apps and explains the difference between server-side and client-side rendering.  What are Traditional Web Apps? Traditional web apps are apps that have little or no client-side processing. HTML is rendered server-side and passed to the browser. They mostly center around static text and filling out forms, and most interactions require a full page refresh. Browsers send data to the server via HTML forms, and the server handles the processing. Technologies like ASP (including all flavors such as classic, and MVC) and  PHP facilitate the transfer of data between the client and server and handle server-side processing. They mix server-side and client-side logic by allowing developers to declare the client-side UI with HTML alongside code that runs on the server. Forms can be developed quickly with no separation between APIs and front-end code. Traditional web app workflow typically presents the user with a form, a submit button, and a full-page response is received from the server after they click the button. The result is usually a disjointed and unsatisfactory user experience. In the approach, APIs are typically not made as first-class citizens. Traditional web apps usually require developers to build a separate set of APIs for consumption by 3rd parties or other apps such as phone apps. It often leads to code duplication. ASP Web Forms is an example of a traditional web app technology. It is possible to build SOAP Web Services, but it does not support designing modern Web APIs. Microsoft introduced ASP.NET Core for flexibility. It supports everything from modern Web APIs to traditional web apps. The MVC flavor of ASP.NET Core is a framework for building traditional web apps. What are Single Page Apps? Single page apps are web-based apps where UI is dynamically modified based on data transfer with the server via API calls. SPAs render the HTML DOM on the client-side. They are analogous to native phone or desktop apps. The server generally transfers all HTML, JavaScript, and CSS or WebAssembly code at the beginning of the session and does not transfer these as part of subsequent API calls. The browser modifies the HTML DOM instead of requesting the full HTML from the server. Ajax was the first step toward SPA frameworks. The approach became popular in the early 2000s. It uses JavaScript to call server-side APIs and so on to allow for asynchronous partial page refreshes. It provides a radical user experience improvement over traditional web apps. The browser can perform partial updates of data on the screen, and there is no HTML transfer on each call. Many traditional web apps started partially integrating Ajax. Developers added Web services to the back-end, and JavaScript code was served to the browser to call the endpoints. It meant that most traditional apps ended up becoming a mixture of server-side HTML rendering and client-side DOM manipulation with JavaScript.  JavaScript module bundlers such as webpack simplify the process of building pure JavaScript applications. They bundle an application in a similar way to a compiled native application. When coupled with frameworks such as Vue.js, Angular, and React, SPAs are easy to build and deploy. Developers build APIs as first-class citizens in parallel with SPA front-ends. Native app developers and 3rd parties can reuse the APIs so that all applications in the ecosystem depend on the same APIs. Modern systems frequently target platforms such as iOS and Android, so it is critical to reuse back-end infrastructure as much as possible.  What is Blazor? Blazor is a SPA framework that uses compiled C# to manipulate the HTML DOM instead of JavaScript. Blazor allows for server-side or client-side hosting models, but in either case, the browser manipulates HTML DOM client-side. The app remains a SPA app because the user does not experience full page refreshes. Non-Blazor SPA frameworks may have a steep learning curve for C# programmers. Typescript has some similarities to C#, but the programming paradigm is quite different. Bla...

Globalization and Localization in ASP.NET Core - Detailed

We will discuss in detail, Globalization and Localization in ASP.NET Core Application and go through various approaches on changing the Culture of the App.

Data Processing Pipelines with TPL Dataflow in C# .NET Core

I was first introduced to TPL Dataflow when I watched Stephen Toub talk about it on the MSDN Channel9 Developers Channel. I’ve had very few chances to use the TPL Dataflow library in my professional work, but when I have, it’s been simple and clean to implement. All code is available on my public GitHub where I’ve provided samples for .NET Core 3.0. Why Would I Use TPL Dataflow? If you find yourself having to process a lot of data concurrently in a variety of ways in a single application, you really should take a look.

Domain Layer and Coronavirus API - CORONAVIRUS WPF MVVM IN .NET CORE #1

I create the CoronaClient project implement the domain layer. I also create an implementation of our ICoronavirusCountryService using a Coronavirus API. To c...

AWS Elastic Beanstalk adds .NET Core on Linux platform : idk.dev

Today the AWS Elastic Beanstalk service extends its .NET support with the creation of the new .NET Core on Linux platform. This new platform version makes it easy to get ASP.NET Core applications deployed to AWS quickly for either a dev stack or a full production environment including enhanced health, patching, autoscaling, and rolling deployments. […]

Introducing the .NET Guide – Tutorials, Tips & Tricks for .NET, Rider, and ReSharper

Introducing the .NET Guide – Tutorials, Tips & Tricks for .NET, Rider, and ReSharper – .NET Tools Blog | JetBrains

Rider 2020.1.4 and ReSharper Ultimate 2020.1.4 Bugfixes Are Ready!

Rider 2020.1.4 and ReSharper Ultimate 2020.1.4 Bugfixes Are Ready! – .NET Tools Blog | JetBrains

Announcing the Porting Assistant for .NET | Amazon Web Services

.NET Core is the future of .NET! Version 4.8 of the .NET Framework is the last major version to be released, and Microsoft has stated it will receive only bug-, reliability-, and security-related fixes going forward. For applications where you want to continue to take advantage of future investments and innovations in the .NET platform, […]

Cross-Platform C# UI Technologies Part 2

[DISPLAY_ULTIMATE_SOCIAL_ICONS] The options for building cross-platform phone, desktop, and web-apps with C# are expanding. I previously wrote about Uno Platform, Xamarin.Forms, and Avalonia UI. The recent Microsoft Build conference mentioned Blazor, Uno Platform and MAUI. MAUI is an evolution of Xamarin.Forms that targets .NET 5/6. Whether or not Blazor can be considered a genuinely cross-platform technology is complicated. This article compares the technologies and some others and attempts to clarify some confusion around the future of C# cross-platform development. BrowserPhonesDesktopIdiomMAUI✔✔XAMLUno Platform✔✔✔XAMLAvalonia UI◑✔XAMLBlazor✔Blazor, HTML/CSSMobile Blazor Bindings✔Blazor, XAMLPlatform / Technology Comparison Note: all technologies mentioned are open-source. Read the previous article MAUI MAUI is an evolution of Xamarin.Forms (XF). It is a technology for building native mobile and desktop apps with C# and XAML. There is no preview available yet. This is the roadmap. However, MAUI should take over from Xamarin.Forms when it is ready. Xamarin.Forms is the flagship Microsoft C# cross-platform technology. It is a mature technology that large organizations have implemented to build many quality mobile applications. MAUI runs on the .NET 5/6 runtime while Xamarin.Forms runs on the Mono runtime for phones. .NET 5 is in preview mode so it could be some time before MAUI itself is production ready or even stable enough to experiment with. Platforms: iOS, Android, Tizen, UWP (WinUI) When to use: Your team already has a Xamarin.Forms appYou want the native look and feel of the native platformYou need to build a native phone and desktop app from a single codebaseYou don't need to target the browser Uno Platform Uno is a technology for building native mobile, desktop, and WebAssembly (WASM) apps with C# and XAML. It is a bridge for UWP that brings Windows 10 (WinUI/UWP) apps to phones, macOS, and the browser. UWP XAML, which is the purest evolution of the Microsoft XAML technology. Uno Platform has a lot of crossover with MAUI, but one point of distinction is browser support. Uno Platform targets WASM, which allows developers to deploy web-apps from a UWP based codebase. Uno's XAML paradigm closely models itself after. The second point of distinction between MAUI/XF and Uno is that XF apps look like their native platform by default while Uno styles the app to be identical across platforms by default. Bookmark my upcoming Introduction to Uno Platform Udemy Course.  Platforms: Browsers, iOS, Android, macOS, UWP (WinUI), Linux support on the roadmap When to use: Your team already has a UWP app or is looking to adopt WinUIYou need to target the browserYour team is familiar with the XAML paradigm from WPF, Silverlight or UWPYou need to build a native browser, phone and desktop app from a single codebase Avalonia UI A cross platform XAML Framework for .NET Framework, .NET Core and Monohttps://avaloniaui.net/ Avalonia allows developers to build native applications across Windows, macOS, and Linux. It embraces the XAML paradigm, which is familiar to C# developers who have built WPF applications. It takes on the unique approach of rendering graphics with Skia on Win32, X11 & Cocoa instead of relying on the platform's native controls. The platform also has experimental support for phones, and this promises to make it a strong contender. WASM support is also on the roadmap, which brings it to browsers. Platforms: Windows, macOS, Linux, experimental iOS and Android, browser and full iOS support on the roadmap When to use: Your team already has a WPF appYou need pixel-perfect rendering across platformsYou need to build a cross-platform desktop app from a single codebase (especially Linux)You don't need to target the browser Blazor Blazor is a browser-based technology that uses WASM or SignalR to bring .NET code to the browser. Developers define UI with HTML, and style with CSS, but manipulate the HTML DOM with C# instead of JavaScript. Its popularity has recently surged and strikes a chord with web developers because of the familiarity with HTML DOM access. Blazor apps work like JavaScript apps but with C#. Blazor comes with a syntax called Razor, which is familiar to ASP MVC developers.  Pure Blazor is only a real cross-platform technology insomuch as it runs in most modern browsers. However, Mobile Blazor Bindings (below) bring Blaz...

Micro-services communication: Rabbitmq and Asp.net core - Cool Coders

Microservices communication with rabbitmq and asp.net core using masstransit. How to communicate in an efficient maner between micro services.

Getting Started with Rider for #UnrealEngine

Getting started with Rider for #UnrealEngine is quick and easy. This video will take you through the initial steps, getting the app installed once you’ve reg...

AWS announces Porting Assistant for .NET

Porting Assistant is a free tool that can help port .NET Framework applications to .NET Core on Linux by analyzing the full tree of public API and NuGet packages to resolve dependency issues.

nxrighthere/UnrealCLR

Unreal Engine 4 .NET Core integration. Contribute to nxrighthere/UnrealCLR development by creating an account on GitHub.

F# 5 and F# tools update for June | .NET Blog

We’re excited to announce more updates to F# 5 today! We shipped an initial set of features with F# 5 preview 1, and they have all been stabilizing since that release including a updates from last month. Today, we’re happy to announce some new language features,

Onion Architecture In ASP.NET Core With CQRS - Detailed

In this article, We will talk about Onion Architecture In ASP.NET Core and it's advantages. We will also together build a WebApi that follows a variant of

Announcing .NET 5.0 Preview 6 | .NET Blog

Today, we’re releasing .NET 5.0 Preview 6. It contains a small set of new features and performance improvements. The .NET 5.0 Preview 4 post covers what we are planning to deliver with .NET 5.0. Most of the features are now in the product,

Real-Time Messaging In A Distributed Architecture Using ABP, SignalR & RabbitMQ

In this article, we will build a basic real-time messaging application in a distributed architecture. We will use Abp Framework for infrastructure and tiered startup template, SignalR for real time server-client communication and RabbitMQ as the distributed event bus.

Declarative Programming in .NET

Declarative programming can help you write code that’s more concise, easier to read, and mistake-free. In other words, declarative programming can improve your…

Generating C# .NET Classes at Runtime

There’s been several times in my C# career where I’ve had to generate new class types at runtime. Hopefully writing about it will help others in the same situation. It also means I won’t have to look up the same StackOverflow articles again in the future! Whilst I originally did this in .NET 4.6.2, I’ve provided samples for the newer .NET Core 3.0. All code is available on my public GitHub

5 Tricks You Should Know About Visual Studio’s Immediate Window - Ozcode

Visual Studio's Immediate Window opens up the opportunity to do some weird and wonderful things when debugging.

Er is iets misgegaan. - YouTube

Geniet van je favoriete video's en muziek, upload originele content en deel alles met vrienden, familie en anderen op YouTube.

ASP.NET Core Series: Performance Testing Techniques

ASP.NET Core is a cross-platform, high-performance, open-source framework for building modern, cloud ready, connected applications. In this episode, Ryan Now...

PowerShell in .NET Core and Docker

Since the beginning of time.NET Core there has been one continuous annoyance about developing cross-p...

ASP.NET Core Series: Tracing

Tracing your applications allows you to gain some insights into the end to end health of an application. In this episode, Sourabh Shirhatti from the asp.net ...

Hot Vacancies

.NET Developer

American startup, .NET

A developer is needed for an American startup that manages the operation and maintenance of residential complexes. This is a new project from scratch with a temporary integration of the old system (Web Forms, no code access).

.NET Backend Developer

Field Complete, .NET

Field Complete is a team of passionate, young & fun-loving professionals looking to change the uneffective way that Servicing Industry works on US markets. Field Complete is growing really fast. We are looking for a Back End Developer to build a top-level modern API, ready for high load. Strong expertise with:

Senior Xamarin Developer

DraftKings, Mobile

You will join a mobile team which is working on two very exciting projects, Sportsbook and Casino. The apps are used by users in the US, where we are working on the regulated markets. We are releasing apps every two weeks. Our apps are generating almost 75% of the company revenue and the user base is growing daily. Technical stack on the project: Xamarin.Forms, MVVM with DI, NewRelic, Azure + App Center etc. Switching to .Net MAUI in the nearest 2-3 months.

Senior .NET Engineer

DraftKings, .NET

You will be working in a large US-oriented company that puts as a priority: security, performance, and stability. The candidate will work on pushing a huge number of changes (several thousand per sec) to several thousand clients in a near real-time manner.

Middle strong .NET developer

SoftServe, .NET

Our customer is an American company that develops software for businesses to help manage their networks, systems, and information technology infrastructure. The company provides purpose-built products for IT professionals, MSPs, and DevOps pros.