These actionresult and iactionresult are used in webapi
https://www.c-sharpcorner.com/blogs/iactionresult-vs-actionresult
These actionresult and iactionresult are used in webapi
https://www.c-sharpcorner.com/blogs/iactionresult-vs-actionresult
Context.response. writeasync
with use of $ in console.writeline we can add {} brackets.
int a=5;
console.write line($"hello {a}")
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
function doDate()
{
var str = "";
var days = new Array("Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday");
var months = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
var now = new Date();
str += "Today is: " + days[now.getDay()] + ", " + now.getDate() + " " + months[now.getMonth()] + " " + now.getFullYear() + " " + now.getHours() +":" + now.getMinutes() + ":" + now.getSeconds();
document.getElementById("todaysDate").innerHTML = str;
}
setInterval(doDate, 1000);
reference:- https://stackoverflow.com/questions/26584233/updating-javascript-time-every-second
> Open task manager
> Click on option menu and check on "hide when minimized"