Embodiments of the invention provide an in-situ polymerization technique for creating a glucose sensor chemistry stack. An analyte sensor comprises a crosslinked polymer matrix in contact with an electrode. The crosslinked polymer matrix is formed by exposing ultraviolet (UV) light to a polymer matrix mixture comprising a plurality of hydroxyethyl methacrylate (HEMA) monomers, one or more di-acrylate crosslinkers, one or more UV photoinitiators, and an oxidoreductase. The oxidoreductase is covalently linked to the crosslinked polymer matrix. In typical embodiments, the oxidoreductase is a glucose oxidase-acrylate bioconjugate. In one or more embodiments, the analyte sensor apparatus further comprises a glucose limiting membrane positioned over the crosslinked polymer matrix. The glucose limiting membrane is formed by exposing ultraviolet (UV) light to a glucose limiting membrane mixture comprising a plurality of hydroxyethyl methacrylate (HEMA) monomers, one or more di-acrylate crosslinkers, one or more UV photoinitiators, ethylene glycol, and water.