Microsoft hosted its premier fall developer event – Connect(); // 2016 in New York on November 16-17, and streamed it live and for free on Channel 9 to developers around the world. While we may be a little late in doing a recap, we wanted to take our time to go through these announcements before writing about what’s new and exciting for Developers in and outside Microsoft’s Developer Ecosystem.

What's New and Exciting in Microsoft's Open Dev Ecosystem

.NET Core 1.1

.NET Core 1.1 is the first new minor version of .NET Core - a cross-platform, open source, and modular .NET platform for creating modern .NET applications. Unlike the LTS (Long Term Support) version 1.0, .NET Core 1.1 is categorized as “Current” release. While LTS releases have a 3-year support period from the original release or 1 year from the next LTS release, the “Current” releases are only eligible for support as long as their parent LTS release or 3 months after the next “Current” release, whichever comes first. The two versions can safely be installed side-by-side, so that individual applications on the same machine can use either one.

The focus of this release was performance. The big news was that ASP.NET Core is now included in the TechEmpower web framework benchmarks, and is the fastest mainstream full stack framework in the Plaintext category.

Several new features were added to ASP.NET Core 1.1 as well:

  • With MVC filters, you can now apply middleware only to specific controllers or actions.
  • Two new middleware are included: URL rewriting and response caching.
  • Web Listener Server for Windows is available as an alternative to Kestrel. With it, you can take advantage of Windows specific features, such as Windows authentication, HTTP/2 over TLS, and others.
  • Compiling views during the publish process is now supported.

Entity Framework Core 1.1 now has built-in support for connection resiliency and SQL Server memory-optimized tables. Thanks to improved LINQ translation, the database engines can successfully execute more queries than before. New APIs were added for explicit loading, mapping to fields and a few other features.

MSBuild tooling for .NET Core became available in preview. This means that standard .csproj project files can be used instead of project.json. To better align the two formats, MSBuild now supports wildcard-based inclusion of files for folder based projects, and direct NuGet package references. A wizard for migrating project.json projects to .csproj is included as well.

Visual Studio 2017 Release Candidate

Visual Studio “15” now has its official name: Visual Studio 2017. You can now download Visual Studio 2017 Release Candidate and even use it in production with the exception of features marked as in preview, and are not yet supported.

The new version of Visual Studio comes with many productivity improvements:

  • better filtering and default suggestions in IntelliSense dialogs,
  • easier navigation with redesigned Find All References and Go To functionalities,
  • new Exception Helper dialog with more information and support for filtering exceptions by the assembly they originate from,
  • quick reattaching and filtering by process name in the Attach to Process dialog,
  • continuous running of tests and coverage information for individual code lines with Live Unit Testing (only available in Enterprise edition),
  • Figure 1: Live Unit Testing in action
  • additional code refactorings,
  • configurable code style, and more.

Better performance is also a high priority: Visual Studio 2017 starts faster, has shorter load times for solutions, and a faster, more componentized installer. To further speed-up initial loading of large solutions; lightweight solution loading can be enabled for them, which defers the full loading of projects to a later time when they are first needed.

Extensions can also largely affect the overall responsiveness of Visual Studio. The new performance-monitoring feature will now warn the user about extensions which slow down Visual Studio. Other improvements to extensions include:

  • batched installs and updates,
  • built-in roaming extension manager, and
  • support for extensions to detect missing dependencies and trigger their installation in Visual Studio.

A few other new features in Visual Studio 2017 that are also worth mentioning:

  • New versions of C# and Visual Basic provide many new language features, as described in my previous article for Dot Net Curry magazine.
  • A new Service Capabilities page is now the centralized location for adding cloud service dependencies to a project.
  • You can record tests for mobile applications using the new mobile test recorder and upload them directly to Xamarin Test Cloud.
  • A preview version of Visual Studio Tools for Unity 3 is now included in the installer. Among other improvements, it adds full syntax coloring and IntelliSense support for Unity event functions.

Visual Studio for Mac

The Visual Studio product family got a new member: Visual Studio for Mac. The preview is already available for download. The application is an evolved version of Xamarin Studio, more closely aligned to the Visual Studio experience on Windows. It supports development of Xamarin based mobile applications, and their cloud backends in .NET Core, using either C# or F#. It features the same Roslyn powered compiler, IntelliSense code completion and refactoring experience as Visual Studio. The same MSBuild project format allows for seamless sharing of projects between Visual Studio on Windows and Mac.

Mobile Development with Xamarin

The Xamarin team announced stable releases of several new tools.

Xamarin Inspector is an extension for Visual Studio and Xamarin Studio, which can attach to a running iOS, Android, Mac or WPF application. It provides a structured look into the current view of the attached application, without pausing its execution with a debugger. You can even modify its properties via a graphical user interface or by executing custom C# code in the application context.

