Karen Payne's repositories
code-samples-csharp
Contains an ongoing collections of various code samples for C#
ef-core-order-by
Provides language extensions for order by using string value
MicrosoftConnectionDialog
Microsoft data connection wizards at runtime
wpf-cs-efcore-simple
Simple example for loading a DataGrid from Entity Framework Core 3x with buttons to obtain the current model instance, in this case an employee from a SQL-Server database table.
ef-core-enums
EF Core using enums
MasterDetailsSqlServerNorthWind
Demonstrates master-detail relations for SQL-Server using C#
serilog-ef-core-basics
logging with Serilog for regular logging and custom class for EF Core logging
task-dialog-page-vb
New ways to present options to users via TaskDialogPage
banned-api-analyzers
Working with Microsoft.CodeAnalysis.BannedApiAnalyzers
sqlserver-connection-timeout
Code sample which sets a timeout on a SqlConnection which constrains opening a connection to a four second time period which is adjustable.
command-line-samples
Code sample for working with command line arguments for console and dotnet tool projects
csharp-smo-basics
Basic SMO operations
dynamic-property-value
Microsoft TechNet article source
efcore-shadow-properties
Example for Entity Framework Core shadow properties
language-extensions-2023
C# Language extensions for DEV article
razor-pages-checkboxes
Razor pages created checkboxes which are accessible using aria attributes
resharper-templates
Examples for writing Source Templates for ReSharper
ScaffoldDbContextHelper
home-brewed solution to build scaffolding scripts. If using SQL-Server use EF-Power Tools Visual Studio extension
sweetalert-samples
using sweetalert2 dialogs with Razor Pages
Templating-dotnet
Custom dotnet templating
razor-pages-style-isolation
Implement CSS Isolation in Razor Pages
BroadcastWinForms
Windows forms, form to form communication
ChinookDatabase
Chinook is a sample database available for SQL Server, Oracle, MySQL, etc. It can be created by running a single SQL script.
deconstructing-samples
Basic to advance Deconstruct code samples
json-schemas
Sample appsetting.json custom schema
solutions-from-forums
Various code samples for C#
web-accessibility-1
tips and techniques to assist in making web sites/applications accessible for WCAG
web-hot-keys
Code sample to show how to set hot keys in a web project
web-samples
Web code samples