Evitar resultados de cache en las llamadas REST a SharePoint (HTTP 304)

Por defecto, si el contenido que estamos obteniendo no ha cambiado, obtendrá la respuesta de la cache del navegador, dándonos un código HTTP 304 (Not Modified). Un ejemplo en el que nos puede dar problemas es si trabajamos con una query para obtener una lista en SharePoint y utilizamos el $expand para incluir tambien los …

Sigue leyendo Evitar resultados de cache en las llamadas REST a SharePoint (HTTP 304)

Borrar DLL de la GAC

El método correcto de borrar DLLs de la GAC es el siguiente: 1. Abrimos la consola de Visual Studio (Developer Command Prompt for VS2013 en el caso de Visual Studio 2013). 2. Navegamos hasta el directorio donde están nuestras DLL (cd C:WindowsMicrosoft .NETassemblyGAC_MSIL). 3. Ejecutamos el siguiente comando: gacutil -u NOMBRE_DE_MI_DLL Ejemplo (Borrar la DLL …

Sigue leyendo Borrar DLL de la GAC

Find Public Key Token of my Project in Visual Studio 2012

In order to find the public key token of your project you need to follow this: 1. Open the Developer Command Prompt fot VS2012. 2. Write this command (Use full path of your DLL file): sn -T C:MyDLLdirectoryMyDLLfile.dll 3. Automatically it shows you your token: Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.17929 Copyright …

Sigue leyendo Find Public Key Token of my Project in Visual Studio 2012

Restart Distributed Cache Service

If you have a server dedicated to the Distributed Cache of SharePoint, its memory can increase until 100% because of the DistributedCache process. If you look at the Task Manager you can see if that happens: In order to solve this, you’ve to restart the service through the SharePoint Central Administration following this steps: 1. …

Sigue leyendo Restart Distributed Cache Service