Good day. I'm working with C # and ASP.Net on the server side and with JS and html on the client side.
I have a form similar to this
<form id='frmForm'>
<label>Subir Archivo</label>
<input type ='file' id='file' />
<button>Guardar</button>
</form>
What I want is to get the file using js and send it to my server through AJAX as a parameter, because I actually send several more fields.
If you could guide me on how to do this function, both on the client side and what type of data I receive from the server side
Greetings