IIS website access Network Resource Get link Facebook X Pinterest Email Other Apps September 02, 2020 Set identity for Application pool:User name and password are valid account to access the resource networkThen go to network resource, set full control for this user Get link Facebook X Pinterest Email Other Apps Comments
ASP Net API pass parameter frombody June 11, 2019 The action method: 1. Parameter as string public HttpResponseMessage AddText(string jobNo,[FromBody] string text) { .... } test action: 2. Parameter as Custom Object public class AddScheduleNote { public string JobNo { get; set; } public string ScheduleNote { get; set; } } ................... public HttpResponseMessage UpdateScheduleNote([FromBody] AddScheduleNote note) { try { JobSchedule job = db.JobSchedules.Where(r => r.Job_No.Equals(note.JobNo, StringComparison.OrdinalIgnoreCase)).SingleOrDefault(); if (job == null) { ... Read more
Make DataGridView full screen when screen resize February 12, 2019 Option 1: Anchoring: Top, Bottom, Left, Right Option 2: Set the property of your DataGridView: Anchor : Top , Left AutoSizeColumn : Fill Dock : Fill Read more
avoid Caching in asp net mvc November 28, 2019 for all actions in controller: [OutputCache(NoStore = true, Duration = 0, Location="None", VaryByParam = "*")] OR [OutputCache(NoStore = true, Duration = 0, VaryByParam = "None")] for special action: [ NoCache ] https://docs.microsoft.com/en-us/iis/configuration/system.webServer/caching/ https://forums.asp.net/t/2146531.aspx?Disable+cache+in+ASPNET+MVC Read more
Comments
Post a Comment