A simple way to compile and execute code on the fly. From the cmd console: notepad code.vbThis opens notepad with a new file called code.vbPaste in a piece of code, for example:Imports SystemImports System.TextImports System.SecurityImports System.Security.CryptographyModule App Sub Main(ByVal argv() As String) Dim len As Integer = 128 If argv.Length > 0 Then len =... Continue Reading →
ASP.NET 2.0 Machine Key
When moving a fiddler based web test to a remote machine a Viewstate Mac error was received. This was caused because the viewstate is encoded using a MachineKey which is unique to the machine that the request was formulated on. So when the viewstate is read by the remote machine this throws an error. This... Continue Reading →