---
title: "面向 .NET 开发者的以太坊"
description: "了解如何使用基于 .NET 的项目和工具进行以太坊开发"
lang: zh
incomplete: true
---

<FeaturedText>了解如何使用基于 .NET 的项目和工具进行以太坊开发</FeaturedText>

使用以太坊创建利用加密货币和区块链技术优势的去中心化应用（dapp）。这些 dapp 是值得信赖的，这意味着一旦它们被部署到以太坊上，它们将始终按程序运行。它们可以控制数字资产，从而创建新型的金融应用。它们可以是去中心化的，这意味着没有单一实体或个人控制它们，并且几乎不可能被审查。

在以太坊之上构建去中心化应用，并使用微软技术栈中的工具和语言与智能合约进行交互——支持 C#、Visual Basic .NET、F#，使用 VSCode 和 Visual Studio 等工具，跨越 .NET Framework/.NET Core/.NET Standard。使用微软 Azure 区块链在几分钟内部署一个 Azure 上的以太坊区块链。将对 .NET 的热爱带到以太坊！

## 智能合约与 Solidity 语言入门 {#getting-started-with-smart-contracts-and-the-solidity-language}

**迈出将 .NET 与以太坊集成的第一步**

需要先了解更基础的入门知识吗？请查看 [ethereum.org/learn](/learn/) 或 [ethereum.org/developers](/developers/)。

