Karen Payne's Avatar

Karen Payne

@karenpaynemvp.bsky.social

Microsoft MVP, Developer advocate, drives sports cars

232 Followers  |  57 Following  |  47 Posts  |  Joined: 20.11.2023  |  1.8529

Latest posts by karenpaynemvp.bsky.social on Bluesky

Preview
ASP .NET Core Project details Introduction Learn how to read attributes from a project file using a class project that...

dev.to/karenpayneor...

09.11.2025 14:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
EF Core prototyping Introduction When designing a database schema, it's a good idea to load the development...

dev.to/karenpayneor...

02.10.2025 00:17 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Create C# nested files in Visual Studio Introduction Microsoft Visual Studio supports nested files, which are usually...

dev.to/karenpayneor...

23.08.2025 01:38 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
ChatGPT custom GPT and C# Introduction When displaying an image on a web page, it's recommended that the alt...

dev.to/karenpayneor...

12.08.2025 03:09 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
ASP .NET Core startup validation part 3 Introduction Learn how to use ValidateOnStart to assert that required directories exist...

dev.to/karenpayneor...

12.08.2025 03:04 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Visual Studio custom project templates Introduction Microsoft Visual Studio comes with many standard project templates, which...

dev.to/karenpayneor...

28.07.2025 19:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Get user secrets for projects Introduction Learn how to get all user secrets for a developer’s projects. There are two...

dev.to/karenpayneor...

22.07.2025 15:49 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Visual Studio shared user secrets Introduction Learn how to create common user secrets for desktop and web applications,...

dev.to/karenpayneor...

22.07.2025 15:48 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub Copilot: Use prompt files for Visual Studio Introduction With GitHub Copilot active in Microsoft Visual Studio, learn how to create...

dev.to/karenpayneor...

23.06.2025 01:35 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
VS2022 External tools in toolbar Introduction Microsoft Visual Studio provides a way to add external tools with options...

dev.to/karenpayneor...

07.06.2025 01:52 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Import specific properties from JSON Introduction Learn how to read a json string with known properties and remove unwanted...

dev.to/karenpayneor...

01.06.2025 22:34 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Using Copilot agent in Visual Studio Introduction The intent is to demonstrate working with GitHub Copilot agent mode in...

dev.to/karenpayneor...

26.05.2025 18:51 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

A great feature in ReSharper is prefix templates, which can eliminate tedious work.

dev.to/karenpayneor...

Here, the first prefix template sets up Serilog, while the second prefix configures EF Core.

Will make code available soon.

16.05.2025 11:53 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

GitHub Copilot agent in Visual Studio 2022, prompt to add Serilog to a project

Yes, this is a basic implementation. We can adjust the prompt for specific needs.

16.05.2025 11:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
EF Core seeding data Introduction Learn how to seed data with Microsoft EF Core 9 using UseSeeding and...

dev.to/karenpayneor...

30.04.2025 14:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
EF Core 9 mask data Introduction Learn how to use EF Core interceptors and value converters to mask data read...

dev.to/karenpayneor...

30.04.2025 14:38 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Video thumbnail

I felt the need to try Sora. To create this video, I took an image with a bear and a second image with me and another person. I am impressed with Sora.

14.04.2025 10:36 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Bootstrap 5 dialogs for ASP .NET Core/C# using ChatGPT Introduction Learn to use Bootstrap 5.3.4 modal dialogs effectively in ASP.NET Core Razor...

dev.to/karenpayneor...

06.04.2025 16:09 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

EF Core data seeding sample

github.com/karenpayneor...

04.04.2025 15:01 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

For ChatGPT, try using templates, the following is a simple starter.

George Washington's birthdate. <insert Year in MM-DD-YYYY FORMAT> and crossed the Delaware <insert year>'

04.04.2025 14:46 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
ef-code-8-samples/WebApplication1 at master Β· karenpayneoregon/ef-code-8-samples Various code sample for Entity Framework Core 8 and EF Core 9 - karenpayneoregon/ef-code-8-samples

Have you ever struggled using Bootstrap 5.x modals in ASP.NET Core projects?

If so, check out the ASP.NET Core NET9, Bootstrap 5.3.4 (new version), which demonstrates using standard code and one with a partial view that interacts with the C# backend.

github.com/karenpayneor...

04.04.2025 14:45 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Serilog filter log files by type Introduction Learn how to split log data using Serilog FilterExpression for any project...
10.02.2025 03:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
EF Core HasData Introduction Data seeding can be used to set initial data or for testing purposes. Learn...
02.02.2025 21:48 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Diverse AI tools used for the C# developer Introduction Learn to use multiple AI tools to solve problems and/or save time by allowing...
20.01.2025 14:51 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Rather than start coding, best to write out a plan.

14.01.2025 15:20 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

Are there developers who play guitar?

14.01.2025 15:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Working with interfaces Introduction In C#, interfaces are powerful for designing flexible and reusable code. An...
14.01.2025 15:08 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
C# Excel read/write on the cheap Introduction When working with Excel frequently while coding in C#, the smart direction is...
22.12.2024 22:05 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Curious if any developers play guitar to relax?
(or in my case get frequent police visits)

15.12.2024 01:36 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Snippets for Dapper and EF Core, SqlClient excluded.

Snippets for Dapper and EF Core, SqlClient excluded.

Spent time today preparing to write an article on reading json columns using EF Core (code used from a prior) article and then wrote read operations using both SqlClient data provider and Dapper. Keeping all code samples in one project can get messy if not careful.

15.12.2024 01:17 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@karenpaynemvp is following 19 prominent accounts