Results 1 to 3 of 3

Thread: dotnet tools

  1. #1

    Thread Starter
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,684

    dotnet tools

    I'd like to know if developers here have learned how to write dotnet tools or have used available tools from NuGet (see list) were the majority focus on a handful of topics.

    Reason for asking, I'm writing up code samples to show what can be done with dotnet tools for the average developer.

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: dotnet tools

    Interesting - thanks for the links.

    Is this similar to Android namespaces where you can call on "external" code? It's been a while since I played with Android - I might be using wrong terminology here...

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  3. #3

    Thread Starter
    Karen Payne MVP kareninstructor's Avatar
    Join Date
    Jun 2008
    Location
    Oregon
    Posts
    6,684

    Re: dotnet tools

    Definition of dotnet tools "A .NET tool is a special NuGet package that contains a console application."

    Some predefined commands which run via a PowerShell window or command prompt

    dotnet new console -n "test-console"
    dotnet sln add .\test-console\test-console.csproj
    dotnet run --project .\test-console\test-console.csproj

    Or create your own e.g. this one is a simple one which calculates your age. In this case installed via NuGet with source here.

    Installed via PowerShell dotnet tool install --global myage --version 1.1.2

    Attachment 183521

    Perhaps there is a need to check if a table is in sync with a sequence?

    Name:  checkSequence.jpg
Views: 143
Size:  19.0 KB

    To get a list of global installed tools.

    dotnet tool list -g|--global

    Name:  toolList.jpg
Views: 139
Size:  11.4 KB

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width