Xamarin Workbooks is an editor and viewer for interactive documents, consisting of rich formatted documentation with live runnable code. This makes it very useful for creating and consuming learning materials, guides and teaching aids. A large selection of workbooks on different Microsoft technologies is already available for download.

Figure 2: C# 6 workbook in Xamarin Workbooks

Remoted iOS Simulator for Windows provides a convenient way for testing and debugging iOS applications from Visual Studio on Windows. Although the simulator still requires a connected Mac machine where the simulator is actually running, you can fully interact with it directly from Windows. It even provides full touchscreen support, including Apple Pencil simulation using a stylus – that is if you have a touchscreen connected to your Windows machine. The simulator does not support Apple Watch devices yet.

Xamarin Profiler is everything you would expect from a profiler for Xamarin based applications. Its three main views allow tracking of memory allocations and footprint, performance tracking with method execution sampling, and tracking of memory cycles that cannot be released and cause memory leaks.

Remoted iOS Simulator and Xamarin Profiler are only available to owners of Visual Studio Enterprise license.

The other large announcement was the preview of Visual Studio Mobile Center. It is the successor to HockeyApp and Xamarin Test Cloud, an integrated cloud service for the complete lifecycle of your mobile applications, providing a wide spectrum of functionalities:

  • continuous integration and release management,
  • automated testing on devices,
  • application distribution to your test users and enterprise users,
  • crash reporting and usage metrics,
  • backend services for authentication and data storage, with push notifications and more coming in the future.

It currently supports iOS and Android applications written in Objective-C, Swift, Java, Xamarin or Reactive Native. Support for UWP and Cordova applications has already been announced.

Xamarin Test Cloud itself was also improved. It already supported tests written in C# with Xamarin.UITest and in Ruby with Calabash. Now it also supports tests written in Java with Appium.

A stable release of Xamarin.Forms 2.3.3 became available, introducing two noteworthy new features:

  • With the help of native view declarations in XAML, you can now create a single declarative XAML file, using a different native view for each of the platforms without additional code. Even data binding to native views works as expected.
  • <contentpage.content>     <ios:uilabel text="{Binding NativeText}" view.horizontaloptions="Start"></ios:uilabel>     <androidwidget:textview text="{Binding NativeText}" x:arguments="{x:Static formsandroid:Forms.Context}"></androidwidget:textview>     <win:textblock text="Foo"></win:textblock> </contentpage.content>
  • Platform specifics are an alternative to custom renderers, when certain behaviors are required for a single platform only. You can consume them using fluent API or XAML.

Visual Studio Tools for Samsung’s Tizen

Tizen is Samsung’s Linux-based open source operating system, used in over 50 million of their devices: smart TVs, wearables, smartphones and IoT devices. At the event, Samsung announced its intention on collaborating with Microsoft to bring .NET Core to ARM devices, and add Tizen support to Xamarin.Forms.

The first preview of Visual Studio Tools for Tizen is already available. It provides an alternative to existing C and HTML 5 based programming models for Tizen. Currently only mobile application development is supported, but other types of devices will follow in the future. All the development is done in C# with.NET Core, Xamarin.Forms for the user interface, and wrappers for many native APIs to access device specific functionalities - everything with full IntelliSense support. Debugging takes advantage of device emulators, which are included in the download.

The official release is planned for 2017, when the .NET Core runtime will also ship to devices.

A Quick Recap

While a lot came out of Connect 2016 this year, here’s a quick recap of some major announcements made:

- Microsoft joins the Linux Foundation as a Platinum member

- Google joins the .NET Foundation

- Samsung releases Visual Studio Tools for Tizen

- Microsoft announces Visual Studio 2017

- Visual Studio 2017 will have cross-platform support

- Microsoft announces Visual Studio for Mac

- Microsoft announces Visual Studio Mobile Center

- Microsoft has the most contributors on GitHub

- SQL Server for Linux is now publicly available. SQL Server 2016 Service Pack 1 available.

- Azure Data Lake Analytics and Store

- Azure Functions and N-Series available now. First Cloud Bot-as-a-Service announced.

Conclusion:

Microsoft continues to offer a great set of benefits and tools for any developer, any app, and any platform. Since the first Connect(); event in 2014, Microsoft has been using it to announce many important development related releases. This year was no exception. From Visual Studio 2017 Release Candidate with “go-live license” and Visual Studio for Mac Preview to new Xamarin tooling and new .NET Core version, there was something of interest for any developer already working with Microsoft tools or technologies. At the same time, as Microsoft expands its focus from Windows to other platforms, these announcements have become increasingly interesting to developers who are not in Microsoft’s ecosystem yet.

