Thursday, February 17, 2011

SharePoint 'D' in 2010 is now fun!

Development/Debugging/Deployment


I was just playing around with SharePoint 2010 and Visual Studio 2010 this evening . First thing i noticed is our Life as Developers might get much simpler with SharePoint 2010.



Developing & Deploying in Moss 2007 involved multiple steps and configurations at different places. Now in 2010 its just matter of few seconds. Most of the configurations is now taken care by VS.

Development:
  • Ready made VS template available for Visual Web parts. (You can read more on this in the link mentioned below).
  • The project comes with a Web parts class , user control for dev and other components for Deployment
Debugging :

  • F5. Yes. Press F5 to Debug.
  • Internally VS would take care of all the GAC Deployments, IISResets, Attach to the appropriate w3wp Process .
Deployment:
  • VS now can also deploy your solutions to the required location with one click(available in solution explorer)
  • It builds WSP automatically using Power shell and deploys it to the mentioned location.
  • Automatically recycles the application pool.
  • It also has a retract feature available.
I found this really cool and interesting. Some of these features might have been available with VS extensions with 2008 but now are readily available in VS 2010.
It will be interesting to create Visual Studio Solution for SP projects now. :)
DOES THIS MEAN END OF an IISREST era? :) Hope so.


Reference Links:



Will be more than happy if you can share your thoughts on the same. Happy D!