I am currently working on unit tests for a WinCE-based application which uses .NET Compact Framework 2.0.
I could like to know, does Moles Framework support .NET Compact Framework 2.0? If not, could someone please suggest another mocking framework that supports .NET Compact Framework?
Related
Microsoft.Web.Infrastructure.dll is being used in a .NET Framework project that I am trying to migrate to .NET Core and ASP.NET Core.
I already tried searching on Google and couldn't find a direct relation - any help about if there are any alternatives would be appreciated.
NuGet doesn't say that there is any .NET Core versions of it, only .NET Framework so I'm asking here
Does anyone know about a decompiler tool for .net core which is written in .net core?
All the tools I found are written in .net framework.
My application is written in .net core and I prefer not to require my users to install also .net framework.
Thanks
.NET Reflector
supports C#7, .NET 4.7.2, and .NET Core and Standard.
here
Let's say I have:
ASP.NET Core stand alone Web API project for .NET Core framework
Class Library with EF6 data model for full .NET framework
The ASP.NET Core project refers to the class library
This architecture proposed here:
https://learn.microsoft.com/en-us/aspnet/core/data/entity-framework-6
The question is: will my standalone application be able to execute on the specified target platform (Win, Linux, Mac runtime) after Release (or Publish), if it's dependency targets to full .NET Framework?
Thanks very much
It will be not possible. The same link you provided confirm that:
To use Entity Framework 6, your project has to compile against .NET Framework, as Entity Framework 6 does not support .NET Core. If you need cross-platform features you will need to upgrade to Entity Framework Core.
You can use ASP.NET Core upon .NET Framework (Not .NET CORE) and EF6 (But not cross-platform). But not ASP.NET Core upon .NET Core and use EF6. You will need to use EF Core for that project.
Disclaimer: I'm the owner of the project Entity Framework Classic
That's not possible directly Entity Framework as #Adailson answered
However, it's possible via EF Classic: http://entityframework-classic.net/
That's an EF6 fork that also supports .NET Core. We plan to integrate a ton of features & bug fix.
A community (FREE) and enterprise version (PAID) is available.
What's EF Classic
Entity Framework Classic is a supported version from the latest EF6 code base. It supports .NET Framework and .NET Core and overcomes some EF limitations by adding tons of must-haves built-in features.
I am trying to understand the implications of starting a project on .NET core. One of the requirement I am facing is to use a .NET library that is leveraging COM.
So is COM supported by .NET core (obviously, assuming the OS is Windows)?
I understand that .NET Core is built for interoperability between different OS. But I was wondering if it is to be expected that there are Windows-specific features that may be included for the windows releases such as COM compatibility.
Thanks for your help.
.NET Core is developed to be cross platform and running also on Linux and Mac. COM is a windows specific thing and will not be supported in .NET Core
We are using dotConnect mobile for connecting to Oracle DB.
I know that dotConnect can be used with NHibernate and Fluent Nhibernate ORM on the desktop but can the combination also be used with the Compact Framework (version 3.5)?
NHibernate cannot be used under the Compact Framework because the Compact Framework does not provide support for some of the fundamental classes (specifically Reflection.Emit) that NHibernate uses.
NHibernate uses Reflection.Emit, which does not exist in the Compact Framework.
Because of #1, NHibernate can't be compiled for the Compact Framework.
Becasue of #2, we know that there are no Compact Framework compatible NHibernate assemblies.
You cannot use desktop assemblies with the Compact Framework. Only assemblies compiled for the CF can be used.
So following this logic we know that anything that uses NHibernate will not work under the Compact Framework.
Seems like NHibernate doesn't support .NET Compact Framework due to usage of some Reflection classes.