📗
Everyday Cheat Sheets
  • README
  • Build
    • Architecture
      • API Management
        • Kong
      • Authentication
        • Keycloak
        • Okta
      • Cloud Native
      • Design Patterns
      • Design Principles
      • IaC
      • IoT
      • Message Broker
      • Methods
      • Networking
      • Payment
        • Stripe
      • Testing
    • Code lifecycle (ALM)
      • Automation Pipelines
        • Argo CD
        • CircleCI
        • Flux
        • Keptn
        • Travis
      • Azure DevOps
        • Azure Pipelines
      • Chef
      • GitHub
        • GitHub Actions
      • Nexus
      • Promyze
      • RunDeck
      • SaltStack
      • Sonar
      • Tuleap
    • Containers & Cloud Native
      • Argo Workflows
      • Containerization
        • Docker
          • Docker CLI
        • containerd
        • cri-o
      • CNAB
      • Dapr
      • Envoy
      • Fluentd
      • Knative
      • Kubernetes
        • Cluster API
        • etcd
        • Helm
        • k3d
        • kind
        • Kubectl
        • MetalLB
        • Minikube
      • Open Application Model (OAM)
      • Unleash
    • Data storage
      • MySQL
      • MongoDB
        • Atlas
        • Compass
        • Evergreen
        • MongoDB 4.2
        • MongoDB 5.0
        • MongoDB design
        • MongoDB events
        • MongoDB driver for .NET
        • Ops Manager
        • Realm
      • Oracle
      • Redis
      • SQL Server
      • PostgreSQL
    • Frameworks & libraries
      • Angular
        • Angular CLI
        • Angular events
      • .NET
        • ASP.NET Core
        • Blazor
        • .NET 5.0
        • .NET 6.0
        • .NET CLI
        • .NET Core
        • .NET Events
        • .NET Logging
        • .NET Testing
        • NuGet
        • WPF
        • Xamarin
      • gRPC
      • Ionic
      • Jekyll
      • Node.js
        • Express
        • NPM
      • React
        • React Native
      • Redux
    • IDE
      • Visual Studio 2022
    • Languages
      • C#
        • C# 8.0
      • ECMAScript
      • GraphQL
      • JavaScript
        • webpack
        • Yarn
      • MS-DOS
      • PHP
      • PowerShell
      • Python
      • Swagger
      • TypeScript
    • Messaging
      • Azure Service Bus
      • RabbitMQ
    • Testing
    • Workstation
      • QGIS
      • Visual Studio 2019
      • Windows 10
      • Windows Subsystem for Linux
  • Collaborate
    • Marp
    • Microsoft 365
      • Microsoft Graph
      • SharePoint Framework
        • Fluent UI
        • SharePoint Framework UI components
  • Run
    • Cloud computing
      • Alibaba
      • AWS
      • Azure
        • Azure AD
        • Azure CLI
        • Azure Container Registry
        • Azure Portal
        • Azure Service Bus
      • Firebase
      • OVH
    • Hardware
      • Single-board computers
        • Odroid
        • Raspberry Pi
    • Infrastructure automation
      • Azure Resource Manager
      • Packer
      • Pulumi
      • Puppet
      • Terraform
        • HCL
        • Terraform CLI
        • Terraform Providers
    • Networking
      • HAProxy
      • nginx
    • Observability
      • Grafana Labs
        • Grafana
        • Loki
        • Tempo
      • OpenTelemetry
      • Prometheus
      • Splunk
    • Security
      • Falco
    • Systems
      • Linux
        • CentOS
        • eBPF
        • Linux Kernel
        • Rocky
        • Ubuntu
      • Windows Server
    • Virtualization
      • Hyper-V
      • Vagrant
  • Optimize
    • DevOps
  • Join
    • Companies
      • HashiCorp
