A few months ago I had an error and believe what a web page should be in ASP.Net Core as a class library. For several things that are used and for incompatibility, I have to pass it to .Net Framework (4.6.1 specifically).
I am aware that I have to redo almost all the code but, since I am new to this language / format, I am not sure where I should try to redo the part of the ASP.Net Core controller or how to call it. When you create it, VS automatically does it in a folder called "App_Code" but does it work the same as if it were a controller? Can I invoke it in the same way?
For post methods, for example, I call it from JQuery with AJAX as follows in ASP.Net Core:
$.post({
url: '/Home/Login',
...
});
My question is how to use that url: '/Home/Login',
to call the corresponding function ... can it?