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.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");
- Configuration
- Learning about .NET Core futures by poking around at David Fowler's GitHub
- Memory: poster from Pro .NET Memory
You can find all the release notes on GitHub.
Start with .NET Tutorial - Hello World in 10 minutes then Learn .NET Core and the .NET Core SDK tools by exploring these Tutorials.
.NET Core runs really well on Docker.
dotnet/dotnet-docker is the GitHub repository for .NET Core Docker official images, which are now hosted on Microsoft Container Registry (MCR). To know more read this arcticle .NET Core Container Images now Published to Microsoft Container Registry published on March 15, 2019.
Julien Chable has an interesting blog to follow with articles on .NET Core and Docker.
Official images repository:
To review:
- Getting Started with .NET Core and Docker and the Microsoft Container Registry 2019-03-22
- 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 2019-01-07
{{< 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 >}}
- "Deploy and Run a Distributed Cloud Native system using Istio, Kubernetes & .NET core" source code