We have a web application written in asp.net and we experienced really strange problem after recent modification. We have a strange behavior in IE9 with redirects and after some inspection we found a really strange fact (that almost make us lost 2 hours of work). To recreate this situation simply create a new page in […]

Continue reading about The strangest bug of IE I’ve ever seen

I’m configuring a site on a new virtual machine and when I browse to a site, IIS gives me this error This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with […]

Continue reading about ASp.NEt handlers locked down in Windows 7 IIS

This question is really simple to answer… or no? Suppose you need to verify, in a service, if the user belongs to the xxxx group, and then take a different path of execution if the condition is true. if (Roles.IsUserInRole("xxxx")) { … } Ok, this seems such a piece of innocent code, but actually it […]

Continue reading about How to check if a user belong to a certain role in ASP.Net

Clearly Lab Management is really good to manage virtual environments and give a lot of flexibility on how to deploy your application on virtual machines, but if you do not have Lab Management you can still use the same technique to deploy application in remote computer during a build with the use of a simple […]

Continue reading about Deploy on remote machine during builds

I’ve hit a strange behavior of Hidden Field inside a disable asp.net panel, here is a simplified scenario that can reproduce my problem: 1: <form id="form1" runat="server"> 2: <asp:HiddenField ID="hf1" runat="server" /> 3: <asp:TextBox ID="tb1" runat="server"></asp:TextBox> 4: <asp:Panel ID="Panel1" runat="server" Enabled="false"> 5: <asp:HiddenField ID="hf2" runat="server" /> 6: <asp:TextBox ID="tb2" runat="server"></asp:TextBox> 7: </asp:Panel> 8: <asp:Label ID="Label1" […]

Continue reading about Asp net and an HiddenField inside a disable panel