Microsoft Previews Tye Tool for Microservices Development in VS Code

Microsoft is previewing a new Visual Studio Code extension for working with the open source, experimental Tye project that's used for microservice and distributed application development.

Parked under the .NET Platform repo on GitHub, Tye is a .NET Foundation project designed to ease the development, testing and deployment of microservices and distributed applications. It includes a local orchestrator to make microservices development easier, along with the ability to simplify the deployment of microservices to Kubernetes, the popular container orchestration system.

The GitHub repo says Tye can:

  • Simplify microservices development by making it easy to:
    • Run many services with one command
    • Use dependencies in containers
    • Discover addresses of other services using simple conventions
  • Deploy .NET applications to Kubernetes by:
    • Automatically containerizing .NET applications
    • Generating Kubernetes manifests with minimal knowledge or configuration
    • Using the same conventions as development to keep it consistent

The new Tye extension in the VS Code Marketplace eases the process of running and debugging applications that use Tye from within the popular open source code editor. As the graphic below shows, the week-old tool has been installed 322 times as of this writing.

Tye VS Code Extension
[Click on image for larger view.] Tye VS Code Extension (source: Microsoft).

Specifically, "The VS Code extension makes it easier to initialize, run, view, and manage your Tye application from within VS Code." Microsoft said in a June 1 blog post.

For debugging, developers can debug all services in the project or just a subset. Alternatively, they can run a Tye app without debugging. They can attach the debugger to already running project-based services or to a single service.

Tye Debugging
[Click on image for larger view.] Tye Debugging (source: Microsoft).

"From the explorer, you can view the logs for any of your services, browse to services that have accessible endpoints, and even attach a debugger to any of the .NET services!" Microsoft said. "We have also included a link that lets you quickly navigate to the browser-based Tye dashboard that you may already know and love."

Microservices, of course, are tightly knit with cloud computing, and for many using the VS Code tool, that will mean Microsoft Azure. The Tye GitHub project indicates Tye supports Azure Functions and other cloud functionality.

"This is a continuation of the Tye experiment, where we are learning what the best cloud-native tooling experiences could be," Microsoft said.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

  • What's New for Python, Java in Visual Studio Code

    Microsoft announced March 2024 updates to its Python and Java extensions for Visual Studio Code, the open source-based, cross-platform code editor that has repeatedly been named the No. 1 tool in major development surveys.

Subscribe on YouTube