by yugabe, 2020-05-07T11:52:45.408Z
The project in its completed state is a real-time game that uses ASP.NET Core frameworks Blazor WebAssembly, Web API, Identity, SignalR and Entity Framework Core. All used software are free to use, and all code written is based on open source software mainly made available by Microsoft.
The goal of this project to get an "in-depth, deep-dive overview" of the above frameworks, primarily intended for people who are at least a little familiar with the .NET ecosystem. Unless high demand requires it, not much explanation will be added to the steps required, as the primary documentation by Microsoft is the best place to learn these technologies. This project focuses on dipping your toes into each of these technologies, focusing on the latest and greatest of them all, Blazor. At the time of writing, Blazor WebAssembly is in public preview for ASP.NET Core 3.1 (version 3.2.0-rc1.20223.4) with the production ready version coming in the following weeks. The project can be completed at a steady pace in about 90-120 minutes. Obviously, the project is not a production ready application, has bugs, anomalies and is rough around the edges, but feel free to view the current issues, open a new issue, fork or send me a pull request if you so desire, as any community interaction is most welcome.
We are going to create a game that is similar to Microsoft Minesweeper, but instead of marking and avoiding spots which contain mines, you collect treasure in their place in a multiplayer, turn-based setting.
For the full tutorial, go to https://github.com/yugabe/BlazorMiner
by bill-s, 2020-05-08T01:27:16.458Z
Are you just starting your cloud journey or looking for ways to upgrade your knowledge in specific areas?Azure Charts is a web based application which allows you to see what the Azure consists of and how it evolves. Additionally, to help you learn Azure in a focused way and stay up-to-date in your knowledge, there is a suite of interactive charts introduced recently which you can find under the Learning menu in the navigation bar. The learning menus utilize the Microsoft Learn Catalog API
by bill-s, 2020-05-08T02:42:03.959Z
The rule: Normalize until it hurts; denormalize until it works. That’s what you typically get taught early on. While normalizing a database is a solid practice and something you should do when designing a system; it can jump up and bite you when you get under load. You probably won’t deal with most of these issues early on in a system (and shouldn’t), but the time will come where eventually some degree of denormalization is necessary to keep performance up to snuff.
by bill-s, 2020-05-08T01:25:31.608Z
One exciting feature of the upcoming .NET 5 are Source Generators.
Source Generators as the name suggests generate C# source code as part of the compilation process. Code generation is not a new concept in Visual Studio and .NET – for example T4 templates have been around for a while now and enable you to programmatically generate/transform content that can be compiled. There are also techniques such as IL Weaving that tools such as Fody use to manipulate the assembly that is produced from the compilation process.
by kudchikarsk, 2020-05-07T15:38:17.970Z
In this article, we’re going to be learning about a whole host of different tips and tricks related to C# String and Formatting.
by bill-s, 2020-05-08T01:28:00.775Z
This blog shows how to create an Azure App Service with a custom domain using Cloudflare to configure the domain name servers. The post used the following blog from Matteo for the original setup: Serving your Azure App Service under your custom domain
To create a custom domain for an Azure App Service, you require three things:
A domain which maps to a domain name server
TXT, A records for the root domain, CNAME records for sub domains
A hosting service to host the application which maps to the A, TXT, CNAME records.
by bill-s, 2020-05-08T02:43:26.974Z
Starting with Visual Studio 16.6 Preview 2 the Connected Services tab offers a new experience called Service Dependencies. You can use it to connect your app to Azure services such as Azure SQL, Storage, Key Vault and many others. Wherever possible local emulation options are also available and more are planned for the future.
by bill-s, 2020-05-08T02:40:43.438Z
In order to migrate your application from .NET Framework to .NET Core, one part of the migration is making sure your existing code that targets the .NET Framework BCL (Base Class Library) also works with the .NET Core BCL. This is where the .NET Portability Analyzer comes in.
by bill-s, 2020-05-08T01:26:39.125Z
Part 1 - Why Use Messaging?
Part 2 - The Challenges of Messaging
Part 3 - Introducing Azure Service Bus
Part 4 - Sending and Receiving Messages
Part 5 - Message Sending Options
Part 6 - Message Receiving Options
Part 7 - Topics and Subscriptions
by kudchikarsk, 2020-05-05T05:37:10.897Z
CQRS is a simple pattern that strictly segregates the responsibility of handling command input into an autonomous system from the responsibility of handling side-effect-free query/read access on the same system.
If you are familiar with Domain-Driven Design, you’ve most likely heard about, Command-Query Responsibility Segregation (CQRS). Though the CQRS pattern is well-known, there are still a lot of misconceptions around this pattern, especially when it comes to applying it in real-world software projects.
In this article, you will learn exactly what CQRS is, the principles behind it, and the benefits it can provide for your project.
We will see a detailed, step-by-step process of implementing this pattern in practice using a sample project we’ll be working on. This project will be close to what you can see in the real world, and I will explain each step on the way to implement CQRS in great detail.
by bill-s, 2020-05-08T01:26:09.816Z
ASP.NET Core 3 introduced a not so talked about feature which is dynamic routing. In a nutshell, it means that it is possible to decide at runtime the controller, action and route tokens that a request will be dispatched to. The idea is to map a route pattern to a dynamic route handler, like this:
by bill-s, 2020-05-08T02:40:09.118Z
In March 2020, ML.NET added support for training Image Classification models in Azure. Although the image classification scenario was released in late 2019, users were limited by the resources on their local compute environments. Training in Azure enables users to scale image classification scenarios by using GPU optimized Linux virtual machines.
This post will show how to train a custom image classification model in Azure to categorize flowers using ML.NET Model Builder. Then, you can leverage your existing .NET skills to consume the trained model inside a C# .NET Core console application. Best of all, little to no prior machine learning knowledge is required. Let’s get started!
by yekuta, 2020-05-05T10:14:27.748Z
In this post, we investigate what strategy design pattern is, how it is implemented in TypeScript, and when it is a good idea to employ it. We will also see some examples in Angular.
by ThomasArdal, 2020-05-05T05:27:55.828Z
Check out my top 10 list of books that I have either enjoyed reading myself or got recommended by developers friends and plan to read.