A través de PowerShell podemos obtener el número de líneas de código que tenemos en nuestra solución (o en la carpeta que queramos). Nos basta con obtener el directorio recursivamente, especificar el tipo de fichero (extension) y lanzar el comando que obtiene las líneas: dir -Recurse *.* | Get-Content | Measure-Object -Line
Etiqueta: number
Eliminar una App de SharePoint via Power Shell
1. Abrimos la SharePoint Management Shell. 2. Ejecutamos el comando que nos obtiene la app, ya sea por nombre o por identificador: $app = Get-WmiObject -Class Win32_Product -Filter "Name='MY APP NAME'" $app = Get-WmiObject -Class Win32_Product -Filter "IdentifyingNumber='MY APP ID'" 3. Ejecutamos el comando que la desinstala: $app.Uninstall()
Añadir Vista a Entity Framework sin Primary Key
En ocasiones no podemos añadir una Vista de SQL Server a nuestro modelo de Entity Framework y nos dice que es porque la vista no contiene ninguna "Key". Para resolver este problema debemos tener en cuenta que No se pueden crear Primary Keys en Vistas. La solución para por crear una columna nueva autonumérica. Seguiremos …
Sigue leyendo Añadir Vista a Entity Framework sin Primary Key
Password Requirements for Windows Server Active Directory
Basically: Password must not contain the user's entire Account Name. Password must contain an Uppercase character, a Lowercase character and a number (0 through 9). More info: http://technet.microsoft.com/en-us/library/cc786468%28v=ws.10%29.aspx
Maximum number of items that can be serialized or deserialized in an object graph is ‘65536’. Change the object graph or increase the MaxItemsInObjectGraph quota
Si nos aparece este error especificado en el título podemos solucionarlo aumentando el valor de MaxItemsInObjectGraph del siguiente modo: Error Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. Solution: Edit app.config <configuration> [...] <system.serviceModel> [...] <client> <endpoint address="URL" …