Ways to debug ASP.NET and Sharepoint webparts

Either run Debug from Visual Studio, which will retract and redeploy the project before deploying and more time consuming

Or, From “Debug”, select “Attach to process…” and attach the debugger to the w3wp.exe processes and start debugging. Make sure to open the browser and browse the site first to start the processes before attaching.

How to expand VMWare virtual hard drive storage

To expand the VM’s hard drive, make sure you have enough free space in your physical harddrive to commodate the old file + the new file.

e.g: to expand the virtual hard drive from 80GB to 100GB, you need 100GB free space in the hard drive story the VD, not 20GB, but 100GB.

This is because VMWare will create a new file with the size of 100GB and copy the content from the 80GB VD over, then delete the 80GB VD

Test emails with SharePoint

use papercut

https://papercut.codeplex.com/

follow the article https://prasadpathak.wordpress.com/2014/10/31/sharepoint-using-papercut-for-testing-the-email-functionality-in-sharepoint/

Make sure the local SMTP server is created and configured and started from IIS 6.0
Disable the Simple Mail Server … service in Services
Set papercut to listen on port 25 local server