C
C#•3y ago
bg_666666

ā” 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
Anton
Anton•3y ago
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.
bg_666666
bg_666666OP•3y ago
hmm... let me try it out..
Monsieur Wholesome
Monsieur Wholesome•3y ago
cshtml being server-side rendered, your async code wouldnt even ship to the IE browser 🤨 Ohhhhhhhhhhhhhhhhhhhhhhhhhh, we're talking JS' async-promise thingy?
Anton
Anton•3y ago
yes
Monsieur Wholesome
Monsieur Wholesome•3y ago
wow
Unknown User
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Anton
Anton•3y ago
a lot of people keep using it
Angius
Angius•3y ago
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
bg_666666
bg_666666OP•3y ago
i used babel but got so many issue on the visual studio
bg_666666
bg_666666OP•3y ago
Accord
Accord•3y ago
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.

Did you find this page helpful?