|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/developing-and-distributing-nuget-packages/
课程评论:没有评论
**课程名称:** 开发和分发 NuGet 包 **课程概述:** 本课程将带您深入了解 NuGet,这是 Microsoft 支持的用于代码共享的机制。您将学习如何创建可重用代码,将其打包成 NuGet 包,以及如何使用 Visual Studio 中的 NuGet 包管理器来消费这些包。课程的核心在于教授您如何开发自己的 NuGet 包,并将其发布到 NuGet.org 与其他开发者共享。 **课程项目:** 您的课程项目将遵循一个简单的四步流程: 1. **开发与单元测试:** 构思一个 NuGet 包要解决的简单问题,编写相应的代码,并编写单元测试来验证代码的正确性和可维护性。 2. **本地打包与测试:** 在本地创建一个 NuGet 包,并通过设置本地 NuGet Feed 进行本地测试。解包 NuGet 包以确保文件结构正确。 3. **发布到 NuGet.org:** 在确认无误后,将您的 NuGet 包发布到 NuGet.org。 4. **分享您的 NuGet 包:** 提交您的 NuGet.org 包链接,并附上关于如何使用您的包的说明以及您在此过程中的体验分享。 **学习重点:** * 深入理解 NuGet 的概念和工作原理。 * 学习如何遵循 NuGet 的方法论来思考和开发。 * 掌握开发、测试、打包和发布 NuGet 包的全过程。 **鼓励:** * 关注讲师以获取最新课程信息。 * 与您的网络分享本课程。 * 在课程结束后提供您的宝贵反馈和评价。 **祝您学习愉快!**
NuGet is the Microsoft-supported mechanism for sharing code. It is a definition of how re-usable code is created for.NET projects and bundled into NuGet packages. It is a tool that helps you create a NuGet package. It is a platform where you can publish your NuGet packages to and share it with other developers. It is a package manager that is integrated with Visual Studio which you can use to consume these NuGet packages. How amazing is that!In this class you will learn how to develop your very own NuGet package and then publish it to NuGet org! Doesn't that sound exciting? You will learn what is NuGet in more depth, how to align your thinking when taking the NuGet approach and a lot more.ProjectYour class project is a simple 4-step process as outlined below.Develop & unit test - Think of a simple idea that your NuGet package will solve. Write some code for it and some unit tests to verify the accuracy of your code and make it maintainable for the future.Pack & test locally - Create a NuGet package locally and test it locally by setting up a local NuGet feed. Unpackage the NuGet to ensure your files are in there.Publish to NuGet org - Once confident, publish your NuGet package to NuGet org.Share the link with this class - Hooray! Now, share the link of your NuGet package with this class. When sharing your class project:Submit the link to your NuGet org package.Write about how to use your NuGet package.Write about your experience of the process.Watch the class project video for some ideas!Do follow my teacher profile to stay up-to-date on classes I post and please share this class with your network. And at the end of this class please do not forget to share your reviews about this class.Happy learning!