by bill-s, 2020-05-12T18:14:13.424Z
Modern software development practices value quick and continuous updates, following processes that minimize the impact of software failures. As important as identifying bugs early, finding out if changes are improving business value are equally important. These practices can only work when a monitoring solution is in place. This article explores options for adding observability to .NET Core apps. They have been collected based on interactions with customers using .NET Core in different environments. We will be looking into OpenTelemetry and Application Insights SDKs to add observability to a sample distributed application.
by bill-s, 2020-05-12T18:19:31.776Z
I was recently working on a project where the frontend was built in React. The project was hosted on Azure and we wanted to use Azure CDN to host the React app. I have been looking at the az cli recently and decided to use it on this project to script the setup of resources and deployments to Azure.
by bill-s, 2020-05-12T18:19:00.809Z
In the last post, we looked at providing diagnostic event hooks into our code at specific points so that "something" could listen in. For our purposes, we want to listen in to surface telemetry data, but the uses are far wider for diagnostic events, such as logging, testing, and metrics. We want to focus on telemetry through the OpenTelemetry project.
by bill-s, 2020-05-12T18:18:19.934Z
One of the nice new features that we shipped in OmniSharp recently, and that has already made its way into the C# Extension for VS Code is support for decompilation. It was released in April as part of 1.35.0 release of OmniSharp. Let's have a quick look at how you can get it up and running.
by [email protected], 2020-05-15T02:07:10.427Z
In this series we'll talk a bit about message queues with RabbitMQ and how to integrate it in a C# WebAPI application using Background Workers.
by bill-s, 2020-05-15T03:50:01.703Z
DocFX is an open source, static site generator that can produce documentation from source code as well as Markdown files.
In this episode, Den Delimarsky comes on to show us how to get started with using DocFx to create our down documentation.
[00:49] - What does the Microsoft Docs team work on?
[01:44] - What does DocFX do?
[03:11] - Where to get started?
[04:08] - Creating a new DocFx project with the CLI
[12:42] - What are some other uses for DocFx?
by yugabe, 2020-05-15T10:50:27.998Z
This application is a very simple ASP.NET Core application, which crawls and outputs a generated Razor Page, which shows how much time is needed to read through the full ASP.NET Core Docs. I was interested primarily how much time it would take to learn Blazor A-Z, so I decided to calculate it programatically. It was just one more step to calculate it for the entire documentation site. As it turns out, if you concentrate on reading through the docs, <b>you can learn Blazor in about 368 minutes</b>, so less than a full workday! The entire documentation page takes 5691 minutes, which means you can be adept in all thing ASP.NET Core in 3 days, 22 hours and 51 minutes!
by bill-s, 2020-05-15T03:47:44.598Z
The Visual Studio Codespaces (formerly Visual Studio Online / VSO) web-based IDE is now available to be used. Based on the popular Visual Studio Code editor, it offers a familiar feel and workspace for writing and working with source code.. This also offers the extensibility of supporting Visual Studio Code extensions, although at this time we don’t know how many or which VS Code extensions will be supported.
by [email protected], 2020-05-15T02:06:11.102Z
Integration Tests are a fundamental block of every project. And as such, they deserve a special treatment in the CI pipeline.
by bill-s, 2020-05-15T03:27:12.332Z
It all began as a simple idea. I’ve been speaking with customers about Entity Framework Core (EF Core) and was intrigued by the popularity of using EF Core to access Cosmos DB. I’m a huge fan of Cosmos DB and have worked with it since it evolved from Azure DocumentDB. It wasn’t clear to me why anyone would want to use EF Core when Cosmos DB has its own SDK.
by [email protected], 2020-05-15T02:03:40.423Z
In this article we'll discover what Producer/Consumer means and how we can leverage the .NET Core library System.Threading.Channels to implement it.
by elmira_dam, 2020-05-14T19:37:37.487Z
Learn more about the Telerik Reporting .NET Report Designers for web and desktop - designer capabilities, specific features, where to get the most up-to-date information, and what report designers and developers can achieve with these.
by anthonygiretti, 2020-05-11T21:35:40.159Z
In computer science and software engineering in particular, software quality is an overall assessment of software, based on numerous indicators.
Comprehensiveness of functionality, correctness and accuracy of results, reliability, fault tolerance, ease and flexibility of use, simplicity, extensibility, compatibility and portability, ease of correction and transformation, performance, consistency and integrity of the information it contains are all quality factors.
In software engineering, factoring data and code is the universal way to get quality.
We will talk in this article about NDepend, a tool to help software developers achieve a high level of quality in their programs.
by glenntx, 2020-05-14T12:46:48.406Z
Integration testing primarily focuses on verifying data communication among different modules of the software project. Integration tests determine the effectiveness and performance of different software modules when they are connected to each other.
by bill-s, 2020-05-15T03:50:50.171Z
Microsoft Ignite will be launched as a complimentary digital event experience this September. Join us to learn innovative ways to build solutions, migrate and manage your infrastructure, and connect with Microsoft experts and other technology professionals from around the globe.
by bill-s, 2020-05-12T18:15:57.278Z
nopCommerce is a leading ASP.NET online shop e-commerce solution. nopCommerce can be installed and set-up by anyone with the most basic web site building and computer skills. nopCommerce is a secure, scalable and extendable e-commerce platform. It has user friendly administration tools to manage your storefront, customers, wish lists, discounts, and coupons. It also has multi-store and multi-vendor support, flexible tax support, multi-lingual support, and hundreds of other features. Support for the most popular gateways: Authorize.net, PayPal, and more.
by bill-s, 2020-05-15T03:48:08.767Z
This post is part of the series 'Roslyn Analyzers'. Be sure to check out the rest of the blog posts of the series!
Writing a Roslyn analyzer
Writing a language-agnostic Roslyn Analyzer using IOperation
Working with types in a Roslyn analyzer
Referencing an analyzer from a project (this post)
by spetzu, 2020-05-15T05:46:10.106Z
Link to the repository can be found in the first sentence of a blog post:
by bill-s, 2020-05-12T18:26:20.707Z
As a part of our PowerShell 7 release, the PowerShell Team put together a series of videos explaining and demoing aspects of the release. The intent of these videos was for User Groups to host events celebrating and discussing PowerShell 7, however, in light of the current guidance against group gatherings, we have decided to make these videos available publicly on the PowerShell Team YouTube channel.
by bill-s, 2020-05-15T03:21:42.993Z
Times ago I blogged about micro ORM-s. I have been busy through all Covid-19 times learning technical side of DDD and during that I met again my old friend Dapper. There are applications where Dapper is used to query read-only data without overhead coming with ORM-s. Also there are simple applications where for one or another reason developers decided to keep as close to raw SQL as possible. This blog post is brief introduction to Dapper anbd how to use it in ASP.NET Core applications.
by bill-s, 2020-05-12T18:19:53.766Z
This project is a demonstration on how to do Web Api testing using Test Server. Instead of doing traditional unit tests where you write tests for each layer of your application. You can use Test Server and achieve a high level of code coverage but at the same time writing less code with lower maintenance.
by bill-s, 2020-05-12T18:20:54.129Z
Microsoft Azure is an awesome cloud platform. We have been hosting elmah.io on Azure since day one. To say that Azure is expensive is probably not fair. But the easy point-and-click interface and the advanced scaling options can quickly cause your bill to grow out of control. In this post, I'll go through some of the things we have done and still do to keep our Azure bill as low as possible.
by bill-s, 2020-05-15T03:29:04.891Z
Should you really use DTOs (Data Transfer Objects)? Seem like a lot of work mapping your database entities to another object? Why Bother? The simple answer is coupling.
by anthonygiretti, 2020-05-11T22:25:49.826Z
Json.Net (NewtonSoft) has been for a long time the most used JSON serializer in .NET world. Since .NET Core 3 and ASP.NET Core 3 Microsoft introduced a new one named System.Text.Json. JObject is a class that belongs to Json.Net (NewtonSoft) and if this latest is replaced by System.Text.Json, in this case you should expect that using JObject will no longer work. Unfortunately I have had to deal with JObject in request payloads and in this article I will show you how to live without JObject and how replace it without breaking your application.
by yekuta, 2020-05-11T13:20:48.400Z
Creating a singleton class or static class doesn't matter, it is not a good practice. However, in practice, it can be unavoidable at some points. So, which one we should prefer? While the article title already answers this question, I will explain the details of this decision in this article.