Friday, February 24, 2023

Await async. Iactionresult actionresult task asp.net

These actionresult and iactionresult are used in webapi


 https://www.c-sharpcorner.com/blogs/iactionresult-vs-actionresult

Response.writeline async

 Context.response. writeasync

Console.writeline c# String interpolation

String interpolation

with use of $ in console.writeline we can add {} brackets.

int a=5;      

console.write line($"hello {a}")

ASP.NET Core website

 ASP.net core websites can be run in iis server, appache server, linux etc


If we use only enter button for saving data instead of save button than it will save time


https://learn.microsoft.com/en-us/visualstudio/get-started/csharp/tutorial-aspnet-core?view=vs-2022


https://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core?view=aspnetcore-7.0



Dispose and finelize c# garbage collector ASP.NET

 https://www.dotnettricks.com/learn/netframework/difference-between-finalize-and-dispose-method