add net programming example coce