Skip to content

2. Project structure

Chingiz Olzhabaev edited this page Jun 14, 2024 · 1 revision

Project structure

|- source
    |- Diol
        |- src
            |- core
            |- share
            |- wpf.core
            |- applications
                |- ConsoleClient
                |- SignalrClient
                |- VsExtenstion
        |- tests
            |- units
            |- functional
            |- integrations
                |- PlaygroundApi
|- cicd (for future)

Core functionality

Share - a project for all DTO and consts (.net standard)

Core - a project for all logs processing logic

Wpf.Core - a project for wpf/ui related logic

Applications

In the repo you can find several applications.

Console client

This is an example how to read logs outside of a process in realtime.

You can use it as a reference to build your own solution.

Signalr client

This is the SignalR project. You can subscribe from your app to the hub and receive all required logs and make a really good UX.

Tests

Unit tests

Coming soon...

Functional tests

Coming soon...

Integration tests

Playground api

This is an example of general asp.net core api app with different scenarios of logs generation:

  • Http call with default client
  • Http call with named client
  • Multiple calls
  • etc.

You can use this app as an example how to setup consumer app (appsettings.json and startup.cs files.)