Monday, May 14, 2012
Friday, May 11, 2012
mac issues
I uploaded a page which makes a iframe visible/invisible and sets text to a div. Got the dreaded MAC error (only on balance loaded environment). disabling view state did not help so I brought in the nuclear option
EnableViewStateMac="false"
Wednesday, May 9, 2012
Publishing
Its prudent to publish locally to a folder and then copying what you need over as opposed to publishing to a working (even development) environment because the chances of you overwriting config files and perhaps references in the bin are great
Friday, May 4, 2012
Nice use of extensions
public static class StringExtensions
{
public static string
FormatWith(this string
source, params object[]
parameters)
{
return
string.Format(source, parameters);
}
}
then you can "{0}{1}".FormatWith(a,b)
Thursday, May 3, 2012
Add NTFS rights to app pool
C:\>ICACLS E:\blah\blah /grant "IIS APPPOOL\blahapp":(OI)(CI)(RX)
Subscribe to:
Comments (Atom)
