Tunning de servicios web en C#

+ What is http://tempuri.org
https://stackoverflow.com/questions/180985/what-is-tempuri-org

+ Change http://tempuri.org
https://blogs.msdn.microsoft.com/endpoint/2011/05/12/how-to-eliminate-tempuri-org-from-your-service-wsdl/

+ WSDL-first approach: How to specify different names for wsdl:port and wsdl:binding?
https://stackoverflow.com/questions/4704148/wsdl-first-approach-how-to-specify-different-names-for-wsdlport-and-wsdlbindi?noredirect=1&lq=1

+ Modify wsdl port name
https://stackoverflow.com/questions/32758036/modify-wsdl-port-name

Cosas de la factura de la luz

Simulador de la factura de la luz de la CNMC: https://facturaluz.cnmc.es/
para ello hará falta un CSV con los consumos.

Cálculo del término de energía de la factura eléctrica: https://www.esios.ree.es/es/lumios

Ej: tarifa peaje 2.0 A del 07/12/2016 al 07/01/2017 con un consumo de 250kWh
https://www.esios.ree.es/es/lumios?rate=rate1&p1=250&start_date=07-12-2016T00:00&end_date=07-01-2017T00:00

Administración electrónica

Plataforma de validación de firma electrónica @firma: https://administracionelectronica.gob.es/ctt/afirma
Servicios Comunes de Firma Electrónica: https://administracionelectronica.gob.es/pae_Home/pae_Estrategias/Racionaliza_y_Comparte/elementos_comunes/Servicios_Comunes_Firma_Electronica.html
FAQ: https://administracionelectronica.gob.es/pae_Home/pae_Estrategias/Racionaliza_y_Comparte/elementos_comunes/Servicios_Comunes_Firma_Electronica/FAQ-AFIRMA.html#.UoobRnrW5pg

Sharepoint y CMIS

Sharepoint 2013 trae CMIS como funcionalidad nativa [1] y [2]
Hay conectores en c#: DotCMIS [3]
DotCMIS y PortCMIS: https://chemistry.apache.org/dotnet/dotcmis.html (diferencias: https://chemistry.apache.org/dotnet/dotcmis-vs-portcmis.html )

Comparativas entre Sharepoint y Alfreso:

Guías.

CMIS

CMIS 1.0 vs 1.1
https://es.wikipedia.org/wiki/Content_Management_Interoperability_Services
Changes for the CMIS 1.1 specification: http://docs.oasis-open.org/cmis/CMIS/v1.1/errata01/os/CMIS-v1.1-errata01-os-complete.html#x1-70005
http://www-01.ibm.com/support/docview.wss?uid=swg27047332

Alfresco y CMIS 1.1
http://docs.alfresco.com/4.2/pra/1/concepts/cmis-1.1-intro.html

Referencias

Paginación en Asp.net MVC

Paginación en MVC.

+ http://www.asp.net/mvc/overview/getting-started/getting-started-with-ef-using-mvc/sorting-filtering-and-paging-with-the-entity-framework-in-an-asp-net-mvc-application (en el apartado “Add Paging to the Students Index Page”)
+ http://www.asp.net/mvc/overview/older-versions-1/nerddinner/implement-efficient-data-paging (que es el mismo que http://nerddinnerbook.s3.amazonaws.com/Part8.htm )

Inicialización de aplicaciones en IIS > 8.0

preloadEnable y startModehttps://blogs.msdn.microsoft.com/vijaysk/2012/10/11/iis-8-whats-new-website-settings/

Application Initialization <applicationInitialization>: https://www.iis.net/configreference/system.webserver/applicationinitialization

IIS 8 What’s new – Website  https://blogs.msdn.microsoft.com/vijaysk/2012/10/11/iis-8-whats-new-website-settings/

When you set the startMode property of your application pool to AlwaysRunning a worker process is spawned as soon as IIS starts up and does not wait for the first user request. But this does not mean the web application is initialized.

When you set preloadEnabled to true, IIS will simulate a user request to the default page (can be changed with initializationPagemetabase setting) of the website/virdir so that the application initializes. The request is not logged in the IIS logs.

Ideas de ASP.NET MVC

Action Filters.
An action filter is an attribute that you can apply to a controller action — or an entire controller — that modifies the way in which the action is executed

http://www.asp.net/mvc/overview/older-versions-1/controllers-and-routing/understanding-action-filters-cs
http://www.asp.net/mvc/overview/older-versions/hands-on-labs/aspnet-mvc-4-custom-action-filters
https://msdn.microsoft.com/es-es/library/dd381609(v=vs.100).aspx
Ej: CoieControladorBase

Qué hacer cuando intentamos comprobar el valor de algo en sesión y esta no existe.
http://stackoverflow.com/questions/759795/c-sharp-cannot-check-session-exists

Rendimiento: medir tiempo empleado
http://stackoverflow.com/questions/1047218/benchmarking-small-code-samples-in-c-can-this-implementation-be-improved
http://stackoverflow.com/questions/1622440/benchmarking-method-calls-in-c-sharp