Skip to content

Latest commit

 

History

History
244 lines (198 loc) · 19.4 KB

C#.md

File metadata and controls

244 lines (198 loc) · 19.4 KB

C#

C# general

Topic Source URL
Async Microsoft DevBlogs ConfigureAwait FAQ
Code style documentation.help StyleCop rules
computerhope.com Hungarian notation prefixes
Documentation Microsoft Docs XML Documentation Comments
Delegates MSDN Funct<T, TResult> Delegate
Garbage collection GitHub .NET memory performance analysis
Generics Eric Lippert Why are generics not inherited?
HtmlAgilityPack Microsoft Docs XPath syntax
Identity Andrew Lock Introduction to Authentication with ASP.NET Core
identityserver.io
Iterators Ray Chen The implementation of iterators and their consequences (Part 1) (Part 2) (Part 3) (Part 4)
LINQ Microsoft Docs Getting started with LINQ
Operators Microsoft Docs Using indexers
Implicit keyword
Patterns Visual Studio magazine Pattern matching in C# 7.0 case blocks
RegEx Microsoft Docs Best practices for Regular Expressions in .NET
Character classes in Regular Expressions
Scaffolding MSDN Blogs Creating a custom scaffolder for Visual Studio
Spans MSDN All about Span: exploring a new .NET mainstay
Validation odetocode.com Manual validation with data annotations
Visual Studio Microsoft Docs Shortcuts in Visual Studio
Microsoft Docs Using the Task List
YamlDotNet cyotek.com Using custom type converters with YamlDotNet - Part 1 and Part 2
GitHub Serialize comments

Back to top

Testing

Topic Source URL
Fluent assertions NFluent NFluent
Mocking GitHub Moq Quickstart
NUnit NUnit docs NUnit Documentation
xUnit xUnit docs Getting started with xUnit
Andrew Lock Using parameterised tests in xUnit
Brendan Connolly Organizing tests with xUnit Traits

Back to top

Logging

Topic Source URL
Serilog serilog.net Serilog.net
Github Serilog.Sinks.Console
Blog Logging scopes and exceptions

Back to top

Serialization

Topic Source URL
YamlDotNet cyotek.com Using custom type converters with C# and YamlDotNet part 1 and part 2

Back to top

MSBuild

Topic Source URL
Macros Microsoft Docs Common macros for build commands and properties
Properties Microsoft Docs MSBuild well-known and reserved properties
Common MSBuild properties
Property element
Tasks Microsoft Docs Message task
Copy Task
GitHub .NET Core - Tasks named "AfterBuild" and "AfterPublish" are ignore

Back to top

CLI

Topic Source URL
Console apps GitHub CommandLineUtils
CommandLineUtils - Options
CommandLineUtils - Arguments
CommandLineUtils - integration with generic Host
Andrew Lock Using dependency injection in a .NET Core console app
.NET global tools Microsoft Docs Create a global tool
Nate McMaster .NET Core Global tools and gotchas

Back to top

Entity Framework Core (EF core)

Topic Source URL
Databases CodeProject Storing complex properties as JSON
Microsoft Docs Connection String Syntax
Npgsql Docs Getting Started [with PostgreSQL]
Deployment Microsoft Docs Configuring a database server for web deploy publishing
Microsoft Docs Deploying database projects
Fluent API Scott Sauber Configuring EF Core 2.0 with IEntityTypeConfiguration
Microsoft Docs Cascade Delete
Migrations Brice Lambson How to use EFCore Migrations with layers
Microsoft Docs Diesng-Time DbContext Creation
Andrei Dzimchuk Managing database schema and seeding data with EF Core migrations
Shadow properties StackOverflow Turning off shadow property generation
Testing Microsoft Docs Implementing the Repository and Unit of Work patterns
Microsoft Docs Repository pattern benefits
Microsoft Docs Testing with InMemory
Stormpath Tutorial: Using Entity Framework Core as an In-Memory Database for ASP.NET Core
Queries GitHub .Where(...).FirstOrDefaultAsync() faster than .FirstOrDefaultAsync()
Views Microsoft Docs Keyless entity types

