Reducing the size (as in area) of the graph generated by graphviz

In my experience using graphviz to render graphs of that size (~ 700 nodes), minimal trial-and-error adjustment to this combination of attribute settings–some structural, some purely aesthetic–for all three objects (graph, nodes, and edges) should do what you want: reduce the minimum separation between nodes, via ‘nodesep’; e.g., nodes[nodesep=0.75]; this will make your graph being … Read more

How to set aspnetcore_environment in publish file?

You could pass in the desired ASPNETCORE_ENVIRONMENT into the dotnet publish command as an argument using: /p:EnvironmentName=Staging e.g. dotnet publish /p:Configuration=Release /p:EnvironmentName=Staging This will generate out the web.config with the correct environment specified for your project: <environmentVariables> <environmentVariable name=”ASPNETCORE_ENVIRONMENT” value=”Staging” /> </environmentVariables>

Disable Maven central repository

Agreed. No direct downloads from external repositories should be allowed in your release builds. The specific answer to your question is the second part of my answer 🙂 Setup a repository manager I’d recommend setting up a local Maven repository manager. Good options are the following: Nexus Artifactory Archiva Reposilite All of these are capable … Read more

notepad++ user defined regions with folding

For version 6.5.5 and above: Under the menu “Language” there is a menuitem called “Define your language…“ In the tab “Folder & Default” is a group called “Folding in code” where you can enter an “Open”- and a “Close”-Keyword. For versions older than 6.5.5: Under the menu “View” there is a menuitem called “User-Defined Dialog…“ … Read more

How to override ASP.NET Core configuration array settings using environment variables

After looking at the configuration in the debugger I found the answer. Serilog__WriteTo__0__Args__path (All platforms) Serilog:WriteTo:0:Args:path (Windows) Serilog–WriteTo–0–Args–path (sourced From Azure Key Vault) Note: The Configuration in ASP.NET Core documentation now covers this. So I need to use the array index (zero-based) as if it were a name. Here is the screenshot of the debugger, … Read more

At what point does a config file become a programming language?

Very interesting questions! I tend to limit my config files to a very simple “key=value” format, because I fully agree with you that config files can very quickly become full-blown programs. For example, anyone who has ever tried to “configure” OpenSER knows the feeling you are talking about: it’s not configuration, it’s (painful) programming. When … Read more