{"id":179,"date":"2023-08-07T11:21:11","date_gmt":"2023-08-07T11:21:11","guid":{"rendered":"https:\/\/gsitlibrary.com\/docwebapi\/docs\/web-api-gsit-library\/getting-started-7\/dependencies-and-references\/"},"modified":"2023-08-09T06:42:13","modified_gmt":"2023-08-09T06:42:13","slug":"dependencies-and-references-179","status":"publish","type":"docs","link":"https:\/\/gsitlibrary.com\/docwebapi\/docs\/web-api-gsit-library\/getting-started-7\/dependencies-and-references-179\/","title":{"rendered":"Dependencies And References"},"content":{"rendered":"\n<ol class=\"wp-block-list\">\n<li>Add dependencies to the project :\n<ul class=\"wp-block-list\">\n<li>(1) AspNetCore.Reporting&#8221; Version=&#8221;2.1.0&#8243;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>(2) Microsoft.AspNetCore.Authentication.JwtBearer&#8221; Version=&#8221;5.0.2&#8243;<\/li>\n\n\n\n<li>(3) Microsoft.AspNetCore.HttpOverrides&#8221; Version=&#8221;2.1.1&#8243;<\/li>\n\n\n\n<li>(4) Newtonsoft.Json&#8221; Version=&#8221;13.0.1&#8243;<\/li>\n\n\n\n<li>(5) Npgsql&#8221; Version=&#8221;5.0.3&#8243;<\/li>\n\n\n\n<li>(6) Swashbuckle.AspNetCore&#8221; Version=&#8221;6.2.3&#8243;<\/li>\n\n\n\n<li>(7) System.Management&#8221; Version=&#8221;5.0.0&#8243;<\/li>\n\n\n\n<li>(8) System.Text.Encoding.CodePages&#8221; Version=&#8221;5.0.0&#8243;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Add the GSITLibrary as an assembly reference from the source file : <br>\u2026\\GSIT-LEARN\\Library\\GSITLibrary\\GSITLibrary\\bin\\Release\\net6.0\\ GSITLibrary.dll<\/li>\n\n\n\n<li>After adding dependencies, the CRM project looks like this :<br><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"370\" class=\"wp-image-184\" style=\"width: 550px;\" src=\"https:\/\/gsitlibrary.com\/docwebapi\/wp-content\/uploads\/2023\/08\/1.5.01-Dependencies.png\" alt=\"\" srcset=\"https:\/\/gsitlibrary.com\/docwebapi\/wp-content\/uploads\/2023\/08\/1.5.01-Dependencies.png 459w, https:\/\/gsitlibrary.com\/docwebapi\/wp-content\/uploads\/2023\/08\/1.5.01-Dependencies-300x202.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/li>\n\n\n\n<li>Change Workspace name in all files in project.  Open file Program.cs.  <br>Use find and Replace to replace &#8220;namespace GSITServer&#8221; with &#8220;namespace CRM&#8221;.<br>Click the replace all button to replace the namespace in all files in the project.<br><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"217\" class=\"wp-image-186\" style=\"width: 550px;\" src=\"https:\/\/gsitlibrary.com\/docwebapi\/wp-content\/uploads\/2023\/08\/1.5.02.-Chage-Name-Space.png\" alt=\"\" srcset=\"https:\/\/gsitlibrary.com\/docwebapi\/wp-content\/uploads\/2023\/08\/1.5.02.-Chage-Name-Space.png 396w, https:\/\/gsitlibrary.com\/docwebapi\/wp-content\/uploads\/2023\/08\/1.5.02.-Chage-Name-Space-300x118.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/li>\n\n\n\n<li>Done for all this initial process, you can enter <a href=\"https:\/\/gsitlibrary.com\/docwebapi\/docs\/web-api-gsit-library\/getting-started-7\/hello-world-17\/\">Hello World.<\/a><br><\/li>\n<\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":7,"menu_order":4,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-179","docs","type-docs","status-publish","hentry"],"blocksy_meta":"","_links":{"self":[{"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/docs\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":8,"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/docs\/179\/revisions"}],"predecessor-version":[{"id":189,"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/docs\/179\/revisions\/189"}],"up":[{"embeddable":true,"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/docs\/7"}],"wp:attachment":[{"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/gsitlibrary.com\/docwebapi\/wp-json\/wp\/v2\/doc_tag?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}