Back to top

.NET Core MVC

Topic Source URL
dotnet CLI GitHub .NET Command Line Interface
Maarten Balliauw Extending dotnet CLI with custom tools (blog post) and dotnetcli-init (GitHub)
Client-side Microsoft Docs Bundling and minification
HTTPS Microsoft Docs Enforece HTTPS in ASP.NET Core
MSDN blogs Configuring HTTPS in ASP.NET Core across different platforms
humankode.com Develop Locally with HTTPS, Self-Signed Certificates and ASP.NET Core
blinkingcaret.com HTTPS in ASP.NET Core from scratch
Middleware Microsoft Docs ASP.NET Core Middleware
Razor pages Microsoft Docs Getting started with Razor Pages
learnrazorpages.com Friendly Routes
Razor class libraries Microsoft Docs Create reusable UI using the Razor class library project in ASP.NET Core
Security Microsoft Docs Overview of ASP.NET Core Security
Authentication in ASP.NET Core
Authorization in ASP.NET Core
Safe storage of app secrets in development in ASP.NET Core
Jerrie Pelser Authenticate with OAuth 2.0 in ASP.NET Core 2.0
Swagger/OpenAPI Microsoft Docs ASP.NET Core Web API help pages with Open API
GitHub SwashBuckle.AspNetCore
GitHub issue Support for ASP.NET API Versioning?
StackOverflow Rename Model in SwashBuckle 6 with ASP.NET Core Web API
GitHub 201 CREATED shows up as status 200 in Swagger UI
Testing Microsoft Docs Testing Controller logic in ASP.NET Core
Microsoft Docs Razor pages testing
Microsoft Docs Unit testing with dotnet test and xUnit
Hossam Barakat Unit testing ASP.NET Core Tag Helper
Mark Macneil Painless integration testing with ASP.Net Core Web API
Tutorials Microsoft Docs Contoso University
Microsoft Docs Building Your First Web API with ASP.NET Core MVC and Visual Studio
Microsoft Docs Music Store
Validation Microsoft Docs System.ComponentModel.DataAnnotations namespace
Microsoft Docs Model validation in ASP.NET Core MVC
Views Microsoft Docs Tag Helpers
StackOverflow TagHelpers not rendering
Microsoft Docs Authoring Tag Helpers
Microsoft Docs View Components
Microsoft Docs Serving static files

Back to top

Blazor

Topic Source URL
General Microsoft Docs Hosting models
Razor components Microsoft Docs Create and use ASP.NET Core Razor components

Back to top

Classic ASP.NET

Topic Source URL
Application config Microsoft Docs Web Deploy Parameterization
Configuring parameters for Web Package Deployment
Dependency Injection Autofac docs Adapters and Decorators

Back to top

Web frameworks

Topic Source URL
Angular okta.com Build a CRUD App with ASP.NET Core and Angular
SignalR Microsoft Docs Introduction to ASP.NET Core SignalR
Use Hubs in SignalR for ASP.NET Core
MSDN Magazine Discovering ASP.NET Core SignalR
Single Page Applications GitHub AspNetCore JavaScriptServices documentation
Webpack Microsoft docs Using SignalR with Webpack and TypeScript

Back to top

Windows Presentation Foundation (WPF)

Topic Source URL
Tutorials Microsoft Docs My first WPF desktop application

Back to top

CI/CD

Topic Source URL
AppVeyor Andrew Lock Publishing your first NuGet package with AppVeyor and MyGet
CI Microsoft Docs Using .NET Core SDK and tools in Continuous Integration
Travis CI Travis docs Building a C#, F# or Visual Basic Project
Andrew Lock Adding Travis CI to a a .Net Core app

Back to top

NuGet packages

Topic Source URL
Bundler & Minifier chuci.info bundleconfig.json schema
Project dependencies jerriepelser.com Analyzing project dependencies part 1
NuGet Microsoft Docs Quickstart: Create and publish a package (dotnet CLI)
NuGet config file
.nuspec Microsoft Docs Creating the .nuspec file
.nuspec reference
Replacement tokens
.nuspec - including content files

Back to top