Blog Archives

Remember the callback daze

Javascript is everywhere.. it took off to be the most predominant language that applications are developed on both server (node.js)  &  client side (web, mobile, desktop) with plethora of technologies & frameworks.  While coding/debugging nodejs modules, I understand the asynchronous pattern of callbacks functions and

Tagged with: ,
Posted in JavaScript, Node.JS

Blogging: Re-Resurrection

I am not a good blogger, (admitted). but I wanted to stick to the habit of writing/blogging regularly for several reasons, one of the primary being that “Writing makes you smarter“. Nathanmarz nailed it in his blog “You should blog even

Posted in Blogging

To set the Title for a BPEL instance Name in Oracle SOA 11G.

use ora:setCompositeInstanceTitle() in Java_Embedding or in an Assign Statement. for example : puts the instance name as “LOGIN:User1” in the em console

Posted in ORACLE SOA 11G, Oracle SOA BPEL, SOA BPEL 11g

Prevent CSRF (Cross Site Request Forgery) Attacks in SharePoint Application Pages.

Cross-Site Request Forgery (CSRF) is an attack outlined in the OWASP Top 10 whereby a malicious website will send a request to a web application that a user is already authenticated against from a different website.  Much detailed & better

Posted in C#, Sharepoint 2010

Deploying referenced project assemblies to GAC through sharepoint WSP

To deploy referenced project assemblies to GAC through SharePoint WSP: 1. Open the Package designer in the SharePoint project. 2. Select the Advanced tab. 3. Click the Add button. 4. Select the Add Assembly from Project Output menu item. 5.

Posted in Sharepoint 2010

Get maxPwdAge for a Domain in AD.

Get Domain level directory entry with username/password, get the property value for ‘maxPwdAge‘ (which would be System.__ComObject) Convert System.__ComObject to datetime/int. We have to use COM Interop Libraries for this one, ActiveDs.dll (you can find it on the web) For

Posted in Active Directory, C#

“Please close SPWeb objects when you are done with all objects obtained from them, but not before”

DO NOT use SPList directly from methods in webparts & application pages. SPList is a sharepoint object & will instantiate a new SPWeb Object, if used outside of its parent SPweb object. Always perform operation on SPObjects with in the

Posted in Sharepoint 2010