We have a class library where we store a lot of things that we often use when developing sharepoint. How would you do that? Now the best thing is to have it in a separate solution and deploy it so that the assembly is deployed in the GAC. Thus, we guarantee that the assembly will be deployed at all levels of applications and is available.
Is there a better approach than this?
GAC is usually your best bet. Like providing deployment across all applications, it is also easier in terms of security.
GAC, , ; , , . , .
, :
GAC ( )
BIN. bin (, C:\Inetpub\wwwroot\wss\VirtualDirectories\80), web.config. , , , .
: http://msdn.microsoft.com/en-us/library/cc768621.aspx
, GAC.
, , SafeControls web.config.
http://grounding.co.za/blogs/brett/archive/2008/05/23/sharepoint-register-an-assembly-as-a-safe-control-in-the-web-config-file.aspx
GAC, , -.
, gac. , , -, GAC. - , CAS sharepoint bin.
.
, BIN, , , .
Source: https://habr.com/ru/post/1697374/More articles:Shortcut for switching between markup and code - visual-studio-2008Примеры MSMQ в С++? - c++Performance improvements moving from g ++ / gcc 3.2.3 to 4.2.4 - gccLong-lived interactions RESTful - restWhat is the best replacement for windows rand_s on Linux / POSIX? - securityHow can a task wait for multiple vxworks queues? - embeddedWhat are the powers of Google Charts? - google-visualizationPython subprocess issue with ampersands - pythonПоддержка URL-адресов, подобных/подобным: продукт в Ruby on Rails? - ruby-on-railsКак реализовать IEqualityComparer на неизменной родовой структуре Pair? - genericsAll Articles