We are migrating an existing application to run under ASP.NET Core MVC. We want to use the Upload feature, but the assembly we currently use, Infragistics45.Web.jQuery.v16.2, only works when the IIS App Pool using .NET CLR Version v4.0. .NET Core requires that the App Pool be set to "No Managed Code". We've tried using the new Upload Middleware we've found described on various Infragistics websites but can't seem to get any of them to work. We are running the .NET Core with the full 4.6.2 Framework due to functionality we need that is not available in the .NET Core Standard.
Can anyone provide a detailed example of both configuration, server-side and client-side code examples, to help us achieve what we need to do. We want to continue using the client-side igniteUI JQuery to perform the Uploads, but we need the server-side to run under .Net Core using the full 4.6.2 Framework.
When creating the test solution, forgot the web.config. It is attached, but cannot get to run using IIS Express.
To get the app to run with the web.config, you must publish the app and run under IIS. The app pool must be set to Unmanaged since it is running .net core.
One thing I found to be odd. When I initially run the app under IIS Express, I had forgotten the to include the web.config file, and got the 404 error. When I included the web.config and ran the application under IIS I got the same error.
Hi hrwebb,
Mike P. is out of the office for a few days so I am assisting with this issue.
Please have a look at the following documentation that describes how to reference our .net Core NuGet packages. This page also provides additional information for setting up the handlers and module using .net Core.
https://www.igniteui.com/help/using-igniteui-controls-in-asp.net-core-1.0-project
Currently, you are referencing the non-Core assemblies and that is not going to work. Once you are referencing the dotnetcore1.0 package, you can use the instructions on the same page to set up the igUpload.
If you need anything else, please let us know.
Well, I'm a little confused. I specially wrote the issue indicating we a trying to use .net core and the initial response listed several links to explain how to do it, one being the following:
To use ASP.NET Core MVC you would have to get the correct NuGet package, as .Net Core only supports 3rd party references through NuGet packages. You can see the following on getting NuGet packages setup:https://www.igniteui.com/help/using-ignite-ui-nuget-packages
The NuGet package mentioned in the link above point to a 4.6.2 version.
We are currently running .net core using the full 4.6.2 .net framework. In fact, we actually have the Infravististics version (16.1) of the upload code for asp.net working with our .NET CORE MVC application, but we wanted to use the MVC version of code available with 16.2.
I'm confused because Mike sent links describing how to do what we want, they just don't seem to get us where we need to be, unless he misunderstood and sent the wrong links to start with.
By the way, we've also tried doing it the way described in the link you sent, but it fails to work. I think it is because the NuGet package only works with .net core 1.0 framework, where we really do need one that will work with the full framework, even though it is running in a .net core environment.