Kendo-ui-core: Support for ASP.NET Core 1.0 RC2

Created on 19 May 2016  Â·  46Comments  Â·  Source: telerik/kendo-ui-core

We're currently working on upgrading our MVC Wrappers to the RC2 release. We'll post updates here.

Enhancement Wrappers (ASP.NET MVC)

Most helpful comment

Some fun facts to keep you entertained

  • The Kendo UI for MVC Core codebase is currently around 160 000 LOC of C#
  • We started with ~ 3000 compilation errors after the RC2 upgrade
  • Took us a day just to squash those out

All 46 comments

Any ETA on this one ?

There's no specific date yet, but we'll try to have it ready for the service release in the first half of June.

There are 45 breaking changes for the RC2 release and this is just the _documented_ ones. So we've got our work cut out for us.

Some fun facts to keep you entertained

  • The Kendo UI for MVC Core codebase is currently around 160 000 LOC of C#
  • We started with ~ 3000 compilation errors after the RC2 upgrade
  • Took us a day just to squash those out

Looks like you got your hands full ;)
Thanks for the update and keep up the good work!
Please drop a internal build once you got something for us to test.
A lot of us are eager to upgrade our projects to rc2 :)
//Per

Yeah we are eager to try it out as soon as it is available even if it is just for testing purposes.^^

Thanks for all the hard work.

+1 for wanting it sooner rather than later. Would be willing to beta test

+1 sooner + beta

+1 beta

sooner would be better we need to move to rc2 but we have dependency on kendo ui

Yes would love to update to rc2 (some excellent new features added) but currently with a dependency on kendo ui so loooking forward to the (stable) release

Keep up the great work Telerik!

any tentative date on beta, this will helpful to compile solution using RC2.

We've got the majority of the functionality working.
We're still catching up in areas like input validation that got a major overhaul in RC2.

We'll list any known issues, but things are lining up for a release in the beginning of next week.

Wow that would be awesome..fantsstic work

On Tue, 31 May 2016, 16:40 Tsvetomir Tsonev, [email protected]
wrote:

We've got the majority of the functionality working with RC2. We're still
catching up in areas like input validation that got a major overhaul in RC2.

We'll list any known issues, but things are lining up for a release in the
beginning of next week.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/telerik/kendo-ui-core/issues/1682#issuecomment-222728989,
or mute the thread
https://github.com/notifications/unsubscribe/ADMxhS3TsyqeHvtJ_DjbLsInKjsMtMjEks5qHFaAgaJpZM4Ih_qz
.

This would be awesome if we could get a release at the first of the week. We are in the middle of upgrading to RC2 and our last piece for this is the MVC wrapper stuff

Is this still planed for a release in the next few days?

The 2016.2.607 release is now live and supports the MVC Core 1.0 RC2 release.

Please, let us know if you find any issues. Cheers!

dependencies

There are some dependency resolution errors. How to fix them?

I have exactly same problem. Can't restore packages for net452. Can you add support for net451 for Kendo.Mvc?

err

@marcels2204
Seems the packages are not available on nuget.org. The following steps solved the issue for me:

  1. Add a new package source to https://www.myget.org/F/aspnetcidev/api/v3/index.json
  2. Install packages (first select new Package source)
    Install-Package Microsoft.Extensions.CompilationAbstractions -version 1.0.0-rc2-20221
    Install-Package Microsoft.Dnx.Compilation.CSharp.Abstractions -Version 1.0.0-rc2-20221

Hope this helps.

@Akimi
You can change the target framework in the project.json:

"frameworks": {
"net452": { }
},

Probably you get the same errors as @marcels2204 and have to take the same steps to solve it.

Hope this helps.

@thomasfreych Installing missing packages from aspnetcidev solved my problem, thank you.

Why are the packages not available on nuget.org?

@marcels2204
Additional information about the branches and the package sources can be found here:
https://github.com/aspnet/Home/wiki/NuGet-feeds

Hi guys, DNX was removed from RC2, I'm guessing that that reference wasn't meant to be there.
Adding them might help you compile the application but the real solution is to remove them in the long run.
@tsvetomir can you confirm if someone forgot to remove those references?
I just created a brand new ASP.NET Core Web Application (RC2) and tried to add the Kendo.Mvc nuget package, the same error occurs

thank you @thomasfreych.

If these references can be removed, that would be great.
Microsoft.Extensions.CompilationAbstractions
Microsoft.Dnx.Compilation.CSharp.Abstractions

How can we reference it from a library ?! library uses netstandard1.5 then we get an incompatibility error. Shouldn't this be targeting netstandard1.x instead of netcoreapp1 ?

I am using Kendo Gird. I get this error

  An unhandled exception has occurred while executing the request

