In the previous post, I’m using chocolatey to install all my apps, when reformat my windows. I just notices in Win 10 powershell is includes package manager build-in out of box, Thanks MSFT. Continue reading
In simple apps, majority of the times one apps will only use 1 db (master) (read and write) and cluster (read only) which is good for the reporting.
We need to have 2 DbContext
After I upgrade my Win 10 to latest technical preview 10074 and upgrade my VS 2015 to RC. I got a lot of error into my project when I build it. I watch the Build 2015 to figure out what it has changes. Usually I using “k ef add migration addProfile” it not going work anymore. check out this docs the latest asp.net 5. http://docs.asp.net/en/latest/ DNX (Dot Net Execution Environment) dnx . ef migration add addProfile
Finally Visual Studio able to run on Windows, Mac and Linux.
Today Build 2015 MSFT announce Visual Studio Code is a lightweight Code Editor.
In normal development, we usually use the IDE to build our project.
We can write powershell script to do this for us, it is really reliable and efficient way to build our project and upload the compile source to the server.
Sometimes in the development we always commit into the master but at the end we want to make our branch source become master.
I feel this is easier way to do it.
git branch -m master abandonmaster //Move the master to Branch abandonmaster
git branch -m branchName master //Move the branchName to master
git push origin master //push master to remote
git push origin abandonmaster //pust abandonmaster branch to remote
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 18.104.22.168 which is also state in this article:
To fix this issue I use the last article “Disabling LLMNR Causing Slow Network” and it work.