Turn2Jesus2
Turn2Jesus2
CC#
Created by capslo on 4/28/2025 in #help
Logging System Design Advice for .NET CQRS Modular Monolith
Sometimes, we set it to a different string.
14 replies
CC#
Created by capslo on 4/28/2025 in #help
Logging System Design Advice for .NET CQRS Modular Monolith
Sometimes, we use the nameof(class the code is in) as the logger so we can just search for that namespace and find the code.
14 replies
CC#
Created by capslo on 4/28/2025 in #help
Logging System Design Advice for .NET CQRS Modular Monolith
So your configuration can be on where you want your logs to go (e.g., TSQL, filesystem, Alloy, whatever) and you can also have loggers that use that configuration so that in all of those places you also have the logger information as to where it originated.
14 replies
CC#
Created by capslo on 4/28/2025 in #help
Logging System Design Advice for .NET CQRS Modular Monolith
Also, you control the loggers. You can have a single logger for an application and you provide access and every code piece uses that one logger. Or, each class in your application can have its own logger and you will be able to see the distinctions in the logs. You can filter down exactly to which logger is logging what. Sometimes we have one logger for the whole application, sometimes we have individual loggers we care to zoom in on and filter out the rest.
14 replies
CC#
Created by capslo on 4/28/2025 in #help
Logging System Design Advice for .NET CQRS Modular Monolith
First, I'm not sure I understand your question. Have you considered Log4Net? We use it extensively. It supports both .NET Framework and .NET. It has multiple configuration options and you can write your own adapter. We have some configurations that simultaneously have a rotating log to the disk, that gets picked up by Alloy and fed into Grafana for an amazing log and dashboard experience. It also logs to our TSQL database and to the console. My point is that you use one interface and it gets logged in many ways of your choosing in a customizable format for each adapter.
14 replies
CC#
Created by Turn2Jesus2 on 4/25/2025 in #help
How do I get webpack to integrate with cshtml files?
No, but they recommended it as an alternative
10 replies
CC#
Created by Turn2Jesus2 on 4/25/2025 in #help
How do I get webpack to integrate with cshtml files?
I'm moving to it because I was under the impression that was the thing to do from Microsoft
10 replies
CC#
Created by Turn2Jesus2 on 4/25/2025 in #help
How do I get webpack to integrate with cshtml files?
Oh, really?
10 replies
CC#
Created by Turn2Jesus2 on 4/25/2025 in #help
How do I get webpack to integrate with cshtml files?
Is there a chatroom for webpack besides gitter? that appears to be dead.
10 replies
CC#
Created by Sk on 2/23/2024 in #help
Best place to find open source Web API projects?
10 replies
CC#
Created by Sk on 2/23/2024 in #help
Best place to find open source Web API projects?
Folder 25 has a Web API section
10 replies
CC#
Created by Sk on 2/23/2024 in #help
Best place to find open source Web API projects?
This is the associated github link: https://github.com/Harsha-Global/AspNetCore-Harsha
10 replies
CC#
Created by Sk on 2/23/2024 in #help
Best place to find open source Web API projects?
While there is a bit of an accent, he's an EXCELLENT teacher and I have found his approach to be maximally helpful in learning.
10 replies
CC#
Created by Sk on 2/23/2024 in #help
Best place to find open source Web API projects?
10 replies
CC#
Created by Sk on 2/23/2024 in #help
Best place to find open source Web API projects?
As far as an example repo, you're exactly right! there ought to be one! And usually the udemy courses have these repos for you to reference.
10 replies
CC#
Created by Sk on 2/23/2024 in #help
Best place to find open source Web API projects?
What you're asking for is perfect! Seeing a worked example is the fastest way to learn, especially if there are copious notes as to why certain decisions were made. I recommend a course on Udemy.com for this
10 replies
CC#
Created by Turn2Jesus2 on 4/17/2025 in #help
How should I include 3rd-party JavaScript Libraries in my ASP.NET Framework SDK-style project?
Is there a reference project that integrates these tools together? Preferably according to best practices.
36 replies
CC#
Created by Turn2Jesus2 on 4/17/2025 in #help
How should I include 3rd-party JavaScript Libraries in my ASP.NET Framework SDK-style project?
I wrote a ton of bundling code for .NET framework. If it's the same thing, then I'll probably try to port that. But when I did my research, that wasn't available in .NET core
36 replies
CC#
Created by Turn2Jesus2 on 4/17/2025 in #help
How should I include 3rd-party JavaScript Libraries in my ASP.NET Framework SDK-style project?
ASP.NET Core has a bundler finally?
36 replies
CC#
Created by Turn2Jesus2 on 4/17/2025 in #help
How should I include 3rd-party JavaScript Libraries in my ASP.NET Framework SDK-style project?
So there's the "I want to get a specific version of a javascript library installed locally on my website" and then there's "I've got a lot of JS files that need to go to the client." Does grunt handle both, or just the bundling aspect?
36 replies