Prasad Bolla's SharePoint Blog

Click Here to go through the Interesting posts within my Blog.

Click Here to go through the new posts in my blog.

Friday, January 13, 2012

What are the steps to deploy a SharePoint web part?


1. Open the visual studio.
2. Create project with template SharePoint web part.
3. Complete all your code & build the dll in release mode.
4. Copy your dll in your extranet.
5. Now open your server.
6. Go to your SharePoint site web.config.
7. Copy safe control & paste it in your notepad.
8. Now open your extranet.
9. Now copy the dll & paste it in your SharePoint site app bin folder.
10. Now open the reflector & generate your public key token for your dll.
11. Now modify it with the existing safe control you have copied in your notepad.
12. Change the namespace also.
13. Now reset your server.

No comments:

Post a Comment