tag:blogger.com,1999:blog-6082652835152798567.post7962695892496659608..comments2024-03-19T05:40:47.189-07:00Comments on Sql server, .net and c# video tutorial: Async and await in c# exampleUnknownnoreply@blogger.comBlogger10125tag:blogger.com,1999:blog-6082652835152798567.post-74101371882847411122020-12-19T16:51:58.550-08:002020-12-19T16:51:58.550-08:00I had this issue in one of my projects, where I fo...I had this issue in one of my projects, where I found that I had set my project's .Net Framework version to 4.0 and async tasks are only supported in .Net Framework 4.5 onwards.<br /><br />I simply changed my project settings to use .Net Framework 4.5 or above and it worked.<br />smhikerhttps://www.blogger.com/profile/11627769387731977744noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-68412761366389039262020-05-23T01:46:26.684-07:002020-05-23T01:46:26.684-07:00here is an exeption that says:
Error CS1061 'T...here is an exeption that says:<br />Error CS1061 'Task' no contiene una definición para 'GetAwaiter' ni se encuentra ningún método de extensión 'GetAwaiter' que acepte un primer argumento del tipo 'Task' (¿falta alguna directiva using o una referencia de ensamblado?)Anonymoushttps://www.blogger.com/profile/12092174625566163031noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-68367593100919890992018-11-27T14:08:32.025-08:002018-11-27T14:08:32.025-08:00@Carlos, use .net 4.5 framework for your project. ...@Carlos, use .net 4.5 framework for your project. Also, there is a typo in this example: private void btnProcessFIle_Click(object sender, EventArgs e) should be btnProcessFile. Small i in word FileHrxhttps://www.blogger.com/profile/16400090119031435539noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-58347837408848875962017-09-04T13:41:16.043-07:002017-09-04T13:41:16.043-07:00there is an exeption that says:
Error CS1061 '...there is an exeption that says: <br />Error CS1061 'Task' no contiene una definición para 'GetAwaiter' ni se encuentra ningún método de extensión 'GetAwaiter' que acepte un primer argumento del tipo 'Task' (¿falta alguna directiva using o una referencia de ensamblado?)<br />Daniela Zabaletahttps://www.blogger.com/profile/14080365659195116734noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-42007213014528551992017-08-08T03:16:21.477-07:002017-08-08T03:16:21.477-07:00I have doubt, how does the async work?
Initially I...I have doubt, how does the async work?<br />Initially I used to though whenever the async method find await, it will be creating the new thread (creating new thread will keep the UI thread free) and later after completion the new thread will join with the UI thread? <br /><br />But to a surprise I found, await call do not create new thread? If it will not create the new thread how our UI thread is free/responsive.<br /><br />Please help.Manish Kumar Bloghttps://www.blogger.com/profile/06022961840446422898noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-38472994443263538672017-07-26T01:34:40.135-07:002017-07-26T01:34:40.135-07:00Venkat,
You have explained great
But I am looking ...Venkat,<br />You have explained great<br />But I am looking this example for web page not for windows or console. Can you please help me?<br /><br />ThanksVinod Kumarhttps://www.blogger.com/profile/08644719402489309095noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-7931397604735082392017-07-25T09:53:27.818-07:002017-07-25T09:53:27.818-07:00I understand it but I am looking an example in Web...I understand it but I am looking an example in Web Page.Vinod Kumarhttps://www.blogger.com/profile/08644719402489309095noreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-5670637765619420552016-11-04T03:22:44.890-07:002016-11-04T03:22:44.890-07:00Venkat,
How do you do? Nowadays you are not so fre...Venkat,<br />How do you do? Nowadays you are not so frequent like earlier. I think you are busy with you job.<br /><br />I request you to describe LINQ vs PLINQ as you are discussing asynchronous programming.<br /><br /> <br /><br />Charanjitnoreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-81634471644661427332016-11-02T01:04:27.050-07:002016-11-02T01:04:27.050-07:00Hello Sir,
Would you please discuss the following...Hello Sir,<br /><br />Would you please discuss the following topics in detail:<br /><br />TPL, TPL DATAFLOW, Difference and relation between TPL and Thread and TPL DATAFLOW.<br /><br />ThanksAnantanoreply@blogger.comtag:blogger.com,1999:blog-6082652835152798567.post-20890419661673159992016-11-01T02:00:17.753-07:002016-11-01T02:00:17.753-07:00Very Good Explanation. Thanks Venkat.Very Good Explanation. Thanks Venkat.Anonymoushttps://www.blogger.com/profile/07842511475700417351noreply@blogger.com