Skip to content

#dotnet

40 posts tagged dotnet. All posts

  1. .NET & C#Introduction to ASP.NET: classic ASP.NET vs ASP.NET CoreWhat ASP.NET is, how classic ASP.NET on .NET Framework differs from ASP.NET Core, which programming models each offers, and a first minimal API to run.
  2. .NET & C#.NET Core overview: runtime, SDK, release cycle and app typesWhat .NET (formerly .NET Core) is made of, how releases and support work, how to build and publish an app, and which app types it supports.
  3. .NET & C#Newtonsoft.Json in C#: serialization, settings and LINQ to JSONSerialize and deserialize C# objects with Newtonsoft.Json, customise names and settings, query JSON with LINQ to JSON, and stream large files.
  4. .NET & C#Unit testing .NET code with NUnit: setup, assertions and test casesSet up an NUnit test project for .NET, write tests with Assert.That and [TestCase], and run them with dotnet test or Visual Studio.
  5. .NET & C#Entity Framework Core basics: models, DbContext and LINQ queriesHow Entity Framework Core maps C# classes to tables, with a runnable SQLite example of a DbContext, saving and querying data, and a note on migrations.
  6. .NET & C#Polyglot Notebooks review: sharing data between C# and F# cellsMy take on Polyglot Notebooks after writing a book with them, with an example that reads a CSV in C# and charts it in F# with Plotly.NET.
  7. .NET & C#Getting started with ASP.NET Core MVC: a first action and a data tableCreate an ASP.NET Core MVC app, add a controller action and a tag-helper link, render a list of objects as a table with Razor, and structure the project.
  8. .NET & C#Using Microsoft.Extensions.DependencyInjection, the built-in .NET DI containerHow the built-in .NET DI container works - registering services, the three lifetimes, scopes, keyed services, and the mistakes scope validation catches.
  9. .NET & C#ASP.NET Core authorization: roles, policies and custom handlersHow ASP.NET Core authorization works with roles, named policies, custom requirements and handlers, and resource-based checks through IAuthorizationService.
  10. .NET & C#Microsoft.Extensions.Configuration: providers, precedence and the options patternHow .NET configuration works: providers and their precedence, environment-specific files, environment variables, and binding sections to classes with IOptions.
  11. .NET & C#Caching in .NET with IMemoryCache, IDistributedCache and HybridCacheHow to cache data in .NET with IMemoryCache, IDistributedCache and Redis, and HybridCache, including expiration, size limits and tag-based invalidation.
  12. .NET & C#HTML and CSS basics: page structure and three ways to add stylesA short history of the Web, the structure of a minimal HTML document, and how to apply CSS with external stylesheets, style elements and inline styles.
  13. .NET & C#Serilog in .NET: structured logging with sinks, enrichers and filtersHow to set up Serilog for structured logging in .NET, covering message templates, enrichers, sinks, filters, and keeping logging cheap.
  14. .NET & C#AutoMapper in .NET: profiles, DI registration and custom mappingsHow to install AutoMapper, define mapping profiles, register it with ASP.NET Core dependency injection, and customise member mappings with ForMember.
  15. .NET & C#Dapper in .NET: run SQL and map the results to C# objectsUse Dapper to run SQL from C# and map rows to objects, with a runnable SQLite example covering queries, parameters, inserts and transactions.
  16. .NET & C#Hangfire in ASP.NET Core: background, delayed and recurring jobsSet up Hangfire in an ASP.NET Core app with SQL Server storage, then enqueue fire-and-forget, delayed and recurring jobs, configure retries, and secure the dashboard.
  17. .NET & C#ASP.NET Core authentication: schemes, handlers and a custom API key handlerHow ASP.NET Core authentication works (schemes, handlers, AuthenticateResult) and how to write and register a custom API key authentication handler.
  18. .NET & C#Introduction to C# and .NET: history, the dotnet CLI, and basic collectionsA short history of C# and .NET, the dotnet CLI commands you'll use daily, List, Dictionary and tuple examples, and how .NET compares with Java.
  19. GoIntroduction to Go: where it came from, the basics, and a first web serverA short history of Go, why teams pick it, and the basics: structs, arrays and slices, building a binary, a net/http server, and go doc.
  20. .NET & C#ASP.NET Core MVC overview: controllers, views, model binding and validationA short tour of ASP.NET Core MVC: how models, views and controllers fit together, with a working controller showing routing, model binding and validation.
  21. .NET & C#ASP.NET Core SignalR: pushing real-time updates from server to browserWhat ASP.NET Core SignalR does, how it picks a transport, and how to build a minimal chat hub with Program.cs and the @microsoft/signalr JavaScript client.
  22. .NET & C#Microsoft.Extensions.Logging: configuring providers, filters and structured logs in .NETHow Microsoft.Extensions.Logging works: ILogger, providers, category filters, appsettings config, message templates and the LoggerMessage generator.
  23. .NET & C#News alerts in C# with Google News RSS search feeds and DiscordA C# console app that polls Google News RSS search feeds for keywords, skips stories it has already seen, and posts new ones to a Discord webhook.
  24. .NET & C#Getting started with MudBlazor: Material Design components for BlazorAdd the MudBlazor component library to a Blazor app: install the package, register services and providers, and build an app bar with a toggleable drawer.
  25. .NET & C#Web scraping in C# with HttpClient and HtmlAgilityPackFetch a page with HttpClient and pull data out of the HTML with HtmlAgilityPack and XPath, with the null check and selector gotchas that trip people up.
  26. .NET & C#Configuring CORS in ASP.NET Core with Microsoft.AspNetCore.CorsHow CORS and preflight requests work, and how to set up CORS policies in ASP.NET Core with middleware, endpoint routing, and the [EnableCors] attribute.
  27. InvestingConscrap 2.0.0: scraping Yahoo Finance comments inside shadow roots with SeleniumWhat changed in conscrap 2.0.0: reading Yahoo Finance comments from shadow DOM with a JavaScript helper, the move to .NET 7, and publishing to NuGet from GitHub Actions.
  28. .NET & C#An IP address lookup API with ASP.NET Core minimal APIsA small ASP.NET Core minimal API that returns the server's public IP, looks up details for any IP address, and reports the caller's IP.
  29. JavaScript & webReact Navigation basics: stacks, params, tabs, deep links and transitionsSet up React Navigation 7 in a React Native app, pass params between screens, nest a stack in tabs, handle deep links and change screen transitions.
  30. .NET & C#Microsoft identity platform: Entra ID, MSAL and protecting an ASP.NET Core APIAn overview of the Microsoft identity platform (Entra ID, MSAL, External ID) and how to protect an ASP.NET Core API and call it with MSAL.NET.
  31. .NET & C#Charting Pokémon data with C# and Plotly.NET in Polyglot NotebooksLoading a Pokémon JSON dataset into a C# Polyglot Notebook and charting Pokémon per type, per type generation and per first letter with Plotly.NET.
  32. .NET & C#What .NET Standard is and when to target itWhat .NET Standard is, how its versions map to .NET Framework and .NET, and when to target netstandard2.0 instead of a .NET 5+ TFM today.
  33. .NET & C#Getting started with NLog in .NET: configuration, targets and ASP.NET CoreInstall NLog, write an NLog.config with file and console targets, log from C#, add layouts and filters, and plug NLog into ASP.NET Core logging.
  34. .NET & C#Swashbuckle in ASP.NET Core: OpenAPI docs and Swagger UI for your APIAdd Swashbuckle to an ASP.NET Core Web API to generate an OpenAPI document, include XML comments, and serve and customize Swagger UI.
  35. InvestingScrapping comments from Yahoo Finance using dotnet Part 2Explaining how I updated my conscrap project to handle comment formats from yahoo finance
  36. InvestingScrapping comments from Yahoo Finance using dotnetExplaining how conscrap project grabs comments from yahoo finance using selenium.
  37. .NET & C#Grabbing list of animes from my anime list using openapi and dotnetLeveraging openapi and scrapping the openapi schema from redoc, I can generate a dotnet client to grab my anime list.
  38. .NET & C#How to parse git commits using dotnetParsing git commits with dotnet
  39. JavaScript & webHow to use resolutions in package.jsonUsing resolutions in package.json
  40. .NET & C#Initial Thoughts after using dotnet interactiveMy Thoughts on what todo with jcenter/bintray going down.

© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)