Powered by GitBook
On this page
  • Quick Links
  • Use cases
  • Console project
  • Json serialization
  • Features
  • Versions
  • Tutorials
  • Recipes
  • Scripting
  • Docker
  • .NET Core on Kubernetes
  • Background tasks
  • Excel
  • HTTP Client with NTLM authentication
  • CMS
  • .NET Core & PHP
  • Angular & ASP.NET Core
  • .NET Core on AWS
  • .NET Core & Istio

Was this helpful?

Export as PDF
  1. Build
  2. Frameworks & libraries
  3. .NET

.NET Core

Previous.NET CLINext.NET Events

Last updated 1 year ago

Was this helpful?

Quick Links

Use cases

Console project

By default .NET Core Console applications reference very few elements.

These are good references to start with:

  • Microsoft.Extensions.DependencyInjection

  • Microsoft.Extensions.Logging

    • Microsoft.Extensions.Logging.Console

    • Microsoft.Extensions.Logging.Debug

  • Microsoft.Extensions.Configuration

    • Microsoft.Extensions.Configuration.Json

Json serialization

  • Json.NET

You can convert a Json to Xml:

// object is needed as the value is an array
var expected = JsonConvert.DeserializeXmlNode($"{{\"object\": {step.ExpectedResponseJsonString}}}", "root");

Features

Versions

Tutorials

Recipes

Scripting

Docker

.NET Core runs really well on Docker.

Official images repository:

To review:

.NET Core on Kubernetes

Background tasks

Excel

HTTP Client with NTLM authentication

{{< highlight csharp >}} // Startup.cs public void ConfigureServices(IServiceCollection services) { services.AddHttpClient(apiClientConfiguration.HttpClientName) .ConfigurePrimaryHttpMessageHandler( x => new HttpClientHandler { Credentials = new CredentialCache { { new Uri(apiClientConfiguration.EndpointDomain), "NTLM", new NetworkCredential(_configuration.CustomApiClientUsername, _configuration.CustomApiClientPassword) } } }); } {{< /highlight >}}

CMS

  • nopCommerce

.NET Core & PHP

Angular & ASP.NET Core

.NET Core on AWS

.NET Core & Istio

Memory: poster from

You can find all the release notes on .

Start with then .

is the GitHub repository for .NET Core Docker official images, which are now hosted on . To know more read this arcticle published on March 15, 2019.

has an interesting blog to follow with articles on .NET Core and Docker.

2019-03-22

2019-01-07

"Deploy and Run a Distributed Cloud Native system using Istio, Kubernetes & .NET core"

learn.microsoft.com
docs
JavaScriptSerializer Class
Configuration
Learning about .NET Core futures by poking around at David Fowler's GitHub
Pro .NET Memory
GitHub
.NET Tutorial - Hello World in 10 minutes
Learn .NET Core and the .NET Core SDK tools by exploring these Tutorials
Scott Hanselman - C# and .NET Core scripting with the "dotnet-script" global tool
dotnet/dotnet-docker
Microsoft Container Registry (MCR)
.NET Core Container Images now Published to Microsoft Container Registry
Julien Chable
ASP.NET Core Runtime
.NET Core Samples
.NET Core
Getting Started with .NET Core and Docker and the Microsoft Container Registry
Dockerize an ASP.NET Core application
Scott Hanselman - .NET Core and Docker
A complete containerized .NET Core Application microservice that is as small as possible
Deploy ASP.NET Core app to Kubernetes on Google Kubernetes Engine
Deploy ASP.NET Core apps to Azure Kubernetes Service with Azure DevOps Projects
Access the Kubernetes web dashboard in Azure Kubernetes Service (AKS)
Implement background tasks in microservices with IHostedService and the BackgroundService class
Converting an Excel Worksheet into a JSON document with C# and .NET Core and ExcelDataReader
OrchardCMS
Scott Hanselman - Exploring nopCommerce - open source e-commerce shopping cart platform in .NET Core
Scott Hanselman - Headless CMS and Decoupled CMS in .NET Core
Scott Hanselman - The whole of WordPress compiled to .NET Core and a NuGet Package with PeachPie
Use the Angular project template with ASP.NET Core
aws-samples/cloudmosaic-dotnet
source code