Google PageSpeed
https://developers.google.com/speed/pagespeed/insights/
https://chrome.google.com/webstore/detail/google-pagespeed-insights/hfebkooaidmeboeblkkejdoepilnnjhn
http://webdevchecklist.com/
https://testmysite.thinkwithgoogle.com/
Google Analytics https://analytics.google.com/
Google Webmaster Tools
https://www.google.com/webmasters/tools/home?hl=en&pli=1
Tag Manager
https://tagmanager.google.com/
Google Trends
http://www.google.com/trends/
Structured Data Test
https://search.google.com/structured-data/testing-tool?hl=en-GB#
[.....]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters namespace abc.Filters { public class RedirectToHttpsAttribute : RequireHttpsAttribute { protected override void HandleNonHttpsRequest(AuthorizationContext filterContext) { if(filterContext.HttpContext.Request.ServerVariables["HTTP_X_FORWARDED_PROTO"] == null) { string url = "https://" + filterContext.HttpContext.Request.Url.Host + filterContext.HttpContext.Request.RawUrl; filterContext.Result = new RedirectResult(url, true); } } } } view raw gistfile1.txt hosted with ❤ by GitHub [.....]
What are callbacks?
A callback is just a way to store some things to do at a later time.
A callback function is called at the completion of a given task.
The callback takes two arguments, resolve and reject , which are both functions. All your asynchronous code goes inside that callback. If everything is successful, the promise is fulfilled by calling resolve() . In case of an error, reject() is called with an Error object.
A promise is [.....]
Configuring IIS 7.5 to send XML/JSON responses gzipped
-------------------------------------------------------------------------------
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/serverRuntime /frequentHitThreshold:"1"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/urlCompression /doDynamicCompression:"True"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-"dynamicTypes.[mimeType='application/json']"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/json',enabled='True']"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-"dynamicTypes.[mimeType='application/json; charset=utf-8']"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/json; charset=utf-8',enabled='True']"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-"dynamicTypes.[mimeType='application/javascript']"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/javascript',enabled='True']"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-"dynamicTypes.[mimeType='application/x-javascript']"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /+"dynamicTypes.[mimeType='application/x-javascript',enabled='True']"
call %windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-"dynamicTypes.[mimeType='application/x-javascript; charset=utf-8']"
call [.....]
In Request Header :
User-Agent: Fiddler
Content-Type: application/xml
Accet-Encoding: gzip,deflate
Host: 192.168.0.11:82
Content-Length: 577
[.....]