Wooden-Robot.net Commonsense AI, NLP, interaction design, web apps
  • Home
  • About
  • Publications
  • Subscribe (RSS) | Assimilate!
      Categories
      • Accessibility/A11y (4)
      • AI (6)
      • Books (2)
      • C# (12)
      • C/C++ (3)
      • Coding style (9)
      • DHTML (28)
      • Digirati (2)
      • Interaction Design (12)
      • Java (11)
      • MSWindows (17)
      • Open AIM (6)
      • Optimization (5)
      • PIM (8)
      • Prolog (3)
      • Security (4)
      • Source control (5)
      • Tools (18)
      • Uncategorized (5)
        Meta
        • Log in
        • Entries RSS
        • Comments RSS
        • WordPress.org
        Archives - Posts tagged as 'C#'
      • How to check default RAM assigned to a .Net web app Control Panel->Administrative Tools->Computer Management->Services and Applications tree item->Internet Information Services->Application Pools Right-click on DefaultAppPool Click on Properties
        [November 2nd by david]
      • System.Reflection.TargetInvocationException When you get a popup about this kind of exception in C#, select Break in the popup and then look in your Locals for the ...
        [November 2nd by david]
      • System.UnauthorizedAccessException This can happen if you received the ASPX file via an IM file transfer, for example.  Look at the file's Properties|Security|GroupOrUserNames, and if "Users" isn't ...
        [November 2nd by david]
      • ASP.NET supports Page_Error() If one's C# code throws an exception that isn't explicitly caught by any try/catch, then  one can use ASP.NET's Page_Error() method as a fallback...it's invoked ...
        [November 2nd by david]
      • Parsing strings into other types in C# What's the best way of parsing a string into some other type, and making sure nothing more is done if that conversion fails?  A typical ...
        [November 2nd by david]
      • Using curly braces in a format string in C# Because curly braces are used in C# to indicate where values should be pasted in, like this... sb.AppendFormat("Email: {0}", sEmail); ...therefore, if you need to display curly ...
        [November 2nd by david]
      • Don’t use + to build strings First, using + to create strings in JS is fine because there is no alternative. But in C# and ASPX (and Java), string objects are "immutable", ...
        [November 2nd by david]
      • Coding with empty string When you need to put an empty string in C#  or ASPX code, use String.Empty rather than "", since this saves creating an object for ...
        [November 2nd by david]
      • String.Format options in C# Since {n} is used to indicate where args should be placed, similar to %d or %s in C, to have a literal curly brace use ...
        [November 2nd by david]
      • ASP error CS0103: The name ‘xx’ does not exist in the current context Make sure that the CodeBehind and Inherits attributes of the '<%@ Page' declaration in your asp file refer to the right class. It's easy to ...
        [November 2nd by david]
      • Request.Cookies == Response.Cookies in ASP.NET Be careful when setting a Response.Cookies property that you don't need to check the same property in Request.Cookies later while processing the same http session, ...
        [November 2nd by david]
      • “System.FormatException: Input string was not in a correct format.” When using .Net's StringBuilder, you might see this error. The likely cause is that you have a curly brace in the format string that you ...
        [November 2nd by david]
      A product of