I am investigating possibility to migrate an old project to .NET Core. It is currently using .NET 4.5.1.
Now this is a large project so I am considering if it is possible to do it step by step. Is it possible to include .NET Core libraries in the .NET project and start using the new ASP.NET Web API like described in System.ServiceModel.Web .NET Core ?
I have a couple of web services like this that I would like to convert to .NET Core, but I do not want to convert the entire project to .NET Core yet:
[ServiceContract]
public interface IChannelsApi
{
[WebGet(UriTemplate = "", ResponseFormat = WebMessageFormat.Json), OperationContract]
List<Channel> GetChannels();
[WebGet(UriTemplate = "{name}", ResponseFormat = WebMessageFormat.Json), OperationContract]
Channel GetChannel(string name);
}