Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between .Net Full framework and the .Net Core Framework 4.5 used by K runtime?

I've seen videos introducing ASP.NET vNext and been keeping up with the recent announcement blog posts, but detailed information on what's been stripped from the full framework appears slim. Here's what I think I know so far:

  • It's much smaller (11MB vs >200MB): http://davidzych.com/2014/05/24/getting-started-with-asp-net-vnext/
  • Strong naming is gone: http://jeremydmiller.com/2014/06/09/final-thoughts-on-nuget/
  • It's dumped System.Web
  • It includes a merged MVC and WebAPI (however I don't believe this is part of the framework itself but rather dependencies that can be specified)
  • Dependencies are completely managed through project.json, to the extent that the base

Are we basically looking at a framework that basically includes nothing more than what's in mscorlib in the full framework, with all else delivered via package management? And if this is the case, why would one need to target the framework specifically, as described here? http://blogs.msdn.com/b/webdev/archive/2014/06/17/dependency-injection-in-asp-net-vnext.aspx

like image 511
Emil Lerch Avatar asked Jun 20 '14 21:06

Emil Lerch


People also ask

What is the difference between .NET Framework and .NET Core?

Net Core does not support desktop application development and it rather focuses on the web, windows mobile, and windows store. . Net Framework is used for the development of both desktop and web applications as well as it supports windows forms and WPF applications.

Which is better .NET Core or .NET Framework?

NET Core is better suited for cross-platform needs. . NET Core apps are supported on Windows, Linux, and macOS. Microsoft's popular open-source code editor, Visual Studio Code, is supported on Windows, Linux, and macOS. VS Code supports the modern needs of code editors including IntelliSense and debugging.

What is .NET Core runtime used for?

The runtime is designed to support multiple programming languages. C#, F#, and Visual Basic languages are supported by Microsoft and are designed in collaboration with the community. C# is a modern, object-oriented, and type-safe programming language.


1 Answers

The reason they specifically target NET45 in the link you supplied is because AutoFac is built for and has a dependency on .NET 4.5. Without NET45 the code wouldn't compile.

My assumption is that once vNext gets closer and closer to release the Autofac (and StructureMap, and Castle Windsor, and ...) will release a version that targets the cloud optimized framework to remove the dependency.

like image 105
Dave Zych Avatar answered Oct 21 '22 09:10

Dave Zych