The week in .NET - 1/12/2015
On.NET
Last week, we had Mads Torgersen on the show to talk about language design in general, and C# in particular. This week, we'll talk to Jonathan Chambers from the Unity 3D team about game engines, and using .NET to target iOS, Android, or even the Web. Please send me your questions ahead of time, or attend the show and ask them on the chat. Tune in on Thursday, at 10:00AM PST to view the show live!
Package of the week #1: JSON.NET 8
JSON.NET needs no introduction, as it is the recommended library to serialize and deserialize JSON in .NET. James Newton-King just released version 8.0 with lots of bug fixes, and great performance improvements. To improve perf on an already very fast library, James introduced new ways in which a JSON.NET user can avoid memory allocations. Instead of allocating new buffers as needed, the new code uses pools of buffers:
| IList<int> value; | |
| var serializer = new JsonSerializer(); | |
| using (var reader = new JsonTextReader(new StringReader(@"[1,2,3,4]"))) | |
| { | |
| // reader will get buffer from array pool | |
| reader.ArrayPool = JsonArrayPool.Instance; | |
| value = serializer.Deserialize<IList<int>>(reader); | |
| } |
The new feature is still somewhat experimental, and for now, you'll need to provide your own implementation of IArrayPool (a sample is provided on the announcement post). In future versions, there will be a built-in implementation.
Package of the week #2: Colorful.Console
Console applications are cool, but they can be even cooler with some added color. Colorful.Console is a drop-in replacement for System.Console that adds some new APIs that make it super-simple to write in color. But that's not all: it also contains a super-cool API that can transform text into ASCII art:
| FigletFont font = FigletFont.Load("chunky.flf"); | |
| Figlet figlet = new Figlet(font); | |
| Console.WriteLine(figlet.ToAscii("Belvedere"), ColorTranslator.FromHtml("#8AFFEF")); | |
| Console.WriteLine(figlet.ToAscii("ice"), ColorTranslator.FromHtml("#FAD6FF")); | |
| Console.WriteLine(figlet.ToAscii("cream."), ColorTranslator.FromHtml("#B8DBFF")); |
User group of the week: Adelaide .NET User Group
On Wednesday, January 13 in Adelaide (yep, in Australia), David Gardiner will present on IntelliTest and other .NET unit testing tools.
.NET
- In a great series of questions and answers, Sander shows how to package a .NET library using various compilation targets, including .NET Core
- Debugging and Profiling in Visual Studio 2015 by Manuel Meyer.
- Tony Sneed recounts his journey to open source in How open source changed my life.
- To base(), or not to base(), that is the question by Jon Skeet.
- Evolution of C# by Kunal Chowdhury.
- Functional Microservices, the .NET Rocks show with Rachel Reese.
ASP.NET
- Goodbye child actions, hello view components by Dave Paquette.
- Best practices for private config data and connection strings in configuration in ASP.NET and Azure by Scott Hanselman.
- Real time translated chat with ASP.NET, Microsoft Translator and IP Messaging by Devin Rader.
- Building APIs with MVC 6 and OAuth (video) by Filip Ekberg.
- How to take an ASP.NET MVC web site down for maintenance by Jon smith.
- Experiments with Entity Framework 7 and ASp.NET MVC 6 by Damien Bod.
F#
Great progress has been made to add .NET Core support to the Visual F# compiler. The compiler and F# Interactive now run on CoreCLR on Windows, OS X, and Linux, but there's still plenty of work left. To track the progress of the project and find ways to contribute, check out the status page on Github.
- Lean and Functional Programming, by Bryan Hunter.
- Visualizing F# Advent Calendar Contributors, by Pierre Irrmann.
- Reconciling Stack Traces with Computation Expressions, by Eirik Tsarpalis
- F# Presentations from CodeMash 2016, by Craig Stuntz
Check out F# Weekly for more great content from the F# community.
And this is it for this week!
Contribute to the week in .NET
As always, this weekly post couldn't exist without community contributions, and I'd like to thank all those who sent links and tips. You can participate too. Did you write a great blog post, or just read one? Do you want everyone to know about an amazing new contribution or a useful library? We'd love to hear from you, and feature your contributions on future posts:
- Send an email to beleroy at Microsoft,
- comment on this gist
- Leave us a pointer in the comments section below.
This week's post (and future posts) also contains news I first read on ASP.NET's community spotlight, on F# weekly, onASP.NET Weekly, on Dirk Strauss' The Daily Six Pack, and on Chris Alcock's The Morning Brew.
The week in .NET - 1/12/2015的更多相关文章
- work of weekend 12/12/2015~12/14/2015
part 组员 周末工作+今日工作 工作耗时/h 明日计划 工作耗时/h backup 冯晓云 try the backup plan:brower:rewrite bi ...
- Building Python 2.7.10 with Visual Studio 2010 or 2015 - Google Chrome
您的浏览器(Chrome 33) 需要更新.该浏览器有诸多安全漏洞,无法显示本网站的所有功能. 了解如何更新浏览器 × p-nand-q.com C++ Python Programming L ...
- Asp ose.Tota l for .NET 2015
How to license Aspose.Total for .NET products Add "License.cs" [C#] OR "License.vb&qu ...
- Aspose.Total for .NET 2015 - Unlimited License z
How to license Aspose.Total for .NET products Add "License.cs" [C#] OR "License.vb&qu ...
- 《Django By Example》第一章 中文 翻译 (个人学习,渣翻)
书籍出处:https://www.packtpub.com/web-development/django-example 原作者:Antonio Melé (译者注:本人目前在杭州某家互联网公司工作, ...
- 基于Adobe Flash平台的3D页游技术剖析
写在前面 从黑暗之光,佛本是道,大战神的有插件3D页游.再到如今的魔龙之戒. 足以证明,3D无插件正在引领页游技术的潮流. 目前,要做到3D引擎,有以下几个选择. 说到这里,我们发现.这些都不重要. ...
- Oracle简单常用的数据泵导出导入(expdp/impdp)命令举例(上)
<Oracle简单常用的数据泵导出导入(expdp/impdp)命令举例(上)> <Oracle简单常用的数据泵导出导入(expdp/impdp)命令举例(下)> 目的:指导项 ...
- highcharts
preparation Highcharts Highcharts是一个制作图表的纯Javascript类库,主要特性如下: 兼容性:兼容当今所有的浏览器,包括iPhone.IE和火狐等等: 对个人用 ...
- 18 行 JS 代码编一个倒时器
有时候在生活中,你需要一个JavaScript倒计时时钟,而不是一个末日装置设备.不管你是否有一次约会,销售.促销.或者游戏,你可以受益于使用原生JavaScript构建一个时钟,而不是拿到一个现成的 ...
随机推荐
- 初识android中的动画
动画效果可以大大提高界面的交互效果,因此,动画在移动开发中的应用场景较为普遍.掌握基本的动画效果在成熟的软件开发中不可或缺.除此之外,用户对于动画的接受程度远高于文字和图片,利用动画效果可以加深用户对 ...
- iOS __block 与 __weak
关于__block 与__weak http://stackoverflow.com/questions/19227982/using-block-and-weak 一下是一些区别的介绍 MRC: _ ...
- IOS开发基础知识--碎片38
1:FCUUID获取设备标识的运用 a:作者 githun地址 https://github.com/fabiocaccamo/FCUUID 因为里面还用到作者的另外一个类UICKeyChainSto ...
- ObjectAnimator属性动画应用demo
感谢慕课网--eclipse_xu 布局文件:activity_main.xml <FrameLayout xmlns:android="http://schemas.android. ...
- AFN3.0封装
总结了一下AFN3.0封装,也借鉴了其他人总结的,整理如下,希望多交流,互相进步 // // XJYSessionManager.h// // Created by XJY on 16/10/17. ...
- IOS开发之Bug--使用xib的自动布局和代码中修改遇到的bug
首先,在xib中约束了宽高22,但是需要代码动态重设,所以一开始如下设置,但是实际显示的仍然是22,而不是重设的值: 然后直接拿xib的将布局约束对象拖线重新通过代码重设约束值,虽然打印的结果宽高值是 ...
- 详细解读DialogFragment
原博客地址:http://www.cnblogs.com/tianzhijiexian/p/4161811.html 相信看这篇文章的人都应该知道android中的Dialog了吧,如果对于Dialo ...
- SE_homework1(第一部分)
题目:写一个能自动生成小学四则运算题目的命令行"软件",分别满足下列各种需求.下面这些需求都可以用命令行参数的形式来指定: a.)除了整数以外,还支持真分数的运算.(例如1 ...
- mysql的DATE_FORMAT用法
DATE_FORMAT(date,format) date 参数是合法的日期.format 规定日期/时间的输出格式. mysql的DATE_FORMAT用法 %a 缩写星期名 %b 缩写月名 %c ...
- Vim快捷键记录(工作中遇到)
一 移动类 1. 移动到文件首行 gg 2. 移动到文件末行 G 3. 移动到当前屏首行 H 4. 移动到当前屏末行 L 二 编辑类 1. 替换字符 r 2. 删除字符 x 3. 撤销编辑(还原被修改 ...