I think what you need is a .Net Core project that runs on the .Net Framework 4.5.2. Then you can communicate from this website project to a backend dlls also written using .Net Framework 4.5.2.
To set up the a new Aurelia .Net Core project you can follow the instructions Rob Eisenberg gives in https://channel9.msdn.com/Events/Build/2017/T6032. See the slide at 8:39 in.
To quote from this slide:
dotnet new --install Microsoft.AspNetCore.SpaTemplates::*
Install Node.js from https://nodejs.org
To create a new projects (from cmd)
- mkdir app-folder-name-here
- cd app-folder-name-here
- dotnet new aurelia
- dotnet restore
- npm install
- export ASPNETCORE_ENVIRONMENT=Development
- dotnet run
This will create a new .Net Core project that runs on the .Net Core Framework. In this you can see an example where the Aurelia viewmodel uses HttpClient to fetch data from a function in an MVC controller. However from this controller you won't be able to reference and interact with dlls written in Framework 4.5.2 because this project is initially generated to use the .Net Core framework.
To get around this you need to convert the project over to use the .Net Framework 4.5.2 manually. You can do this following the instructions here:
How to change target framework with VS 2017 RC?
Except where it says to include the following into the csproj file
<TargetFramework>net462</TargetFramework>
<RuntimeIdentifier>win7-x86</RuntimeIdentifier>
Make sure you put the target framework as net452
I went through the above steps and it all worked for me. Note I am using VS 2017. I'm not sure if there is anything in the above link that is VS 2017 specific.