
Disable browser cache in asp mvc
Here is a simple trick on how to disable browser cache in asp mvc application with an attribute. If you have a base controller just add this to your base and all your request would have Pragma No-Cache public class…
Practical guides on AI agents, LLM security, C#/.NET and Cloud, from Taswar Bhatti

Here is a simple trick on how to disable browser cache in asp mvc application with an attribute. If you have a base controller just add this to your base and all your request would have Pragma No-Cache public class…

To enable https on asp.net mvc, one can use the [RequireHttps] attribute on the base controller if you are using a base controller [RequireHttps] public class BaseController: Controller But what if you want to give an option to the installer…
Read more: Enable https on ASP.NET MVC 2 & 3, through Filters and web.config

Was debugging some code that was broken due to jquery 1.6 update, and found this call for Jquery dropdown.val $(“#dropDownSelect option[text=” + myText +”]”).attr(“selected”,”selected”) ; Not working anymore but a simple fix of changing it to $(“#dropDownSelect option[text=” + myText…
Read more: Jquery: dropdown.val(‘selected’, ‘selected’) does not work anymore.

So was hacking a new installer and wanted to display the data link properties dialog, for building a connection string. Here is what I have found out by playing with it. One has to add the reference to ADODB.DLL (from…