After we apply this rule into the code we will able to crawler the official site.
Such a long title of error message, I got this error on the Win Server 2012, The server is running for more than 2 years and suddenly all my apps is hang.
The first things we want to check is what is the UDP Port is currently using there is 2 ways to check it.
1. Is using TCPView
2. Is using Command Prompt (netstat) it.
Open the Command Prompt “netstat -anob -p UDP > 20150414_1521.txt” It will save in this file.
We will see there is alot of list of “Dnscache” which is using PPID 3312
UDP [::]:49656 *:* 3312
Moving forward we want to know what is the PPID 3312.
tasklist /svc /fi “pid eq 3312”
svchost.exe 3312 CryptSvc, Dnscache, LanmanWorkstation,
Based on this article it said to turn off the LLMNR Listener, on the last comment
From what we capture the network traffic we saw that .48 is calling LLMNR destination 220.127.116.11 which is also state in this article:
To fix this issue I use the last article “Disabling LLMNR Causing Slow Network” and it work.
1. Download Vidalia from
2. Install Vidalia – a TOR client with GUI.
3. Wait until Vidalia tells you that Tor is working.
4. Start Google Chrome.
5. Using the Tools menus (it looks like a wrench), choose options, “Under the hood”. Scroll down to “Network” and click the “Change Proxy Setting” button.
6. Under the “Connections” tab, choose “LAN Setting” – Select Use Proxy server and enter “Localhost” and port 8118.
7. Save your work and return to the Chrome web browser. Check that you are using TOR by going to
A Green message will indicate that TOR is operating correctly. A Red message will indicate that TOR is not set up correctly.
8. Continue to surf using TOR
1. Remove the HTTP Headers
By removing the header “X-Powered-By” you make a save around 29bytes for each requests, another reason as well you doesn’t want exposing stack trace.
<httpRuntime targetFramework="4.5.1" enableVersionHeader="false" />
<remove name="X-Powered-By" />
//In Global put this
MvcHandler.DisableMvcResponseHeader = true;
When building the project in MVC, you probably will have couple Areas in the project. When the project getting bigger you probably wish it’s good to convert the Areas into new Project (Portable Areas).
Please refer to this framework MvcContrib. Continue reading
Before upgrading your MVC project to the pre-release version, it’s a recommendation you should back-up your project before proceed it.
Encounter this error message after finish upgrade the project.
“[A]System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration.HostSection. Type A originates from ‘System.Web.WebPages.Razor, Version=18.104.22.168, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ in the context ‘Default’ at location ‘C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Razor\v4.0_22.214.171.124__31bf3856ad364e35\System.Web.WebPages.Razor.dll’. Type B originates from ‘System.Web.WebPages.Razor, Version=126.96.36.199, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ in the context ‘Default’ at location ‘C:\Users\HermanTho\AppData\Local\Temp\Temporary ASP.NET Files\root\7c2a18d0\1c44d5af\assembly\dl3\c10d1615\dd169753_c0c7ce01\System.Web.WebPages.Razor.dll’.”
When you writing the code at night, probably your eyes is getting tired easier because of the brightness from the computer. Turn your browser inspection to dark style.
Get the css.
Win: Go to
C:\Users\[Your Username]\AppData\Local\Google\Chrome\User Data\Default\User StyleSheets\Custom.css
Mac: Go to
~/Library/Application Support/Google/Chrome/Default/User StyleSheets/Custom.css