Last post Jul 05, 2016 05:45 AM by lextm
Jun 29, 2016 01:41 AM|Tessalator|LINK
I have a WCF service that acts on domain classes in my Core site. Since Core doesn't produce a dll I can't include a reference to them in my service project. I've resorted to declaring them in both projects, but that is a maintenance problem. The other option
I can think of is a separate dll for just the shard classes that both would reference, but some of them are EF objects, so that becomes a problem too. Is there a way of referencing classes contained in a Core project from another project in the solution?
Jul 05, 2016 05:45 AM|lextm|LINK
Publish a NuGet package from your .NET Core project and then host it in a custom feed. Then your WCF project can consume the package.