In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
In order to solve the problem of how to prepare the development environment in the Newbe.Claptrap framework, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
The Newbe.Claptrap framework relies on some key basic components and optional auxiliary components. Let's introduce how to prepare a development environment.
Newbe.Claptrap is a distributed development framework for dealing with concurrency problems easily.
Necessary components
These components are components that must be installed for development using this framework.
Docker Desktop
Docker Desktop is the basis on which all of the following components run. Developers can download the version of the corresponding operating system and install it through the following link:
Https://www.docker.com/products/docker-desktop
After the installation is complete, you can verify the installation effect in the console using the following command:
PS C:\ Repos\ newbe\ Newbe.Claptrap.Docs\ src > docker-- versionDocker version 20.10.2, build 2291f61
Chinese mainland users need to configure an accelerated image for Docker Desktop. This will facilitate the installation of subsequent environments.
Dotnet SDK
This framework relies on net 5 SDK and runtime. Developers can download the latest SDK and follow the prompts to install it through the following link:
Https://dotnet.microsoft.com/download/dotnet/5.0
After the installation is complete, you can verify the installation effect in the console using the following command:
PS C:\ Repos\ newbe\ Newbe.Claptrap.Docs\ src > dotnet-- version5.0.103Tye
Tye is an auxiliary command line tool developed by Microsoft to simplify the development of distributed applications.
Developers can find the latest installation command line scripts in the following link:
Https://www.nuget.org/packages/Microsoft.Tye
After the installation is complete, you can verify the installation effect in the console using the following command:
PS C:\ Repos\ newbe\ Newbe.Claptrap.Docs\ src > tye-- version0.6.0-alpha.21070.5+a42e4463943e3136dbd1de38474d8d62b802797cDapr
Dapr is the cornerstone of Newbe.Claptrap operation. You can learn how the development environment is installed through the following official documentation:
Https://docs.dapr.io/getting-started/
Chinese users can also view the Chinese introduction through the following link:
Https://dapr-cn.gitee.io/getting-started/
After the installation is complete, you can verify the installation effect in the console using the following command:
PS C:\ Repos\ newbe\ Newbe.Claptrap.Docs\ src > dapr-- versionCLI version: 1.0.0Runtime version: 1.0.0 database
Newbe.Claptrap currently supports a variety of SQLite/Mysql/PostgreSQL/Mongodb databases.
Developers can select an application instance that has been deployed, or you can obtain the docker-compose.yml file used in the development of the project to deploy the database through the following link:
Https://github.com/newbe36524/Newbe.Claptrap/tree/master/src/Docker/Database
Optional component
These components are optional when developing with this framework. It is only needed when specific features are needed. However, we still recommend that developers install these components. This will help developers to understand the operation of the system more effectively.
Grafana
Grafana can display the monitoring data of the system in the form of charts, which is a very excellent open source solution.
Developers can use the docker-compose.yml provided in the following link to create an Grafana instance for this project:
Https://github.com/newbe36524/Newbe.Claptrap/tree/master/src/Docker/Monitor
Jaeger
Jaeger is a distributed link monitoring tool that can help developers learn more about the relationships and performance details between services.
Developers can use the docker-compose.yml provided in the following link to build a Jaeger instance for this project:
Https://github.com/newbe36524/Newbe.Claptrap/tree/master/src/Newbe.Claptrap.Template/HelloClaptrap
You can also find this docker-compose.yml file in the project template for this project. A detailed description of the project template is described in the next section.
Seq
Seq is an efficient distributed log management tool that can help developers collect and visualize logs from multiple applications.
Developers can use the docker-compose.yml provided in the following link to build a Seq instance for this project:
Https://github.com/newbe36524/Newbe.Claptrap/tree/master/src/Newbe.Claptrap.Template/HelloClaptrap
You can also find this docker-compose.yml file in the project template for this project. A detailed description of the project template is described in the next section.
This is the answer to the question about how to prepare the development environment in the Newbe.Claptrap framework. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.