Replace .net sample