Skip to content

kotvytskyi/discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discovery

The library builds a .NET services dependencies graph based on the ports specified in the config files.

Usage

func main() {
  frameworkDiscoverer := dotnet.FrameworkDiscoverer{}
  coreDiscoverer := dotnet.CoreDiscoverer{}

  result, err := discovery.Discover(`C:\Path\To\Solutions\Folder`, []discovery.IDiscoverer{
    frameworkDiscoverer,
    coreDiscoverer,
  })
}

Output structure

type ServiceInfo struct {
	Name         string
	Port         int
	Dependencies []ServiceInfo
}

Application

The library was build to visualize dependencies between services on the local machine. The sample app under /app directory produces the following HTML image

About

It builds a .NET services dependencies graph

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors