A photonic-crystal waveguide sensor is presented for biosensing. The sensor is applied for refractive index measurements and detection of protein-concentrations. Concentrations around 10 mug/ml (0.15muMolar) are measured with excellent signal to noise ratio, and a broad, dynamic refractive index sensing range extending from air to high viscous fluids is presented.