ipona

What in heavens name am I doing?

June 21, 2006
0 comments

Relative Images in Redirected Pages

I’ve just discovered a bug/issue when using redirected pages. Let’s assume I have the following in a page (Animal.aspx)   <asp:Image id=”i1″ runat=”server” ImageUrl=”~/Images/foo.jpg” /> In web.config I have:   <urlMappings enabled=”true”>     <add url=”~/Animals/Dog.aspx”        mappedUrl=”~/Animal.aspx?Animal=Dog” />   </urlMappings> Run the page and … Continue reading

June 5, 2006
0 comments

SQL Server Dependencies

SQL Server 2005 supports notifications, allowing it to tell you when data has changed. This is useful for many reasons, invalidating the ASP.NET cache for example. Someone asked me about this at DeveloperDeveloperDeveloper (which was most excellent as usual) and … Continue reading