Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

What are Global Tools in .NET Core?

41 views

Published on

Global tools are a feature of .NET Core SDK 2.1 you might have overlooked. It's the infrastructure for simple distribution and deployment of command line tools. The session starts with an overview of how to find, install and use existing tools. It covers how to simply develop your own tool and publish it for others. It concludes with upcoming changes to global tools in .NET Core 3.0.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

What are Global Tools in .NET Core?

  1. 1. 1 Kaj so globalna orodja v .NET Core? D a m i r A r h , R a z u m d . o . o . M i c r o s o f t M V P @ D a m i r A r h
  2. 2. 2 O čem bo govora? K a j s o g l o b a l n a o r o d j a ? K a k o j i h u p o r a b l j a t i ? K a k o n a p i s a t i s v o j e g a ? K a j p r i n a š a . N E T C o r e 3 . 0 ?
  3. 3. 3 Kaj so globalna orodja? K o n z o l n e a p l i k a c i j e N a m e n j e n e r a z v i j a l c e m P o d p o r a v . N E T C o r e S D K 2 . 1 + K o t g l o b a l n i p a k e t i N P M
  4. 4. 4 Kje jih najdem? N a v o l j o k o t p a k e t i N u G e t O b j a v l j e n i v g a l e r i j i N u G e t https://github.com/natemcmaster/dotnet-tools N a t e M c M a s t e r v z d r ž u j e n e u r a d n i s e z n a m Globalna orodja se izvajajo z vsemi vašimi pooblastili P O Z O R !
  5. 5. 5 Kaj je na voljo? d o t n e t - i g n o r e d o t n e t - s e r v e d o t n e t - c l e a n u p d o t n e t - w a r p d o t n e t - e c s d o t n e t - e b d o t n e t - l a m b d a
  6. 6. 6 D E M O U p o r a b a
  7. 7. 7 install uninstall update list U p r a v l j a n j e z „ d o t n e t t o o l “ Kako jih uporabim? P r e d p o g o j : . N E T C o r e S D K 2 . 1 + O b n a m e s t i t v i d o d a n a v p o t
  8. 8. 8 D E M O R a z v o j
  9. 9. 9 McMaster.Extensions.CommandLineUtils P r o c e s i r a n j e p a r a m e t r o v i z u k a z n e v r s t i c e Kako napišem svojega? K o n z o l n a a p l i k a c i j a v . N E T C o r e Označeni z atributi U k a z i i m p l e m e n t i r a n i k o t s a m o s t o j n i r a z r e d i
  10. 10. 10 D E M O O b j a v a
  11. 11. 11 PackAsTool K r e i r a n j e p a k e t a N u G e t Lokalna namestitev Te s t i r a n j e p a k e t a p r e d o b j a v o Kako ga objavim? Kreiranje PR za uvrstitev v neuradni seznam O b j a v a v g a l e r i j i N u G e t
  12. 12. 12 Kaj prinaša .NET Core 3.0? L o k a l n o n a m e š č a n j e o r o d i j S e z n a m o r o d i j s h r a n j e n v r e p o z i t o r i j u K o t l o k a l n i p a k e t i N P M
  13. 13. 13 D E M O P r i h o d n o s t
  14. 14. 14 Brez parametra „-g“ „ d o t n e t t o o l i n s t a l l “ ./.config/dotnet-tools.json „ d o t n e t n e w t o o l - m a n i f e s t “ Kako delujejo lokalna orodja? „ d o t n e t t o o l r u n “ „ d o t n e t t o o l r e s t o r e “
  15. 15. 15 Zakaj bi uporabljal globalna orodja? I n f r a s t r u k t u r a z a d i s t r i b u c i j o i n n a m e š č a n j e E n o s t a v e n r a z v o j L o k a l n a o r o d j a v . N E T C o r e 3 . 0
  16. 16. 16 http://bit.ly/DncGlobalTools . N E T C o r e G l o b a l To o l s http://bit.ly/GlobalToolsDocs . N E T C o r e G l o b a l To o l s o v e r v i e w Kje lahko izvem več? http://bit.ly/LocalToolsDocsPreview L o c a l To o l s E a r l y P r e v i e w D o c u m e n t a t i o n http://bit.ly/CmdLineUtilsDocs C o m m a n d L i n e U t i l s http://bit.ly/GlobalToolsList n a t e m c m a s t e r / d o t n e t - t o o l s
  17. 17. 17

×