Get SharePoint WebApplication/Application Pool owner's password

Hi All,I was trying to get the username and the password for the sharepoint webapplication owner.after long searching in this thing I came up with one short custom solution and this can be done like this:SPWebApplication webApp = SPContext.Current.Site.WebApplication; string userName =webApp.ApplicationPool.Username; string password == webApp.ApplicationPool.Password; this gets the username and password of the Application … Read more

Exciting Tool – stsadm

Hello All, We all know that sharepoint central administration is the great UI which allows us to to all administration operation for the sharepoint. but there is something more powerful command line tool in sharepoint known as STSADM. location:- 12\BIN\STSADM.EXE here is the link to all stsadm commands : all stsadm commands there is some … Read more

Working with SharePoint Item Events

Hello All, before some days I was working with the SharePoint list items and their events. I just wanted to add small suggestion here that while working with the SPItemEventReceiver class or with the class that inherits from SPItemEventReceiver, we oftenly override the methods like ItemAdding , ItemAdded, ItemUpdating, ItemUpdated…..etc so many times scenario comes … Read more

Get HTML of .aspx page

Hello All, before some days I was working with the .aspx pages and got in the situation that I needed the source of the page from code. I am posting this small code snippet might be useful for others also (Note:- There might be some issue while getting html source from the web page due … Read more

SharePoint Tool – wspbuilder

Hello All,one of great tool which I know in sharepoint development is wspbuilder.It is console application that creates SharePoint Solutions files based on a folder structure.WSPBuilder will automatically traverse a “12” folder structure and creates a SharePoint solution manifest.xml and the wsp file based on the files it finds. Therefore you do not need the … Read more

Sharepoint site and Farm Backup Stratergies

Hello All,since many days I was searching on the way to perform sharepoint site backup and restore.I came across many documents and many web pages containing such Information.Finally I am summarizing the whole story which is very powerful. Sharepoint BackUp/Restore Using Central Administration Tool:As we all know that sharepoint central administration tool (UI) is a … Read more

Yeahh!! I have a blog now :D

Hello Friends,Since many days I was having a thought revolving in my mind that I should have a blog!!and today I have created one, and this is the first post from me!!actually this feels nice to have a blog to share your ideas and thoughts across your all friends.I have created this blog to have … Read more