Monthly Archives: December 2015

SharePoint webpart – if you don’t want it to load twice

You developed a visual webpart but you found your code in page_load was called twice. What do you do? You should check if it is a post back. How? Here is the code: if(!this.Page.IsPostBack)

Posted in Uncategorized | Leave a comment

Bought a pole that can be used to change bulbs

pole_bulb_attachment

Posted in Uncategorized | Leave a comment

How to find out available ports?

User this command, for example: netstat -anp tcp grep 9191 Also, you can use “netstat -ano” to find all active connections and which port they are listening on. And then you can kill the process from Task Manager if you are … Continue reading

Posted in Uncategorized | Leave a comment