System.NullReferenceException: Object reference not set to an instance of an object.
at Kendo.Mvc.UI.WidgetBase.get_Id()
at Kendo.Mvc.UI.Grid`1.ProcessSettings()
at Kendo.Mvc.UI.WidgetBase.RenderHtml(TextWriter writer)
at Kendo.Mvc.UI.WidgetBase.ToHtmlString()

for This View

@(Html.Kendo().Grid<Unit>()
    .Name("UnitList")
    .DataSource(d => d
        .Ajax()
        .Read(r => r.Url("/Unit/Unit_Read").Type(HttpVerbs.Get))
        .Model(m=>m.Id(p=>p.Id)))
 )

I have removed most of the grid settings for simplicity. Any ideas?

Hi guys,

I would like to ask that you request assistance your specific problems (like the one from @kevinkoenig ) through our support system before this conversation branches too far. Thanks!

no but I will. I did not know that was the preferred mechanism for support of rc bits.

@underlog, aside from @kevinkoenig issue, all other replies are related to the 2016.2.607 release.
I believe there are still references to DNX and RC1 components in that release that were removed on ASP.NET Core RC2.
You guys can check this by creating a new core web Project (RC2) and add the Kendo.Mvc nuget package to it. You'll see that the package won't be added because of those dependencies.

EDIT 1
The solution presented previously is not a real solution since what's being done is adding RC1 deprecated components back in the RC2 Project.

EDIT 2
It seems that the Scheduler control is broken in this release.
I've just tried it with horizontal grouping and the formatting is not good.

I agree with @sophisma.

This version is not fully migrated with RC2 and needs to be updated before we can use it to migrate our projects to RC2.

This would be great if @tsvetomir could confirm that this problem is in the process of being fixed.

hi @Asshiah
I am also facing the same error with Grid. Here is the code snippet.

<script src="http://kendo.cdn.telerik.com/2016.2.607/js/kendo.all.min.js" type="text/javascript"></script>
<script src="http://kendo.cdn.telerik.com/2016.2.607/js/kendo.aspnetmvc.min.js" type="text/javascript"></script>

<link href="http://kendo.cdn.telerik.com/2016.2.607/styles/kendo.common.min.css" rel="stylesheet" type="text/css"/>

<div class="row">
@(Html.Kendo().Grid<SendCodeViewModel>()
    .Name("UnitList")
    .Columns(columns =>
    {
        columns.Bound(p => p.ReturnUrl).Filterable(false);
        columns.Bound(p => p.RememberMe);        
    })
    .DataSource(d => d
        .Ajax()
        .Read(r =>  r.Action("Products_Read", "Home", null))
        )
)

</div>

Error:
An unhandled exception occurred while processing the request.

NullReferenceException: Object reference not set to an instance of an object.
Kendo.Mvc.UI.Fluent.CrudOperationBuilderBase1.Action(String actionName, String controllerName, RouteValueDictionary routeValues) NullReferenceException: Object reference not set to an instance of an object. Kendo.Mvc.UI.Fluent.CrudOperationBuilderBase1.Action(String actionName, String controllerName, RouteValueDictionary routeValues)
Asp._Views_Home_Contact_cshtml.<>c.b__17_2(CrudOperationBuilder r)
Kendo.Mvc.UI.Fluent.AjaxDataSourceBuilderBase2.Read(Action1 configurator)

is there any plan to update new version with fixes in this week?

Is this a closed issue? I'm having the same problems as above.

I asked about this in the official forum in this post:
Forum post

Umm.. this is marked as closed but it appears from the comments that something is still not right here ?

new issue is created for this problem #1783

I just answered this issue: #1783.

We do understand the inconvenience that the namespeace issue is causing and we are currently working with priority on it to solve it. Once this is done, we will release a new build.

@marcels2204 @Akimi @1amirjalai and everyone else who wants to help: Would it be possible to provide a sample working project, which demonstrates the issue with the Microsoft.Extensions.CompilationAbstractions and Microsoft.Dnx.Compilation.CSharp.Abstractions namesapces?

We need such a project to test the hotfix before providing it publicly.

Thank you in advance!

@Jekata
This is how you reproduce the problem:
1) Remove any custom nuget feed you added to Visual Studio 2015. You should only have the default one listed.
2) Clear your nuget cache by "del %LOCALAPPDATA%\NuGet\Cache*.nupkg /q"
3) Create a new ASP.Net Core Rc2 Web Project
4) Add Kendo MVC to dependencies in Project.json

Regards
Per

@Jekata
Here is a sample solution demonstrating the problem:

DemoSolution

@mparvanov these are dnx related packages. dnx was removed in asp.net core rc2

@mparvanov
Yeah, but thats not a solution since you cannot do that stuff in you CI Build server or you will realy mess things up. Package 607 should be redacted since it's a faulty build.

That's absolutely right. We are currently researching this issue on our side with very high priority in order to provide a reliable resolution as soon as we could.

Let's move this discussion to #1783

Was this page helpful?
0 / 5 - 0 ratings