Updated all sample applications to the latest NuGets and syntax