VS 2013 Update 4, VS 2015 Preview, VS Community Editions : A lot of great news

wpid-Featured_Picture118-620x598

VS 2013 Update 4 and VS 2015 preview are available

What does it means ?

For the Tools

There is an android emulator !

Appache Cordova, Xamarin, Improvements to Blend, …

http://blogs.msdn.com/b/visualstudio/archive/2014/11/12/visual-studio-2015-preview-visual-studio-community-2013-visual-studio-2013-update-4-and-more.aspx

For .NET Framework

Core Framework is Open source and on Linux and OSX

https://github.com/dotnet/corefx

http://weblogs.asp.net/scottgu/announcing-open-source-of-net-core-framework-net-core-distribution-for-linux-osx-and-free-visual-studio-community-edition

.NET Foundation, RyuJIT, .NET CORE 5, .NET FX 4.6, C# 6, WPF, Reference source, NuGet, …

http://blogs.msdn.com/b/dotnet/archive/2014/11/12/announcing-net-2015-preview-a-new-era-for-net.aspx

.NET Foundation : new projects

http://www.dotnetfoundation.org/blog/announcing-new-governance-model-and-project-contributions-to-the-net-foundation

For ASP.NET

ASP.NET will work on Linux and OSX (and on Windows of course)

http://www.asp.net/vnext/overview/aspnet-vnext/aspnet-5-overview

An improved package manager for each project

Use of Roslyn

http://blogs.msdn.com/b/webdev/archive/2014/11/12/announcing-asp-net-features-in-visual-studio-2015-preview-and-vs2013-update-4.aspx

For Entity Framework

EF6.1.2 (Beta) and EF 7 (Preview):

http://blogs.msdn.com/b/adonet/archive/2014/11/12/visual-studio-2015-preview-and-entity-framework.aspx

Visual Studio Community

http://www.visualstudio.com/en-us/products/visual-studio-community-vs

It’s like the express editions but it’s not !
-> you can use plugins
-> it’s not platform specific : you can use this IDE to create ASP.NET or Winforms, as you want

More

http://www.hanselman.com/blog/PermaLink.aspx?guid=a1efdb27-1795-43a6-8d13-1f38f2b88eb6

http://blogs.msdn.com/b/somasegar/archive/2014/11/12/opening-up-visual-studio-and-net-to-every-developer-any-application-net-server-core-open-source-and-cross-platform-visual-studio-community-2013-and-preview-of-visual-studio-2015-and-net-2015.aspx

http://blogs.msdn.com/b/visualstudio/archive/2014/11/12/visual-studio-2015-preview-visual-studio-community-2013-visual-studio-2013-update-4-and-more.aspx

How to instantiate PrivateType of nested class

The PrivateType class is very handy when it comes to run unit tests on methods that are either private, either in an internal class.

The constructor signature is:


public PrivateType(
	string assemblyName,
	string typeName
)

You use it this way:


PrivateType t = new PrivateType("Myassembly", "Myassembly.MyNamespaces.MyInternalClass");

MyType result = t.InvokeStatic("MyMethod") as MyType ; // MyType  can be any object type

But when you are in the specific case of testing a method from an nested class of an internal class, there is a little trick

The TypeName argument of the PrivateType’s constructor is not (as we could imagine) “Myassembly.MyNamespaces.MyInternalClass.MyInnerClass” but “Myassembly.MyNamespaces.MyInternalClass+MyInnerClass” (notice the “+”)

So :


PrivateType t = new PrivateType("Myassembly", "Myassembly.MyNamespaces.MyInternalClass+MyInnerClass");

MyType result = t.InvokeStatic("MyMethod") as MyType ; // MyType  can be any object type

Help found thanks to :https://stackoverflow.com/questions/3200875/how-to-instantiate-privatetype-of-inner-private-class/22700890#22700890

Free Ebooks from Syncfusion

Syncfusion is offering a really nice collection of ebooks : the “Succintly” collection

What is really great is that they are covering most of popular technologies and that there is not too much to read : each book contains about 100 pages

Currently the collection is:

  • Localization for .NET Succinctly
  • MATLAB Succinctly
  • NHibernate Succinctly
  • PowerShell Succinctly
  • Android Programming Succinctly
  • Entity Framework Code First Succinctly
  • MongoDB Succinctly
  • R Succinctly
  • Neural Networks Using C# Succinctly
  • HDInsight Succinctly
  • LightSwitch Mobile Business Apps Succinctly
  • BI Solutions Using SSAS Tabular Model Succinctly
  • Twitter Bootstrap Succinctly
  • AngularJS Succinctly
  • Visual Studio 2013 Succinctly
  • Windows Phone 8 Development Succinctly
  • Node.js Succinctly
  • Direct3D Succinctly
  • SQL Server Analysis Services Succinctly
  • Assembly Language Succinctly
  • ASP.NET Web API Succinctly
  • Visual Studio Add-Ins Succinctly
  • Postgres Succinctly
  • Direct2D Succinctly
  • Windows Azure SQL Reporting Succinctly
  • Unit Testing Succinctly
  • TypeScript Succinctly
  • WPF Succinctly
  • iOS Succinctly
  • Windows Store Apps Succinctly
  • Data Structures Succinctly Part 2
  • GIS Succinctly
  • Data Structures Succinctly Part 1
  • Objective-C Succinctly
  • F# Succinctly
  • Knockout.js Succinctly
  • C++ Succinctly
  • ASP.NET MVC 4 Mobile Websites Succinctly
  • LightSwitch Succinctly
  • JavaScript Succinctly
  • HTTP Succinctly
  • PDF Succinctly
  • Git Succinctly
  • jQuery Succinctly

You can find them here : http://www.syncfusion.com/resources/techportal/ebooks