mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2025-12-06 05:32:03 +01:00
61 KiB
61 KiB
- Chapter 1 - Hello, C#! Welcome, .NET!
- Chapter 2 - Speaking C#
- Chapter 3 - Controlling Flow, Converting Types, and Handling Exceptions
- Chapter 4 - Writing, Debugging, and Testing Functions
- Chapter 5 - Building Your Own Types with Object-Oriented Programming
- Chapter 6 - Implementing Interfaces and Inheriting Classes
- Chapter 7 - Packaging and Distributing .NET Types
- Chapter 8 - Working with Common .NET Types
- Chapter 9 - Working with Files, Streams, and Serialization
- Chapter 10 - Working with Data Using Entity Framework Core
- Chapter 11 - Querying and Manipulating Data Using LINQ
- Chapter 12 - Introducing Web Development Using ASP.NET Core
- Chapter 13 - Building Websites Using ASP.NET Core Razor Pages
- Chapter 14 - Building Websites Using the Model-View-Controller Pattern
- Chapter 15 - Building and Consuming Web Services
- Chapter 16 - Building User Interfaces Using Blazor
- Epilogue
Chapter 1 - Hello, C#! Welcome, .NET!
Visual Studio 2022 for Windows
- Download Visual Studio for Windows
- Sign up for a Microsoft account
- Visual Studio for Windows documentation
- Microsoft Visual Studio on YouTube
- Cool features in Visual Studio 2022
- MSBuild and 64-bit Visual Studio 2022
- Create C# apps with Visual Studio
- Comparison of Visual Studio Code and Visual Studio
Visual Studio Code
- Download Visual Studio Code
- Visual Studio Code documentation
- Set up Visual Studio Code
- Visual Studio Code key bindings and shortcuts
- Microsoft's roadmap for Visual Studio Code
- Visual Studio Code for C# Developers | .NET Conf 2022
- Learning with VS Code on Chromebooks
- The History of Visual Studio Code | BDL134
Other C# code editors and platforms
- Stack Overflow survey 2021 - Integrated development environment
- Stack Overflow survey 2019 - Most Popular Development Environments
- Visual Studio for Mac documentation
- GitHub Codespaces
- JetBrains Rider
- Rider documentation
- .NET 6 is now in Ubuntu 22.04
.NET Interactive and Polyglot Notebooks
- The Power of Polyglot Notebooks | .NET Conf 2022
- .NET Interactive documentation
- VS Code Notebooks: A Deep Dive video
- Discuss: File format in the .NET Interactive VS Code extension
- Polyglot Notebooks: Variable Sharing
- Using HTML and JavaScript in .NET Interactive
- .NET Interactive Samples
- Markdown syntax
Command Line Interfaces
- Windows Terminal as your Default Command Line Experience
- .NET Core Command-Line Interface (CLI) tool overview
.NET
- Download .NET SDK
- .NET Conf 2022 Keynote: Welcome to .NET 7 | .NET Conf 2022
- Stack Overflow survey 2021 - Most loved frameworks and libraries
- Themes of .NET
- Microsoft's positioning of .NET Core and .NET Framework
- Microsoft's plans for the journey to one .NET
- Official list of .NET 7 supported operating systems
- .NET Support Policy
- .NET versions
- .NET Uninstall Tool
- How to remove .NET SDKs and runtimes
- ASP.NET Core and EF Core branding for .NET 5
- .NET Optional SDK Workloads
- .NET Runtime
- .NET Release Schedule
- .NET Team Members on Twitter
- dotnet new templates
.NET performance improvements
- Arm64 Performance Improvements in .NET 7
- Performance Improvements in .NET 7
- Performance Improvements in .NET 6
- Performance Improvements in .NET 5
- Performance Improvements in .NET Core 3.0
- Performance Improvements in .NET Core 2.1
- Performance Improvements in .NET Core
Open source and other projects related to .NET
- Mono project
- Unity project
- Open source projects to enable WCF and WF to migrate to .NET 5
- CoreWCF 1.1.0 and project templates
- Upgrading a WCF service to .NET 6 with CoreWCF
- CoreWCF 1.0 has been Released, WCF for .NET Core and .NET 5+
- Open source project for Blazor Web Forms components
- OSS Spotlight - Build amazing cross-platform UI for .NET with Avalonia UI!
Git
Help and learning
- Raise an issue with the book: Please tell me as much as possible about the scenario e.g. the book section title and page number, your operating system and code editor including version, project file (.csproj), code files, what you expected and what actually happened, and so on.
- .NET Conf 2021 Recap – Videos, Slides, Demos, and More
- Microsoft Learn - Technical Documentation
- Official .NET Blog written by the .NET engineering teams
- Scott Hanselman's Computer Stuff They Didn't Teach You video series on YouTube
- Get better at programming by learning how things work
- Practice .NET anywhere with .NET Fiddle
- Try .NET
- Stack Overflow
- Google Advanced Search
- .NET Videos
- Microsoft Learn Shows – .NET Videos
Chapter 2 - Speaking C#
What's New in C#?
- What's New in C# 11 | .NET Conf 2022
- Early peek at C# 11 features: Allow newlines in the “holes” of interpolated strings, List patterns, Parameter null-checking.
- C# 11 preview: generic math, required members, and more
- What's new in C# 11
- What's new in C# 10
- What's new in C# 9.0
- What's new in C# 8.0
- What's new in C# 7.3
- What's new in C# 7.2
- What's new in C# 7.1
- What's new in C# 7.0
- What's new in C# 6.0
- What's new in C# 5.0
- What's new in C# 4.0
- What's new in C# 3.0
- What's new in C# 2.0
C# language version and the journey to C# 11
- Announcing Open Source C# standardization
- Rosalyn and C# compiler versions
- How Microsoft rewrote its C# compiler in C# and made it open source
- Current status of the C# language
- C# Language Specification 5.0
- Draft proposals for C# Language Specifications for 6.0 and later
- C# 9 & 10 Workshop
- C# language versioning
- The history of C#
- Interview with the C# Boss - Mads Torgersen
- The .NET Docs Show - C# Ask Me Anything 🤯
- EPIC - .NET 6 C# project templates use latest language idioms #3359
- SDK support for implicit namespaces in C# projects #25066
C# language
- C# Reference
- C# Programming Guide
- C# Keywords
- Naming guidelines
- Types (C# Programming Guide)
- Statements, Expressions, and Operators (C# Programming Guide)
- Pattern matching overview
- Patterns (C# reference)
C# implemented proposals
C# proposals being worked on
- Champion: Simplified parameter null validation code #2145
- Proposal: Semi-Auto-Properties; field keyword #140
- Working Set (of proposals)
Text and number types
- Strings (C# Programming Guide)
- Verbatim strings
- String Interpolation in C# 10 and .NET 6
- Escape sequences
- Floating point numbers
- Why 0.1 does not exist in floating-point numbers
- American Patriot missile disaster
Console apps and formatting
- Console.ReadKey improvements in .NET 7
- Main() and command-line arguments (C# Programming Guide)
- Console Class
- Formatting types
- Composite Formatting
Miscellaneous
Chapter 3 - Controlling Flow, Converting Types, and Handling Exceptions
Operators
Branching statements and pattern matching
- Statement keywords (C# Reference)
- Goto Fail bug
- goto keyword and examples of when it can be used
- Pattern matching
- Patterns and switch expressions
Casting, converting, rounding, and formatting data
- Taking control of rounding
- Format codes for common scenarios
- Casting and type conversions (C# Programming Guide)
Handling exceptions
Coding problems in interviews
- Why can't programmers program?
- FizzBuzz for programming interviews
- Make Better Hiring Decisions With Take-Home Coding Challenges
- The 30-minute guide to rocking your next coding interview
- C# Interview Questions
- Recursion versus interation
Chapter 4 - Writing, Debugging, and Testing Functions
Debugging
- Visual Studio for Windows debugger documentation
- Visual Studio Code debugger
- Instructions for setting up the .NET debugger
- How to debug for absolute beginners
Instrumenting
- System.Diagnostics Namespace
- Debug class
- Trace listeners
- Console log formatting
- Using .env in .NET
- Announcing dotnet monitor in .NET 6
Testing
Chapter 5 - Building Your Own Types with Object-Oriented Programming
Fields
- Fields (C# programming guide)
- Access modifiers (C# programming guide)
- Enumeration types (C# reference)
- required modifier (C# Reference)
Methods
- Constructors (C# programming guide)
- Methods in C#)
- Deconstructing tuples and other types
- params keyword
- out parameter modifier (C# Reference)
- ref (C# Reference)
Properties
- Encapsulation of fields using properties
- Properties (C# programming guide)
- Using Tuples in C# to Initialize Properties in the Constructor and to Deconstruct Your Object
Pattern matching, Records, and Miscellaneous
- Records (C# reference)
- Tutorial: Use pattern matching to build type-driven and data-driven algorithms
- Comparing struct and class records
- How do I calculate someone's age based on a DateTime type birthday?
Chapter 6 - Implementing Interfaces and Inheriting Classes
Operator overloading, delegates and events
- Operator (C# reference)
- Symbols that can be overloaded
- Delegates
- Events (C# reference)
- How to: Raise and Consume Events
Interfaces and generics
- Interfaces
- Explicit interface implementations
- Design decisions for default interface implementations
- Default interface implementations tutorial
- Generics (C# Programming Guide)
Memory, reference and value types
- Reference Types (C# Reference)
- Value Types (C# reference)
- Choosing Between Class and Struct
- Conversation about the .NET type system
- Technical details of the internal memory layout of types in .NET
- Garbage collection
- Finalizers (C# Programming Guide)
- Finalizers and disposing
- IDisposable interface:
Null and nullability
- The inventor of null, Sir Charles Antony Richard Hoare, admits his mistake in a recorded hour-long talk
- The tweet about achieving 80% annotations in .NET 5
- Video to learn how to get rid of null reference exceptions forever
- Nullable value types (C# reference)
- Nullable reference types
- Null-conditional operator
- Null-coalescing operator
Inheritance
Language design
Chapter 7 - Packaging and Distributing .NET Types
.NET versions
The official announcement links are useful because they describe the most important new features in each release.
- Announcing .NET 7
- Performance Improvements in .NET 7 | .NET Conf 2022
- Announcing .NET 6 — The Fastest .NET Yet
- .NET 5 announcement
- .NET 5.0 Runtime Highlights
- .NET Core 3.1 announcement
- .NET Core 3.0 announcement
- .NET Core 2.2 announcement
- .NET Core 2.0 announcement
- .NET Core 1.1 announcement
- .NET Core 1.0 announcement
.NET Standard
.NET API, packages and frameworks
- Search and browse all .NET APIs
- CoreFX README.md
- How packages and their APIs relate to frameworks
- Currently supported Runtime Identifier (RID) values
- System.IO.FileSystem package details
Roslyn, SDKs, and project templates
- Roslyn compiler
- .NET project SDKs
- global.json overview
- Additional
dotnet newtemplates - Tutorial: Create an item template
Packaging and publishing
- PDB files
- The PackageReference format
- NuGet packages
- Announcing NuGet 6.0
- .NET Core application publishing overview
- How to Deploy .NET apps to Raspberry Pi
- How to solve a circular reference using an interface
- Semantic versioning
Decompiling .NET
- Is it possible to “decompile” a Windows .exe? Or at least view the Assembly?
- IDA Freeware Download Page
Porting from .NET Framework to modern .NET
- Overview of porting from .NET Framework to .NET Core
- Upgrading from .NET Framework to .NET 7 | .NET Conf 2022
- What .NET Developers ought to know
- Introducing the .NET Upgrade Assistant Preview
- .NET Upgrade Assistant
- Discover cross-platform issues
- Amazon Porting Assistant for .NET
Preview features
Chapter 8 - Working with Common .NET Types
Working with numbers
- Numerics types
- The Half type
- nint and nuint types (C# reference)
- nint Struct
- Names for large numbers
Working with text and regular expressions
- String Class
- Regex Class
- .NET regular expressions
- Regular Expression Language – Quick Reference
- Unicode in regular expressions
- Using a regular expression to split a comma-separated string
- To specify a Unicode character, use
\ufollowed by four characters specifying the number of the character. For example,\u00c0is the À character
Collections
- Collections and Data Structures
- System.Collections Namespace)
- System.Collections.Concurrent Namespace
- What types should I use to pass collections in C#?
- On Abstractions and For-Each Performance in C#
Spans
Networking
Chapter 9 - Working with Files, Streams, and Serialization
File system, encoding, streams, and serialization
- File System and the Registry (C# Programming Guide)
- Character encoding in .NET
- How pipelines help with I/O performance
- Serialization (C#)
- Serializing to Files, TextWriters, and XmlWriters
JSON
- Newtonsoft Json.NET
- System.Text.Json APIs
- What’s next for System.Text.Json?
- What’s new in System.Text.Json in .NET 7
- Issues solved by the new JSON APIs, including JamesNK's comments
- How to migrate from Newtonsoft.Json to System.Text.Json
Chapter 10 - Working with Data Using Entity Framework Core
Legacy EF 6
EF Core
- EF Core documentation
- Announcing Entity Framework Core 7 RC2: JSON Columns
- New features in EF Core 7
- New features in EF Core 6
- New features in EF Core 5
- New features in Entity Framework Core 3.x
- Plans for Entity Framework Core 6.0 revealed as Microsoft admits it is unlikely to match Dapper for performance
- Entity Framework Community Standup - Performance Tuning an EF Core App
EF Core database providers
- EF Core database providers
- Devart database providers
- Document Database Providers for Entity Framework Core
SQLite
- Download SQLite
- SQL statements supported by SQLite
- Download SQLiteStudio
- Check the latest EF Core Sqlite NuGet package version
Microsoft SQL Server
- SQL Server downloads
- Use Visual Studio Code to create and run Transact-SQL scripts
- .NET Interactive with SQL!| .NET Notebooks in Visual Studio Code
EF Core models
- EF Core model conventions
- Data seeding
- Humanizer library
- Scaffolding
- Deep Dive into Many-to-Many: A Tour of EF Core 5.0
- Naming Conventions for Entity Framework Core Tables and Columns
- Table-per-concrete-type (TPC) inheritance mapping
- T4 goodness with Entity Framework Core 7 | .NET Conf 2022
EF Core querying and manipulating
Chapter 11 - Querying and Manipulating Data Using LINQ
LINQ concepts
LINQ providers
LINQ samples and tools
Chapter 12 - Introducing Web Development Using ASP.NET Core
.NET apps
.NET Content Management Systems
- Piranha CMS
- Umbraco CMS
- Optimizely Comtent Cloud (CMS 12)
- Orchard Core
- OSS Spotlight - Build websites with a modern ASP.NET Core CMS – Orchard Core
General web development
- Responsive Web Design with HTML5 and CSS - Third Edition
- Bootstrap
- WebSocket
- MessagePack
- WebAssembly
- TypeScript
- Content Delivery Network (CDN)
ASP.NET versions and features
The official announcement links are useful because they describe the most important new features in each release.
- State of ASP.NET Core | .NET Conf 2022
- ASP.NET Core 7.0 announcement
- ASP.NET Core 6.0 announcement
- ASP.NET Core 5.0 announcement
- Blazor WebAssembly announcement
- ASP.NET Core 3.1 announcement
- ASP.NET Core 3.0 announcement
- ASP.NET Core 2.2 announcement
- ASP.NET Core 2.1 announcement
- ASP.NET Core 2.0 announcement
- ASP.NET Core 1.1 announcement
- ASP.NET Core 1.0 announcement
Chapter 13 - Building Websites Using ASP.NET Core Razor Pages
ASP.NET Core
- ASP.NET Core fundamentals
- Static files in ASP.NET Core
- HttpContext class
- Kestrel web server
- ASP.NET Core hosting environments
- Free TLS/SSL certificates
Razor Pages and layouts
- Introducing the new Razor editor in Visual Studio 2022
- Introduction to Razor Pages in ASP.NET Core
- Razor syntax reference for ASP.NET Core
- Layout in ASP.NET Core
- Tag Helpers in ASP.NET Core
- ASP.NET Core Razor Pages with EF Core
- DbContext Lifetime, Configuration, and Initialization
- The
<partial>tag helper - Visual Studio Code Compact Folders feature
Endpoint routing
- Simple examples of Run, Map, and Use
- Automatically visualize your endpoints
- Configuring the HTTP pipeline with middleware
- DEEP DIVE: HOW IS THE ASP.NET CORE MIDDLEWARE PIPELINE BUILT?
Chapter 14 - Building Websites Using the Model-View-Controller Pattern
Setting up and configuring
- Overview of ASP.NET Core MVC
- Default configuration of web hosts
- Dependency injection for ASP.NET Core
- Configuring middleware
- Announcing YARP 1.0 Release
Controllers
- Handle requests with controllers in ASP.NET Core MVC
- Response caching
- Microsoft.AspNetCore.OutputCaching Namespace
- How cache busting using query strings works
Models
- Model Binding in ASP.NET Core
- Create your own model binders by implementing the IModelBinder interface
- Model validation
- Tutorial: Get started with EF Core in an ASP.NET MVC web app