![Razor components: error using await in Razor expressions (Preview 9) · Issue #13888 · dotnet/aspnetcore · GitHub Razor components: error using await in Razor expressions (Preview 9) · Issue #13888 · dotnet/aspnetcore · GitHub](https://user-images.githubusercontent.com/54578900/64702459-973c8280-d478-11e9-8cb2-c825984563f2.png)
Razor components: error using await in Razor expressions (Preview 9) · Issue #13888 · dotnet/aspnetcore · GitHub
![c# - Problem (semi-newb) about async - await. Everything seems correct, works on other Task, but not on another - Stack Overflow c# - Problem (semi-newb) about async - await. Everything seems correct, works on other Task, but not on another - Stack Overflow](https://i.imgur.com/kiNltzk.png)
c# - Problem (semi-newb) about async - await. Everything seems correct, works on other Task, but not on another - Stack Overflow
![Resolve: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(…)' to do CPU-bound work on a background thread. Resolve: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(…)' to do CPU-bound work on a background thread.](https://www.naveedulhaq.com/wp-content/uploads/2019/04/240px-.NET_Core_Logo.svg_.png)
Resolve: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(…)' to do CPU-bound work on a background thread.
![c# - The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type - Stack Overflow c# - The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type - Stack Overflow](https://i.stack.imgur.com/wLwbV.jpg)
c# - The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type - Stack Overflow
![Await Operator Can Only be Used Within an Async Method | Consider Making This Method With an Async - YouTube Await Operator Can Only be Used Within an Async Method | Consider Making This Method With an Async - YouTube](https://i.ytimg.com/vi/2Rd1FoVlOHU/hqdefault.jpg?sqp=-oaymwEiCKgBEF5IWvKriqkDFQgBFQAAAAAYASUAAMhCPQCAokN4AQ==&rs=AOn4CLDBr833jcb7OKfFml8zRH2JwWtNFQ)
Await Operator Can Only be Used Within an Async Method | Consider Making This Method With an Async - YouTube
![MVC - Fix Error - The 'await' operator can only be used within an async method. Consider marking... - YouTube MVC - Fix Error - The 'await' operator can only be used within an async method. Consider marking... - YouTube](https://i.ytimg.com/vi/LCFbF495aiw/sddefault.jpg)
MVC - Fix Error - The 'await' operator can only be used within an async method. Consider marking... - YouTube
![Await Operator Can Only be Used Within an Async Method | Consider Making This Method With an Async - YouTube Await Operator Can Only be Used Within an Async Method | Consider Making This Method With an Async - YouTube](https://i.ytimg.com/vi/Cl2VN53oWPI/mqdefault.jpg)
Await Operator Can Only be Used Within an Async Method | Consider Making This Method With an Async - YouTube
![Await Operator Can Only be Used Within an Async Method | Consider Making This Method With an Async - YouTube Await Operator Can Only be Used Within an Async Method | Consider Making This Method With an Async - YouTube](https://i.ytimg.com/vi/Cl2VN53oWPI/maxresdefault.jpg)