Skip to main content

Posts

Showing posts with the label Concepts

Understanding the Global Assembly Cache (GAC) and Managing , Copying Dlls from Global Assembly Cache

Most of you may confuse why there are two GACs available in the machine. C:\WINDOWS\assembly C:\WINDOWS\Microsoft.NET\assembly What is GAC GAC is a shared location in your machine that keeps assemblies, Dlls for common sharing purpose. Assume that you are using system.data.dll in your project. so one option is you can place the dll with your project. but assume you are creating another project which is also using the same .net assembly system.data.dll. so it is better to have it in a common place which that can be referred. since it is a common framework dll and used separately from your application logic it is good to place in a shared place for easy of maintenance and update process. What is  C:\WINDOWS\assembly Previous CLR s uses this place as its common location for Dlls. previous CRLs includes versions 1.0,1.1,2.0. these CRLs versions are used by before .NET framework 4. .NET Framework 1.0  - CLR v1.0 .NET Framework 1.1  - CLR v1.1 .NET Framework 2.0 ...

Ghosted vs Unghosted in SharePoint

though these terms are pretty simple most of the people have still confuse with these terms.   SharePoint pages are rendered using physical page template and content from content database.  These pages are not customized . thus SharePoint can offer these pages to every requesting location simply by merging physical file template and  content from content DB . these kind of files are named as Ghosted files.     Users can customize content pages (using SharePoint Designer or Visual studio) that may also change the physical  template file. thus SharePoint can no longer  keep the standard file and customize file in the physical location. thus SharePoint keeps changed template file also in the content database. These files are called as Unghosted Pages .   Reghosting is a concept of revert back to definition .