Debugging SharePoint 2010 WebParts is easy. Since the webpart is being deployed from the VS, you can easily attach the .net w3wp.exe process and set the breakpoints.
You would then need to refresh the page so that webPart loads in.
Tip - If you need to debug some changes that you made in the webPart and does not want re-deploy the whole soultion, Just drang and drop the assembly in GAC (dont forget to uninstall the old one first) and recycle the iis application pool for the web applicaltion.
I will attach the screenshots soon.
Debug Sharepoint 2010 Webparts
Posted by
Isha Attlee
Labels:
SharePoint 2010
Subscribe to:
Post Comments (Atom)
Disclaimer
This is a personal weblog. The opinions expressed here represent my own and not those of my employer or anyone else. Should you have any questions or concerns please e-mail me at sharepointprogrammingblogger@gmail.com .
Copyright (c) 2010 @ myshaepointwork.blogspot.com. All rights are reserved.Do Not Copy.
Copyright (c) 2010 @ myshaepointwork.blogspot.com. All rights are reserved.Do Not Copy.
0 comments:
Post a Comment