The new Microsoft has showed that isn’t afraid of making big bets, and delivering on them. Wake up and Code!

from:http://www.dotnetcurry.com/dotnet/1325/microsoft-developer-what-is-new-connect-2016

What’s Brewing for .NET Developers的更多相关文章

  1. https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

    https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

  2. PHP开发调试环境配置(基于wampserver+Eclipse for PHP Developers )

    1 软件准 WampServer 下载地址:http://www.wampserver.com/en/#download-wrapper    我下的是 里面包含了搭建PHP必须的4个软件:   1. ...

  3. Eclipse IDE for Java EE Developers 与 Eclipse Classic(Eclipse Standard)区别

    Eclipse下载官网:http://www.eclipse.org/downloads/ 版本: 1.Eclipse classic(Eclipse Standard):Eclipse的标准版; 2 ...

  4. [引] Security tips for web developers

    Source :Security tips for web developers

  5. Eclipse IDE for C/C++ Developers安装配置详解

    Eclipse IDE for C/C++ Developers安装配置详解(转) 转自:http://hi.baidu.com/ltb6w/item/986532efd712460f570f1ddc ...

  6. Watch out for these 10 common pitfalls of experienced Java developers & architects--转

    原文地址:http://zeroturnaround.com/rebellabs/watch-out-for-these-10-common-pitfalls-of-experienced-java- ...

  7. Google Developers中国网站

    正于北京举办的谷歌开发者大会上,谷歌宣布,Google Developers中国网站 (developers.google.cn) 正式发布! 谷歌表示,Google Developers中国网站是特 ...

  8. 转:Busy Developers' Guide to HSSF and XSSF Features

    Busy Developers' Guide to Features Want to use HSSF and XSSF read and write spreadsheets in a hurry? ...

  9. eclipse ide for java ee developers 开发环境搭建(j2ee)

    转载自:http://www.iteye.com/topic/982182 真的是一片很不错的文章啊! 使用eclipse真的有年头了,相信java程序员没有不知道它的,最近在给团队中新来的应届生做指 ...

随机推荐

  1. Android OAuth认证

    OAuth认证 为了安全地访问在线服务,用户需要在服务上进行身份验证,即要提供他们的身份的证明.对于一个要访问第三方服务的程序来说,安全问题甚至更复杂.不仅仅是用户需要在访问服务前要进行身份验证,而且 ...

  2. OneNET麒麟座应用开发之三:获取温湿度数据

    对于大气环境监测来说温湿度也是重要的指标.原本计划使用SHT15来采集温湿度数据,不过在OneNET麒麟开发板上,我们发现已经集成有SHT20温湿度传感器,于是我们就使用它了.如下图的红框处: 我们还 ...

  3. 微信HTML5页面设计建议

    一个HTML5页面从提出到完成上线的流程:>   1.需求方.设计人员.H5实现人员三方共同讨论实现方案 2.设计人员出设计图 3.H5人员按设计图出H5页面 4.需求方评估已实现的H5页面后给 ...

  4. 自动化测试使用cookie跳过验证码

    准备工具: fiddler Python+selenium 安装fidder fidder官方下载地址 fidder首次安装需要设置才能抓取https参考如下 fidder设置抓取https 开始 1 ...

  5. python 全栈开发,Day2(in,while else,格式化输出,逻辑运算符,int与bool转换,编码)

    一.in的使用 in 操作符用于判断关键字是否存在于变量中 a = '男孩wusir' print('男孩' in a) 执行输出: True in是整体匹配,不会拆分匹配. a = '男孩wusir ...

  6. pika的阻塞式使用

    [root@cloudplatform ELK]# cat startIncHouTai.py import os # 杀掉内存中的进程 cmd='pgrep -f PutDataToKafkaInc ...

  7. Spring事务传播行为

    什么是事务传播行为 public void methodA(){ methodB(); //doSomething } @Transaction(Propagation=XXX) public voi ...

  8. [AH2017/HNOI2017]礼物

    题解: 水题 化简一波式子会发现就是个二次函数再加上一个常数 而只有常数中的-2sigma(xiyi)是随移动而变化的 所以只要o(1)求出二次函数最大值然后搞出sigma(xiyi)就可以了 这个东 ...

  9. 001 Spark的简介以及入门

    1.hadoop,spark,Flink的比较 MapReduce: 分布式的计算框架 -> Hive 问题: shuffle:大文件的排序+读写磁盘+网络传输 => 比较慢 只有两种执行 ...

  10. 外部函数/external

    定义在moodle/lib/externallib.php 概观 外部函数API允许您创建可由外部程序(如Web服务API)访问的完全参数化的方法. 外部函数位于externallib.php文件中. ...