Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Monday, August 3, 2015

@models workaround

If can't use @models dynamic because you're forced to use ASP instead of Razor, you can still use code like Html.LabelFor(x => x.Rank) if you change the inherits attribute, from <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %> to <%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage" %>

Followers

Blog Archive