Code Adventure

Code Adventure

Share

Every adventure begins with a quest, perhaps a desire to build a game, develop a website, or automate a tedious task.

Along the way, you'll encounter obstacles that test your problem-solving skills and push you to expand your knowledge.

09/30/2026

C # .NET: Building Clean Appointment Services with Enums & DTOs
Appointment Management System in ASP.NET Core 🚀

This code demonstrates how to:
✅ Create an AppointmentAppService
✅ Use Enums for Appointment Status & Recurring Types
✅ Convert enum values into user-friendly display names
✅ Populate ComboBoxItemDto lists dynamically
✅ Filter enum values based on business rules
✅ Keep application logic clean and reusable

A simple example of using Enums + DTOs + Application Services in a real-world .NET project. 💻

09/29/2026

Current side project
Follow me for more videos and codes: Code Adventure

09/28/2026

How do you create background jobs in .NET?

With Quartz it's just one interface implementation.

- Define a job class
- Register it with Quartz
- Quartz takes care of scheduling and ex*****on

It fully supports DI, so you can inject any services you need.

Jobs have a scoped lifetime, meaning you can inject a DbContext safely.

Once you start using Quartz, it’s hard to go back to other options (not that there aren't any).

I wrote an advanced guide for working with Quartz in .NET.
Follow me for more videos and codes: Code Adventure

09/28/2026

Started an article on customizing Visual Studio and while writing the article had to updated part of a utility which reads CurrentSettings.vssettings which changed from Visual Studio 2022 to 2026. I let ChatGPT handle the changes. I tested then reformatted the code.
Follow me for more videos and codes: Code Adventure

09/28/2026

ASP.NET Core Clean Architecture | Dashboard App Service in C #
ASP.NET Core Web API project using Clean Architecture and service-based design. In this video, I’m showing a DashBoardAppService with Dependency Injection, application services, and dashboard data handling in C #
Follow me for more videos and codes: Code Adventure

09/28/2026

Can you find what's wrong with this code snippet?

Example 2 is 43x faster at inserting 10,000 records into a database.

What causes such a huge performance difference?

The code between the two examples looks similar.

But if you understand how EF works under the hood, the answer should be obvious.

Every call to SaveChanges means a round-trip to the database.

In the first example, inserting each record means one call to the database.
Follow me for more videos and codes: Code Adventure

09/28/2026

Projects for Singleton article
Follow me for more videos and codes: Code Adventure

09/27/2026

ASP.NET Core: MenuAction Entity with EF Core Relationships | Clean Architecture
MenuAction entity in ASP.NET Core using Entity Framework Core. This model demonstrates primary key configuration, foreign key relationships, navigation properties, and active status management
Follow me for more videos and codes: Code Adventure

09/27/2026

When I need real-time functionality in my application, there's just one trusted solution:

→ SignalR

SignalR lets you add real-time functionality to your .NET apps.

And it works with any client application like React or Angular or plain JavaScript.

You create a SignalR Hub class. It's a central component in your application that manages client connections and messaging. Clients connect to the Hub to receive and send messages. This means the communication can be two-way.

SignalR abstracts away the transport mechanism from you. Usually this will be WebSockets, but it can fall back to Server-Sent Events or polling.
Follow me for more videos and codes: Code Adventure

09/26/2026

How to add a project reference by drag-n-drop in Microsoft Visual Studio solution explorer.

Example, add a reference for class project SpectreConsoleLibrary to ConsoleApp1.
Follow me for more videos and codes: Code Adventure

Want your school to be the top-listed School/college in Washington D.C.?
Click here to claim your Sponsored Listing.

Category

Telephone

Address


Washington D.C., DC
20001

Alerts

Be the first to know and let us send you an email when Code Adventure posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Subscribe

We will notify you when anything happens in Washington D.C..