Saturday, 27 February 2021

 

Today I have get an Issue in .net mvc core regarding datatabl ajax call path .when it deploy on server its virtual path giving an issue to resolve it i have used this instead of path

"url": "@Url.Action("AjaxMethod", "Home")",

use this instead of "home/ajaxmethod".

 Date formate for mvc edit method in mvc

 [DataType(DataType.Date)]

        [DisplayFormat(DataFormatString = "{0:d}", ApplyFormatInEditMode = true)]

        public DateTime ScheduleDate { get; set; }

7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...