I am going through serverless architecture documents and some videos on AWS.
I understand we can implement serveless with API gateway , Lambda , DynamoDB and have our front end on S3 bucket.
I have brief idea how it works on legacy EC2 instance.
Example with .net application with reactjs.
In instance we install all the dependencies like .net sdk react ..ect Then we place our source code file within the instance and run the respective execution file. (with .net it would be .dll file)
Now the question is: How can this be implemented on serverless?
where should i have the .dll file?
where should all the dependencies should be installed?
and how the architecture would look?