1.
Finally, we will change the code to update the webpart output, without
re-deploying.
2.
Go back into your code and change the output line; for example, what is
listed below.
Listing 4
writer.Write(@"Hi there, " + this.Context.User.Identity.Name +
@" (this output has been changed and recompiled.)");
3.
Press <Control><Shift><B> to rebuild your assembly.
4.
Go back to your web page and press refresh.
5.
Without having to re-deploy, your Web Part's output has been updated.
6.
This now becomes a fast way to iterate through the process of building,
deploying, testing, updating and testing again your code.