From the course: AI-Powered Development: GitHub Copilot in Visual Studio

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

PortChecker: The console version

PortChecker: The console version

- [Presenter] I started with the idea of building a small, developer-focused console tool. So I created this solution called DevUtil, and then I created a C# console application in Visual Studio to prototype in. Next, I asked Copilot Chat for ideas on what kind of dev tools would make for interesting demo. You can see that over here. Maybe something like new get helper or package inspectors or even a simple port scanner. So I got back an answer from Chat about NuGet Package Hygiene Analyzer, and it gave me some code. It told me I could drop this into my repository. And I thought, as part of this conversation, it also mentioned a simple port scanner, which sounded like a better idea. So that's what I went with. It's practical. Network diagnostics often matter when testing services. And it also makes for a compact visual demo that's easy to explain. Of course, there are professional tools that do this at scale, so this…

Contents