Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Page not calling API

$
0
0

I have an ASP.Net Core site with a page that has a button on it to upload documents to a database. The upload button, when clicked, calls an API on a different server, and that API processes the document. I built it with .Net Core 1.1. I have recently installed .Net Core 2.0. The original solution will not build now. I created a new 2.0 solution and recreated all of the code, pages, etc. It runs, but when I click the button to run the upload, all I get is a refreshed page. No error. Once the file is inserted, it is supposed to redirect to another page. The insert is not working, as there is no data being put in the database. But with no error being returned, I not sure what is happening. Is there a way to ensure that the API is being called? Also, the original solution does not compile or run, as I mentioned. It's unable to find nuget packages. Is there a way to address that?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>