ā async code in cshtml file of asp net framework that target IE browser
hi all, i understand that Internet Explorer arent' compatible with async/await, but is there an alternative to this if we want to handle asynchronous code (API request for example before we execute the next code) and our target website is Internet explorer, do we have to install babel into our asp net framework project?
11 Replies
I'm not sure they offer tools like that, I'd manage this manually
with a separate node project with all of this configuration
then you can add typescript, any polyfills you want, any linters you want, etc.
hmm... let me try it out..
cshtml being server-side rendered, your async code wouldnt even ship to the IE browser
š¤Ø
Ohhhhhhhhhhhhhhhhhhhhhhhhhh, we're talking JS' async-promise thingy?
yes
wow
Unknown Userā¢2y ago
Message Not Public
Sign In & Join Server To View
a lot of people keep using it
Fuck them people
They deserve the internet to be broken for them
To answer your question, though: save yourself some sanity and just use Babel
i used babel but got so many issue on the visual studio
following the babel setup for asp net mvc https://www.thecodehubs.com/how-to-use-babel-js-in-asp-net-mvc-5/
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.