Skip to content
View davepcallan's full-sized avatar
Block or Report

Block or report davepcallan

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. Create schema and insert dummy data ... Create schema and insert dummy data into Stack Overflow clone
    1
    -- Create StackOverflow-like Database
    2
    CREATE DATABASE StackOverflowClone
    3
    
                  
    4
    GO
    5
    
                  
  2. Apply global query filters automatic... Apply global query filters automatically to all entities which implement an interface or have a particular property
    1
    
                  
    2
    public static void ApplyGlobalFilters<TInterface>(this ModelBuilder modelBuilder, 
    3
                                                      Expression<Func<TInterface, 
    4
                                                      bool>> expression)
    5
    {
  3. .NET 8 simple string concatenation b... .NET 8 simple string concatenation benchmarks
    1
    using BenchmarkDotNet.Attributes;
    2
    using BenchmarkDotNet.Columns;
    3
    using BenchmarkDotNet.Configs;
    4
    using BenchmarkDotNet.Jobs;
    5
    using BenchmarkDotNet.Reports;
  4. Simple example of integrating with C... Simple example of integrating with ChatGPT API from .NET
    1
    using Microsoft.Extensions.Configuration;
    2
    using Microsoft.Extensions.Logging;
    3
    using System.Text;
    4
    using System.Text.Json;
    5
    
                  
  5. Example of using .NET 8 IExceptionHa... Example of using .NET 8 IExceptionHandler to return 7807 ProblemDetails compliant response to client
    1
    using Microsoft.AspNetCore.Diagnostics;
    2
    using Microsoft.AspNetCore.Mvc;
    3
    using System.Net;
    4
    
                  
    5
    namespace Samples;
  6. .NET 8 FrozenDictionary v other Dict... .NET 8 FrozenDictionary v other Dictionary type benchmarks
    1
    using System.Collections.Generic;
    2
    using System;
    3
    using BenchmarkDotNet.Attributes;
    4
    using BenchmarkDotNet.Columns;
    5
    using BenchmarkDotNet.Configs;