I need a complete guide on image processing and optimization - asp.net-core-2.0

I need a complete guide on image processing and optimization with .Net Core 2.. I tried to use ImageSharp, CoreCompat.System.Drawing, SkiaSharp, non of these libraries are compatable with .net Core 2
And for sure System.Drawing is not there,, and I cannot find a way to use it,, I think it got removed from core,, I tried everything in this article https://blogs.msdn.microsoft.com/dotnet/2017/01/19/net-core-image-processing/
But I guess it is not build for .net Core 2, ,And I am stuck ... Any One Can help me understand what is happening?

SkiaSharp will work for .NET Core 2. I have a set of samples:
https://github.com/mattleibow/SkiaSharpDemo
This has a small sample for Xamarin.Forms, Xamarin native and a .NET Core console app.

Aspose.Drawing and Aspose.Imaging are cross-platform libraries for image drawing and processing supporting .NET Core 2.0+ (I'm one of the developers).

Related

Compatibility/ Documentation with ML.NET on MVC5

I've read online and watched some videos concerning ML.NET and the usage of it. All the videos and documentation that I've read online were on ASP.NET Core. I was wondering if it was possible to use the ML.NET on MVC5 (Since that's what we've been taught in class and have to use for our project)
If it is compatible are there any links or suggestions on how to go about it?
ML.NET requires .NET Core in version 2.1 (or newer) or .NET Framework version 4.6.1 (or newer):
First, ensure you have installed .NET Core 2.1 or later. ML.NET also works on the .NET Framework 4.6.1 or later, but 4.7.2 or later is recommended.
Source: GitHub page for ML.NET
As long as your app is running on one of those .NET implementations, you should be good to go. Regardless of the app type (ASP.NET, Winforms, ...).
You can find samples here.

VS2015 Properly Targeting .Net Framework 4.6.1 with new Web Application Project or Class Library

I've created a new Web Application Project in VS2015 using the newer aspnet5 templates. However I can't seem to find a straight answer on how to specifically target the .NET 4.6.1 Framework with it. Looking at the pictures below can someone please shed some light on how to use the newer prject structures but target the .NET Framework 4.6.1 with them. According to microsoft this is possible but I can't make heads or tails on specifically how to do this.
The old and new ways are shown below.
The new way below shows use specific runtime...
With the following showing in the references
The old way seemed much more straight forward. Showing a specifically targeted framework.
The same problem exist for Class Library projects where it seems to want to target an SDK vs a particular version of the framework.
I believe you need to set your DNX_IIS_RUNTIME_FRAMEWORK environment variable to "DNX461". I found this question relevant.

Using mono assemblies from the .NET CoreCLR

I need to consume a library that doesn't yet have CoreCLR support (RabbitMQ.Client, to be specific). Is it possible to utilize a mono-based port of that library on a Linux system from inside a CoreCLR executable? If so, how is that achieved?
It is impossible at binary level (unless using a proper PCL profile). .NET Core has a different approach to arrange classes in assemblies, so some assemblies on desktop .NET Framework are broken into smaller assemblies, and types are moved. A desktop targeting assembly (from .NET or Mono) won't work on .NET Core due to such changes.
But it is obviously possible at source code level, as there was an attempt to port Mono's WinForms to .NET Core,
http://forums.dotnetfoundation.org/t/anyone-porting-winforms-mono-to-net-core/898/4
Once a new .NET Core library project is created, the source files should be able to be carried over (with some modification or even none).
However, .NET Core has been evolving too fast, and that attempt might be now out of date. Anyone would like to explore in this area can follow that example and try once again. Good luck.

.Net 4 equivalent of Thread Dump of Java

Is there are Thread dump equivalent for .Net4. We tried using MSE from Microsoft but this does not recognize applications compiled for .Net4.0
All you need to do is to recompile MSE with .NET 4.0. Easy to do using Vadim Skipin's project on github . Good luck.

.NET 4 Profiler?

Does anyone know of a profiler that works with .NET 4 (beta 2)? I normally use the EQATEC profiler but it doesn't seem to be working with .NET 4 executables.
EQATEC Profiler v3.0 has just been released today and it now supports .NET 4.0.
You can get it here: http://www.eqatec.com/tools/profiler
For what it's worth, I've found plenty of performance problems in our .NET app, using the non-profiler.
VS2010 Ultimate edition comes with a profiler. It is placed in the Analyze menu. I haven't used it for anything serious yet, but it appears to be an updated version of the one that comes with the TF editions of VS2008/2005.

Resources