Response.Redirect: true or false?When you use Response.Redirect with its second parameter set to true, it triggers a call to Response.End() Response.Redirect("Login.aspx"); // default is true Response.Redirect("Login.aspx", true); // same as above This causes AS...Apr 23, 2025·2 min read
Azure Function IP Listhttps://resources.azure.com/ Select subscriptions > {your subscription} > providers > Microsoft.Web > sites. In the JSON panel, find the site with an id property that ends in the name of your function app. (Look at your function name at Azure Funct...May 6, 2024·1 min read
System.Data.Linq.ChangeConflictException: Row not found or changedSet all non primary-key column's UpdateCheck property to Never in the DBML file. Reference : https://stackoverflow.com/questions/805968/system-data-linq-changeconflictexception-row-not-found-or-changedApr 17, 2024·1 min read
Azure App Service "Production Breakpoints" errorsThis article describes a curious fix I found to an issue where Application Insights (seemingly) crashes your Azure App Service, leaving behind interesting, yet non-descriptive errors in the Application Event Logs. Does your Azure App Service’s event ...Mar 29, 2024·2 min read
String operationsList<string> to string[] List<EntityName> device = dc.EntityName.Where(p => p.Id == userid).ToList(); string[] the_array = device.Select(i => i.PlayerID.ToString()).ToArray(); string to string[] string someString = "something"; string[] stringArray ...Feb 23, 2024·1 min read
How to implement Ola Hallengren's IndexOptimize script on Azure AutomationDownload 3 scripts from here : https://ola.hallengren.com/downloads.html Create table : CommandLog.sql Create procedures: CommandExecute.sql, IndexOptimize.sql Edit procedure IndexOptimize according to Brent Ozar article. (https://www.brentozar.c...Jan 17, 2024·3 min read
How to permanently remove URL from GoogleThe removal tool only provides temporary removal for approximately six months. To permanently remove content or URLs from Google search results, make sure your web server returns a 404 (Not Found) or 410 (Removed) HTTP status code. protected void Pag...Dec 21, 2023·1 min read