manukautech / XMRemoteRobot

A web service app which enables remote-control of near and distant devices including over the public Internet. Live demo at:
https://xmrrae.azurewebsites.net
Apache License 2.0
1 stars 1 forks source link

2-12 Update to ASP.NET CORE 2.0 #4

Closed manukautech closed 7 years ago

manukautech commented 7 years ago

Including address the issue of antiforgerytokens which is complicated by our use of AJAX.

manukautech commented 7 years ago

Done. I migrated from Core 1.1 to Core 2.0 by creating a new Core 2.0 Web App then copy-pasting files and blocks of code across. The teacher in me gives Core 2.0 a good mark. The startup and config has less code than previous versions. Configuration settings get a welcome simplification. In Core 2.0 both SQLClient and Session were already there in the "core Core" without the need to download as extras from "Nuget".

There seemed to be no issue with the antiforgerytokens. As in the Core 1.1 code for data submission keeps working.