Category: mini tools list

Fun with Moniker- naming assembly versions

I liked the way docker generates names for every container instance – it was a funny way to differentiate them. I was thinking  – what about nuget packages – or any other release  ?

I have discovered Moniker – https://github.com/alexmg/Moniker . Can be used as in docker – to generate different names at various runs. However, what I wanted is to make every release to have a funny name.

I have put in .NET Core local tools ( see https://youtu.be/iHLRBxi4S7c  and the blog post http://msprogrammer.serviciipeweb.ro/2020/06/08/net-core-local-tools/ ) and I have used from powershell ( see https://github.com/ignatandrei/NETCoreBlockly/ for the usage)

First, I have created a variable

if($result -eq 0){

$moniker = “$(dotnet moniker -s moby)-$dateToPrint”

}

else{

$moniker = “$(dotnet moniker -s moniker)-$dateToPrint”

}

then used this variable in the release notes

$releaseNotes += (“;BuildNumber $env:BUILD_BUILDNUMBER with name “+ $moniker)

and in assembly title

dotnet-property “**/*.csproj” AssemblyTitle:”NetCoreBlockly $moniker”

Then, in C# , I write in the console:

static string nameBlockly()

{

var ass = Assembly.GetExecutingAssembly();

var assName = ass.GetName();

var nameBlockly = assName.Name;

try

{

var title = ass.GetCustomAttribute<AssemblyTitleAttribute>();

nameBlockly = title?.Title ?? nameBlockly;

}

catch

{

//do nothing

}

return $”{nameBlockly} version:{assName.Version.ToString()}”;

}

If you want to see in action , you can:

  1. Look at the nuget release notes at https://www.nuget.org/packages/NetCore2Blockly/ ( see BuildNumber … with name
  2. See the change log https://github.com/ignatandrei/NETCoreBlockly/blob/master/changelog.md – every release has the name
  3. Install NetCoreBlockly  and see the name 

Generating outdated, licenses and thanks with .NET Core tools

Last time (http://msprogrammer.serviciipeweb.ro/2020/06/08/net-core-local-tools/) I have discussed about local tools . Now it is time to show something in practice, beside code coverage ( detailed http://msprogrammer.serviciipeweb.ro/2019/12/09/code-coveragepart-25/ and video https://youtu.be/JvahoA0WWms  ) ,

Let’ make something simple: generate outdated packages list, licenses and thanks.

I will use this packages

“dotnet-project-licenses”: {

“version”: “2.1.0”,

“commands”: [

“dotnet-project-licenses”

]

},

“dotnetthx”: {

“version”: “0.2.0”,

“commands”: [

“dotnet-thx”

]

},

“dotnet-depends”: {

“version”: “0.4.0”,

“commands”: [

“dotnet-depends”

]

},

“dotnet-outdated”: {

“version”: “2.11.0”,

“commands”: [

“dotnet-outdated”

]

}

And I will make a github action to run  to generate the outdated, licenses and thanks

name: .NET Core

on:

push:

branches: [ master ]

jobs:

build:

runs-on: windows-latest

steps:

– uses: actions/checkout@v2

– name: Setup .NET Core

uses: actions/setup-dotnet@v1

with:

dotnet-version: 3.1.101

– name: Install dependencies

run: |

        cd src

        cd NetCore2Blockly

        dotnet restore

        echo ‘done restore’

        dotnet tool restore –add-source https://myget.org/F/natemcmaster/api/v3/index.json

        dotnet dotnet-project-licenses  -j  -i .

        echo ‘done project licences’

        dotnet dotnet-thx > thanks.txt

        echo ‘done thanks’

        dotnet dotnet-outdated -o outdated.csv -of csv

        echo ‘done outdated’

        dotnet pwsh copyToRoot.ps1

        cd ..

        cd ..

        echo ‘back to source dir’

– name: test

run: echo done

– name: run commit

run: |

        git config –local user.email “action@github.com”

        git config –local user.name “GitHub Action”

        git add –all

        git status

        git commit -m “generate thanks, outdate, licences” -a –allow-empty

shell: cmd

– name: Push changes

uses: ad-m/github-push-action@master

with:

github_token: ${{ secrets.GITHUB_TOKEN }}

The powershell file that copies everything is here:

Move-Item .\licenses.json ..\..\licencesNetCore.json

Write-Host ‘copied licenses.json ‘

Move-Item .\outdated.csv ..\..\outdatedNetCore.csv

Write-Host ‘copied outdated.csv ‘

Move-Item .\thanks.txt ..\..\thanksNetCore.txt

Write-Host ‘copied thanks.txt ‘

And  you can see the result at

https://github.com/ignatandrei/NETCoreBlockly/blob/master/thanksNetCore.txt

https://github.com/ignatandrei/NETCoreBlockly/blob/master/outdatedNetCore.csv

https://github.com/ignatandrei/NETCoreBlockly/blob/master/licencesNetCore.json

You can find also a list of tools here: https://github.com/natemcmaster/dotnet-tools

.NET Core local tools

( Video at https://youtu.be/iHLRBxi4S7c )

.NET Core has the concept of “local tools”  – that means, tools for a solution / project. That is different from “global tools”  by the fact that you can have it registered for the solution in a \.config\dotnet-tools.json file. You can read about those at https://docs.microsoft.com/en-us/dotnet/core/tools/local-tools-how-to-use

But I want to show you my local tools. First , the json:

{

“version”: 1,

“isRoot”: true,

“tools”: {

“dotnet-property”: {

“version”: “1.0.0.11”,

“commands”: [

“dotnet-property”

]

},

“powershell”: {

“version”: “7.0.0”,

“commands”: [

“pwsh”

]

},

“xunit-cli”: {

“version”: “0.1.3”,

“commands”: [

“xunit”

]

},

“coverlet.console”: {

“version”: “1.7.0”,

“commands”: [

“coverlet”

]

},

“dotnet-reportgenerator-globaltool”: {

“version”: “4.5.0”,

“commands”: [

“reportgenerator”

]

},

“dotnet-aop”: {

“version”: “2020.2.17.1904”,

“commands”: [

“dotnet-aop”

]

},

“loxsmoke.mddox”: {

“version”: “0.5.1”,

“commands”: [

“mddox”

]

},

“dotnet-project-licenses”: {

“version”: “1.1.1”,

“commands”: [

“dotnet-project-licenses”

]

},

“dotnetthx”: {

“version”: “0.2.0”,

“commands”: [

“dotnet-thx”

]

},

“dotnet-depends”: {

“version”: “0.4.0”,

“commands”: [

“dotnet-depends”

]

},

“dotnet-outdated”: {

“version”: “2.10.0”,

“commands”: [

“dotnet-outdated”

]

}

}

}

Now, how I use for code coverage:

dotnet tool restore –add-source https://myget.org/F/natemcmaster/api/v3/index.json

pwsh ./setVersion.ps1

dotnet coverlet bin\$(buildConfiguration)\netcoreapp3.1\CLITests.dll –target “dotnet” –targetargs “test –no-build –configuration $(buildConfiguration)” –exclude ‘[*Test*]*’ –format opencover  –output $(Build.ArtifactStagingDirectory)\testResults\coverlet.xml

dotnet reportgenerator “-reports:$(Build.ArtifactStagingDirectory)\testResults\coverlet.xml” “-targetdir:$(Build.ArtifactStagingDirectory)\testResults” “-reporttypes:Cobertura;HtmlSummary;Badges;HtmlInline_AzurePipelines”

In this way I can have set version and running tests and see code coverage in Azure Devops: https://dev.azure.com/ignatandrei0674/WebAPI2CLI/_build?definitionId=7&_a=summary

( also, for code coverage, see video at  https://youtu.be/JvahoA0WWms  )

You can find also a list of tools here: https://github.com/natemcmaster/dotnet-tools

Tools List 2019

Browsers

  1. Chrome
  2. Firefox
  3. Edge
  4. IE

Chrome Addons

  1. Advanced REST client
  2. Angular state inspector
  3. Angular Tracer for View Updates
  4. Augury
  5. BehindTheOverlay
  6. Ceev – Linkedin Resume Generator
  7. Chrome Apps & Extensions Developer Tool
  8. Chrome Media Router
  9. draw.io Desktop
  10. Exploratory Testing Chrome Extension
  11. Export links of all extensions
  12. File Icon for GitHub and GitLab
  13. Google Voice Search Hotword (Beta)
  14. Hacker Tab
  15. iMacros for Chrome
  16. Image Checker
  17. Images ON/OFF
  18. JavaScript Errors Notifier
  19. JSONView
  20. Kingsquare HTML Validator
  21. Library Detector
  22. LinkedIn Sales Navigator
  23. Microformats
  24. Minimal New Tab
  25. OneNote Web Clipper
  26. OneTab
  27. Open SEO Stats(Formerly: PageRank Status)
  28. Postman
  29. Project Naptha
  30. Puppeteer Recorder
  31. Quick Language Switcher
  32. React Developer Tools
  33. Request Maker
  34. RescueTime for Chrome and Chrome OS
  35. Resolution Test
  36. REST Console
  37. SelectorGadget
  38. Selenium IDE
  39. Send to Kindle for Google Chrome
  40. Slim Lists for Trello
  41. Sourcegraph
  42. StayFocusd
  43. Tag Assistant (by Google)
  44. T-boards
  45. Text Mode
  46. TheWebMiner Sitemap Generator
  47. Timeline Support
  48. TLDR This – Free automatic text summary tool
  49. Trelabels for Trello
  50. Trellists: Trello Lists Master
  51. Trello
  52. Trello List Filter
  53. TrelloExport
  54. Web Developer Checklist
  55. Window Resizer

Communications

  1. FaceBook Messenger
  2. SMS
  3. WhatsApp
  4. mail.yahoo.com
  5. gmail.com
  6. Skype

Continuous Integration

  1. Azure pipeline , https://dev.azure.com
  2. dotnet property
  3. coverlet
  4. reportgenerator
  5. Powershell Core
  6. Bash

Decompilers

  1. DotPeek

Frameworks

  1. .Net Core
  2. Angular

Hardware

  1. Surface Book
  2. Samsung Android Phone

IDE

  1. Notepad++
  2. Notepad
  3. Visual Studio 2019
  4. Visual Studio Code
  5. SSMS for SqlServer

Newsletters

  1. Code Project Daily
  2. Code Project Daily Build
  3. Code Project WebDeveloper
  4. DNK Daily
  5. JSK Daily
  6. SqlServer Central
  7. R weekly

Organizer

  • rescue time

  • Trello – major projects
  • Todoist – shopping list

RemoteViewers

  • TeamViewer

  • RemoteDesktop

Visual Studio  Code Extensions

  1. aaron-bond.better-comments
  2. adamhartford.vscode-base64
  3. alefragnani.Bookmarks
  4. christian-kohler.npm-intellisense
  5. CoenraadS.bracket-pair-colorizer
  6. csholmq.excel-to-markdown-table
  7. dbaeumer.vscode-eslint
  8. donjayamanne.githistory
  9. DotJoshJohnson.xml
  10. eamodio.gitlens
  11. eg2.vscode-npm-script
  12. esbenp.prettier-vscode
  13. fernandoescolar.vscode-solution-explorer
  14. formulahendry.auto-close-tag
  15. formulahendry.auto-rename-tag
  16. ginfuru.ginfuru-better-solarized-dark-theme
  17. Gruntfuggly.todo-tree
  18. hbenl.vscode-test-explorer
  19. hoovercj.vscode-dimmer
  20. humao.rest-client
  21. ionutvmi.path-autocomplete
  22. joelday.docthis
  23. johnpapa.vscode-peacock
  24. karigari.chat
  25. k–kato.docomment
  26. L13RARY.l13-diff
  27. mhutchie.git-graph
  28. ms-azure-devops.azure-pipelines
  29. ms-azuretools.vscode-azurefunctions
  30. ms-azuretools.vscode-docker
  31. msjsdiag.debugger-for-chrome
  32. ms-mssql.mssql
  33. ms-vscode.azure-account
  34. ms-vscode.csharp
  35. ms-vscode.powershell
  36. ms-vscode.vscode-typescript-tslint-plugin
  37. ms-vscode.vs-keybindings
  38. ms-vscode-remote.remote-containers
  39. ms-vscode-remote.remote-ssh
  40. ms-vscode-remote.remote-ssh-edit
  41. ms-vscode-remote.remote-ssh-explorer
  42. ms-vscode-remote.remote-wsl
  43. ms-vscode-remote.vscode-remote-extensionpack
  44. ms-vsliveshare.vsliveshare
  45. ms-vsliveshare.vsliveshare-audio
  46. ms-vsliveshare.vsliveshare-pack
  47. ms-vsts.team
  48. oderwat.indent-rainbow
  49. quicktype.quicktype
  50. redhat.vscode-yaml
  51. sdras.night-owl
  52. Shan.code-settings-sync
  53. tomoki1207.pdf
  54. tomoyukim.vscode-mermaid-editor
  55. vscode-icons-team.vscode-icons
  56. wayou.vscode-todo-highlight
  57. yzane.markdown-pdf
  58. yzhang.markdown-all-in-one

Other

  1. Docker
  2. Powershell
  3. Snipping tool
  4. Chrome Bookmarks
  5. imdisk
  6. 7zip
  7. GitHub

For 2020 , please add your suggestions at ignatandrei+wqryx2iezg0j5govtkur . ( the domain is : boards.trello.com)

Chrome extensions in 2018

  1. BehindTheOverlay  –  removes the overlay popups
  2. Export all extensions –  exports the extension to a list like those
  3. Export for Trello – exports in CSV format
  4. FoxClocks – to see the hour around the world           
  5. Image Checker – to see if we should resize the image
  6. JSONView – to have a nice view of hson           
  7. New Tab Page for Trello –  for seeing all task fast
  8. OneTab – instead of Google bookmarks
  9. Project Naptha – to copy text from images
  10. Puppeteer Recorder – record for Chrome
  11. Quick Language Switcher – if some site requires english / french
  12. Text Mode  – to see without ads
  13. Timeline Support –  to have the browsing history on Windows 10
  14. Todoist: To-Do list and Task Manager  – for small tasks
  15. Trello – for adding fast to trello

Programmer Tools I use in 2017/2018

Development Languages / Frameworks

.NET Core

C# / F#

Javascript

Powershell

Angular

IDE

Visual Studio Code

Visual Studio Community Edition

SSMS

Powershell IDE

Visual Studio Addons

GhostDoc

Resharper

Visual Studio Code addons

Auto Close Tag

Auto Rename Tag

C#

Debugger For Chrome

TSLint

Visual Studio Keymap

Version Control

GitHub

Perforce

Mercurial

VSTS Online

Office

Excel

Word

Powerpoint

Reveal.js

Gliffy

Javascript Components

Jquery

Jquery UI

knockoutjs

Select2

jstree

Cordova

Electron

RxJS

Angular Components

Angular Material

angular-cli-ghpages

VMWare Clarity

.NET Components

SignalR

Roslyn

Benchmark.net

Servers

IIS

Jenkins

Nuget Gallery

Programmer Utilities

NuGet Package Explorer

Fiddler

Sysinternals ADSI

Postman

Selenium IDE

Reflector

WordPress

Windows Live Writer

Notepad ++

NuGetPackages

MediatR

structuremap

EntityFramework

nlog

Westwind.RazorHosting

iTextSharp-LGPL

ExporterWordExcelPDF

T4MVC

Swashbuckle.Core

NReco.VideoConverter

xunit

HtmlAgilityPack

Microsoft.AspNet.WebApi.Client

OneNoteOCR

NewtonsoftJSon

Database

Elastic search

Sql server

Mongodb

Reporting

Excel

PowerBI

KIbana

Other

Terminals – multiple Remote Desktop

VLC

AutoHotKey

TreeSizeFree

Camtasia

7zip

FreeCommander

Organizer

Todoist

Trello

Communications

Skype

Outlook

Slack

Yahoo

Gmail

Browsers

Chrome

Edge

InternetExplorer

Firefox

Sites Hosting

Azure

AppHarbor

Heroku

Chrome Addons

RemoveOverlay

TextMode on/off

FoxClocks

Silent Site Sound Blocker

Panic

Right Click New tab

Todoist

OneTab

Export for Trello

Programming Tools 2016

Those are my programming tools in 2016.  I do not put links- if you do not find them on google , please send me an email. Or comment here.

blog

Syntax Highliter
Windows live writer
WordPress

Communications

outlook
skype
Slack

Components

Angular
Asp.net mvc
Caliburn.Micro
Irony
Jquery
Jquery ui
jstree
knockoutjs
NPOI
Prism
Select 2
Selenium

Database

Elastic search
Mongodb
Sql server

NuGet

EntityFramework
ExporterWordExcelPDF
HtmlAgilityPack
iTextSharp-LGPL
MediatR
Microsoft.AspNet.WebApi.Client
nlog
NReco.VideoConverter
OneNoteOCR
structuremap
Swashbuckle.Core
T4MVC
Untiy
WebActivator
Westwind.RazorHosting
WinSCP
xunit

Presentations

powerpoint
reveal

ProgrammerUtilities

7zip
AutoHotkey
Excel
free commander
SysInternals ADSI
nugetpackage explorer
VS2015
WinMerge

RemoteUtilities

bginfo
keepass
terminals

Reporting

kibana
powerbi

ToDO Lists

coachme
Todoist
trello

VersionControl

git
mercurial
perforce

Easily install tools on new PC

I have a new PC and I wan to install all the technology tools that I work with.

I have installed IIS, Visual Studio and make all updates for VS.

Then – I want to have the other programmer tools that I need .

The simplest part is boxstarter and gist ( or onedrive or whatever let’s you put a text file on the web)

 

The gist is at

https://gist.github.com/ignatandrei/fd8601c4adf83f6b1186

(I will maintain with the new programs)

and the command ( from DOS ) is

START http://boxstarter.org/package/nr/url?https://gist.github.com/ignatandrei/fd8601c4adf83f6b1186

And all is set !

What are your favorite programs/installers ?

Andrei Ignat weekly software news(mostly .NET)

* indicates required

Please select all the ways you would like to hear from me:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.