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构建一个时钟,而不是拿到一个现成的 ...
随机推荐
- canvas绘制经典折线图(一)
最终效果图如下: 实现步骤如下:注-引用了jQuery HTML代码 <!doctype html> <html lang="en"> <head&g ...
- 轻松掌握:JavaScript组合模式
组合模式 组合模式:将一组对象组合成树形结构,并统一对待组合对象和叶对象,忽略它们之间的不同(因为叶对象也可以也可以包含叶对象而成为组合对象),组合模式中的对象只能是一对多的关系,不能出现多对一. 基 ...
- EF DI & MVC
The Repository Pattern with EF Code First & Dependency Injection in ASP.NET MVC3 Ray_Liang, 5 Ju ...
- 12-返回指针的函数&&指向函数的指针
前言 接下来我只讲指针的最常见用法,比如这一章的内容----返回指针的函数 与 指向函数的指针 一.返回指针的函数 指针也是C语言中的一种数据类型,因此一个函数的返回值肯定可以是指针类型的. 返回 ...
- Play Framework 完整实现一个APP(六)
需要为Blog添加 查看和发表评论的功能 1.创建查看功能 Application.java中添加 show() 方法 public static void show(Long id) { Post ...
- Oracle解锁,解决“ora00054:资源正忙”错误
Oracle解锁,解决“ora00054:资源正忙”错误 一.处理步骤:--1.获取被锁对象的session_idSELECT session_id FROM v$locked_object; --2 ...
- Symantec Backup Exec Agent For Linux防火墙问题
如果在Unix或Linux安装配置好了Symantec Backup Exec Agent For Linux,但是在Symantec Backup Exec服务端无法访问Symantec Backu ...
- Shell: test
基本格式:test expression expression为test命令构造的表达式.这里expression是test命令可以理解的任何有效表达式,该简化格式将是读者可能会踫见的最常用格式返回值 ...
- javascript-装饰者模式
装饰者模式笔记 在不改变原对象的基础上, 通过对其进行包装拓展(添加属性或方法)使原有对象可以满足用户的更复杂要求. 需求不是一成不变的,需求会不断改进,以增强用户体验 demo实例:对输入框添加fo ...
- 看懂Oracle执行计划
最近一直在跟Oracle打交道,从最初的一脸懵逼到现在的略有所知,也来总结一下自己最近所学,不定时更新ing- 一:什么是Oracle执行计划? 执行计划是一条查询语句在Oracle中的执行过程或访问 ...