This is a migrated thread and some comments may be shown as answers.

ASP.NET Core RTM

3 Answers 153 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Landry
Top achievements
Rank 1
Landry asked on 29 Jun 2016, 09:05 AM

The RTM for ASP.NET Core is out.

 

There seem to be issues with the integration when calling the following method in the ConfigureServices method of the Startup class

 

services.AddKendo()

 

System.TypeLoadException
Could not load type 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions' from assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.

3 Answers, 1 is accepted

Sort by
0
Deon van Staden
Top achievements
Rank 1
answered on 29 Jun 2016, 09:31 AM

To fix this issue, you can use this:

foreach (ServiceDescriptor service in Kendo.Mvc.KendoServices.GetServices())
    services.Add(service);
services.AddSingleton<IActionContextAccessor, ActionContextAccessor>();

But this does not fix the issues that follows.  Example the Read Action on a Kendo Grid

Seems to me that Microsoft changed a lot of things going to release 1.0

https://github.com/aspnet/Announcements/issues/187

Hopefully Telerik will have a new version soon.  

 

0
Carl
Top achievements
Rank 1
answered on 29 Jun 2016, 05:19 PM

still encountering various problems related to Telerik's recommended approaches, eg, use of following:

@section scripts {   @Html.Kendo().DeferredScripts() }

on Razor viewpages *.cshtml results in server errors:

Reference to type 'HtmlString' claims it is defined in 'Microsoft.AspNetCore.Mvc.ViewFeatures', but it could not be found
@Html.Kendo().DeferredScripts()

and adding the namespaces to both C# controllers and Razor views does not solve the problem.

So it would be really really helpful if Telerik could provide a proper working project template for their MVC library controls that works with AspNetCore 1.0 RTM

0
Marin Bratanov
Telerik team
answered on 30 Jun 2016, 10:05 AM

Hi all,

At the moment we are working on producing an internal build that should work with the RTM version of Core and an official release that will support it is planned for the middle of July (in about two weeks).

The following sticky thread contains the information available at the moment and it will be updated as things progress (e.g., we will add a link to the LIB once it is available): http://www.telerik.com/forums/asp-net-core-1-0-rtm-is-out.

Regards,

 

Marin Bratanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Landry
Top achievements
Rank 1
Answers by
Deon van Staden
Top achievements
Rank 1
Carl
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or