{"id":141,"date":"2010-12-12T16:37:00","date_gmt":"2010-12-12T22:37:00","guid":{"rendered":"https:\/\/www.chrystalsander.com\/blog\/?p=141"},"modified":"2010-12-12T16:37:00","modified_gmt":"2010-12-12T22:37:00","slug":"to-deploy-a-webpart-to-sharepoint","status":"publish","type":"post","link":"https:\/\/www.chrystalsander.com\/blog\/?p=141","title":{"rendered":"To Deploy A WebPart To SharePoint"},"content":{"rendered":"<p>1.  At LEAST one of the following:<\/p>\n<ul>\n<li>a.   Assign a strong name<\/li>\n<li>b.   Mark the assembly with the AllowPartiallyTrustedCallers attribute<\/li>\n<li>c.   Configure the <trust level=\"\"> attribute inside your SharePoint site&#8217;s web.config file.<\/trust><\/li>\n<\/ul>\n<p>2.   Mark your assembly as a SafeControl inside of your SharePoint site&#8217;s Web.Config file.<\/p>\n<p>3.   Add your web part library to the site&#8217;s web part gallery.<\/p>\n<p>4.   Add web parts from your assembly to pages in your site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. At LEAST one of the following: a. Assign a strong name b. Mark the assembly with the AllowPartiallyTrustedCallers attribute c. Configure the attribute inside your SharePoint site&#8217;s web.config file. 2. Mark your assembly as a SafeControl inside of your SharePoint site&#8217;s Web.Config file. 3. Add your web part library to the site&#8217;s web part &hellip; <a href=\"https:\/\/www.chrystalsander.com\/blog\/?p=141\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;To Deploy A WebPart To SharePoint&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[],"_links":{"self":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/141"}],"collection":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":0,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chrystalsander.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}