- [区块链解释](https://kauri.io/article/d55684513211466da7f8cc03987607d5/blockchain-explained)
- [理解智能合约](https://kauri.io/article/e4f66c6079e74a4a9b532148d3158188/ethereum-101-part-5-the-smart-contract)
- [编写你的第一个智能合约](https://kauri.io/article/124b7db1d0cf4f47b414f8b13c9d66e2/remix-ide-your-first-smart-contract)
- [学习如何编译和部署 Solidity](https://kauri.io/article/973c5f54c4434bb1b0160cff8c695369/understanding-smart-contract-compilation-and-deployment)

## 初学者参考资料与链接 {#beginner-references-and-links}

**Nethereum 库与 VS Code Solidity 简介**

- [Nethereum 入门](https://docs.nethereum.com/docs/getting-started/welcome/)
- [安装 VS Code Solidity](https://marketplace.visualstudio.com/items?itemName=JuanBlanco.solidity)
- [.NET 开发者创建和调用以太坊智能合约的工作流程](https://medium.com/coinmonks/a-net-developers-workflow-for-creating-and-calling-ethereum-smart-contracts-44714f191db2)
- [使用 Nethereum 集成智能合约](https://kauri.io/#collections/Getting%20Started/smart-contracts-integration-with-nethereum/#smart-contracts-integration-with-nethereumm)
- [使用 Nethereum 连接 .NET 和以太坊区块链智能合约](https://medium.com/my-blockchain-development-daily-journey/interfacing-net-and-ethereum-blockchain-smart-contracts-with-nethereum-2fa3729ac933)，另有[中文版](https://medium.com/my-blockchain-development-daily-journey/%E4%BD%BF%E7%94%A8nethereum%E9%80%A3%E6%8E%A5-net%E5%92%8C%E4%BB%A5%E5%A4%AA%E7%B6%B2%E5%8D%80%E5%A1%8A%E9%8F%88%E6%99%BA%E8%83%BD%E5%90%88%E7%B4%84-4a96d35ad1e1)
- [Nethereum：一个用于区块链的开源 .NET 集成库](https://kauri.io/#collections/a%20hackathon%20survival%20guide/nethereum-an-open-source-.net-integration-library/)
- [使用 Nethereum 将以太坊交易写入 SQL 数据库](https://medium.com/coinmonks/writing-ethereum-transactions-to-sql-database-using-nethereum-fd94e0e4fa36)
- [了解如何使用 C# 和 Visual Studio 轻松部署以太坊智能合约](https://koukia.ca/deploy-ethereum-smart-contracts-using-c-and-visualstudio-5be188ae928c)

**想暂时跳过设置，直接查看示例吗？**

- [Nethereum Playground](https://playground.nethereum.com/) - 通过浏览器与以太坊交互并学习如何使用 Nethereum。
  - [查询账户余额](https://docs.nethereum.com/docs/core-foundation/guide-query-balance)
  - [查询 ERC-20 智能合约余额](https://docs.nethereum.com/docs/smart-contracts/erc20)
  - [向账户转账以太币](https://docs.nethereum.com/docs/core-foundation/guide-send-eth)
  - ... 以及更多！
## 进阶文章 {#intermediate-articles}

- [Nethereum 入门与第一个项目](https://docs.nethereum.com/docs/getting-started/first-project)
- [部署你自己的开发测试链](https://github.com/Nethereum/Testchains)
- [使用 Nethereum 和 VS Code 生成代码](https://docs.nethereum.com/docs/smart-contracts/code-generation/)
- [Unity 与以太坊：原因与方法](https://www.raywenderlich.com/5509-unity-and-ethereum-why-and-how)
- [为以太坊去中心化应用 (dapp) 创建 ASP.NET Core Web API](https://tech-mint.com/blockchain/create-asp-net-core-web-api-for-ethereum-dapps/)
- [用于结构化链上应用的 Nethereum MUD 框架](https://docs.nethereum.com/docs/mud-framework/overview/)
- [Nethereum 区块链处理](https://docs.nethereum.com/docs/data-and-indexing/guide-blockchain-processing)
- [Nethereum 实时流处理](https://docs.nethereum.com/docs/core-foundation/guide-realtime-streaming/)
- [Kaleido 与 Nethereum](https://kaleido.io/kaleido-and-nethereum/)
- [Quorum 与 Nethereum](https://github.com/Nethereum/Nethereum/blob/master/src/Nethereum.Quorum/README.md)
## 高级使用模式 {#advanced-use-patterns}

- [Azure Key Vault 与 Nethereum](https://github.com/Azure-Samples/bc-community-samples/tree/master/akv-nethereum)
- [Nethereum.DappHybrid](https://github.com/Nethereum/Nethereum.DappHybrid)
- [Ujo Nethereum 后端参考架构](https://github.com/Nethereum/ujo-backend)
## .NET 项目、工具及其他有趣内容 {#dot-net-projects-tools-and-other-fun-stuff}

- [Nethereum Playground](https://playground.nethereum.com/) - _在浏览器中编译、创建和运行 Nethereum 代码片段_
- [Nethereum Codegen Blazor](https://github.com/Nethereum/Nethereum.CodeGen.Blazor) - _带有 Blazor 用户界面的 Nethereum 代码生成器_
- [Nethereum Blazor](https://github.com/Nethereum/NethereumBlazor) - _一个 .NET Wasm SPA 轻量级区块链浏览器和简单钱包_
- [Wonka 业务规则引擎](https://github.com/Nethereum/Wonka) - _一个本质上由元数据驱动的业务规则引擎（适用于 .NET 平台和以太坊平台）_
- [奈瑟曼德](https://github.com/NethermindEth/nethermind) - _适用于 Linux、Windows 和 MacOS 的 .NET Core 以太坊客户端_
- [eth-utils](https://github.com/ethereum/eth-utils/) - _用于处理以太坊相关代码库的实用函数_
- [TestChains](https://github.com/Nethereum/TestChains) - _预先配置的 .NET 开发链，用于快速响应（权威证明 (PoA)）_

寻找更多资源？请查看 [ethereum.org/developers](/developers/)。
## .NET 社区贡献者 {#dot-net-community-contributors}

在 Nethereum，我们主要在 [Gitter](https://gitter.im/Nethereum/Nethereum) 上交流，欢迎大家在这里提问/回答问题、获取帮助，或者只是闲聊。欢迎在 [Nethereum GitHub 仓库](https://github.com/Nethereum)提交 PR 或提出问题（issue），或者浏览我们众多的周边/示例项目。你也可以在 [Discord](https://discord.gg/jQPrR58FxX) 上找到我们！

如果你是奈瑟曼德的新手并需要入门帮助，请加入我们的 [Discord](https://discord.gg/PaCMRFdvWT)。我们的开发者随时准备回答你的问题。请随时在[奈瑟曼德 GitHub 仓库](https://github.com/NethermindEth/nethermind)提交 PR 或提出任何问题（issue）。

## 其他汇总列表 {#other-aggregated-lists}

[Nethereum 官方网站](https://nethereum.com/)  
[奈瑟曼德官方网站](https://nethermind.io/)
