roslyn c#脚本_使用ScriptCS和Roslyn的无项目脚本C#

roslyn c#脚本Glenn Block is working on something interesting that combines C#, NuGet, Roslyn (the new "compiler as a service") and his love of text editors and scripts. Now, with help from Justin Rusbat...
摘要由CSDN通过智能技术生成
roslyn c#脚本

roslyn c#脚本

ScriptCS inside of SublimeText2 with the ScriptCS package giving SyntaxHighlighting

Glenn Block is working on something interesting that combines C#, NuGet, Roslyn (the new "compiler as a service") and his love of text editors and scripts. Now, with help from Justin Rusbatch (@jrusbatch) and Filip Wojcieszyn (@filip_woj) they are having all kinds of fun...using C# as a scripting language.

Glenn Block正在研究一些有趣的东西,结合了C#,NuGet,Roslyn(新的“编译器即服务”)和他对文本编辑器和脚本的热爱。 现在,在Justin Rusbatch( @jrusbatch )和Filip Wojcieszyn( @filip_woj )的帮助下,他们可以享受各种乐趣……使用C#作为脚本语言。

Every few years someone tries to turn C# into a competent scripting world, myself included. Often this has included batch files and MacGyver magic, file associations and hacks. Clearly the .NET community wants something like this, but we are collectively still trying to figure out what it should look like. PowerShell aficionados - and I count myself amongst them - might look at such efforts as a threat or a pale reinvention of PowerShell, but the fact remains that C# at the command line, be it as a script or a REPL, is an attractive concept.

每隔几年,就会有人尝试将C#变成一个有能力的脚本世界,包括我自己在内。 通常其中包括批处理文件和MacGyver魔术,文件关联和黑客。 显然,.NET社区需要这样的东西,但是我们仍在集体努力弄清楚它的外观。 PowerShell爱好者-我认为自己是其中的一员-可能将此类工作视为对PowerShell的威胁或苍白的重新发明,但事实仍然是命令行中的C#(无论是作

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Learn how to build an interactive source code analytics system using Roslyn and JavaScript. This concise 150 page book will help you create and use practical code analysis tools utilizing the new features of Microsoft’s Roslyn compiler to understand the health of your code and identify parts of the code for refactoring. Source code is one of the biggest assets of a software company. However if not maintained well, it can become a big liability. As source code becomes larger. more complex and accessed via the cloud, maintaining code quality becomes even more challenging. The author provides straightforward tools and advice on how to manage code quality in this new environment. Roslyn exposes a set of APIs which allow developers to parse their C# and VB.NET code and drastically lower the barrier to entry for Meta programming in .NET. Roslyn has a dedicated set of APIs for creating custom refactoring for integrating with Visual Studio. This title will show readers how to use Roslyn along with industry standard JavaScript visualization APIs like HighCharts, D3.js etc to create a scalable and highly responsive source code analytics system. What You Will Learn Understand the Roslyn Syntax API Use Data Visualization techniques to assist code analysis process visually Code health monitoring matrices (from the standard of Code Query Language) Code mining techniques to identify design patterns used in source code Code forensics techniques to identify probable author of a given source code Techniques to identify duplicate/near duplicate code Who This Book is For .NET Software Developers and Architects Table of Contents Chapter 1: Meet Roslyn Syntax API Chapter 2: Code Quality Metrics Chapter 3: Design Quality Metrics Chapter 4: Code Performance Metrics Chapter 5: Code Mining Chapter 6: Code Forensics Chapter 7: Code Visualization

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值