Chaks' Corner

SharePoint and other stuffs

30. September 2008 11:09
by Chaks
0 Comments

WCF – Handling Errors – Part 1

30. September 2008 11:09 by Chaks | 0 Comments

Earlier in my post, I discussed  how you can structure WCF projects. Few things are still missing in that structure, especially Error Handling. With the current architecture, which is shown below, we can handle Errors and send meaningful information back to the Client. This is done using FaultE... [More]

27. September 2008 05:55
by Chakkaradeep
1 Comments

Extending SharePoint by Adding Custom Actions

27. September 2008 05:55 by Chakkaradeep | 1 Comments

So, you want to add your custom items in the SharePoint menus or toolbars ? You can do so by adding your own Custom Action. Custom Action is a SharePoint Feature which makes your life easier if you want to customize your site. Some examples of where you might want to add items may be: 1) In the Up... [More]

26. September 2008 14:45
by Chakkaradeep
0 Comments

How do you structure your WCF projects?

26. September 2008 14:45 by Chakkaradeep | 0 Comments

WCF projects do not always tend to stay in one project solution. As the business requirement grows, we see that we might need to break up our WCF solution into various bits. Here is a way I handle my WCF projects. I break up my WCF project into the following bits (each being a class library in Visu... [More]

26. September 2008 00:48
by Chakkaradeep
1 Comments

Code Snippets: Upload and Download a file from Sharepoint Document Library

26. September 2008 00:48 by Chakkaradeep | 1 Comments

Here are sample code snippets to upload and download a file from Sharepoint Document Library Upload a File: 1: public static void UploadDocument(string siteCollectionUrl, 2: string siteUrl,string libraryName) 3: { 4: using (SPSite hostSite ... [More]

25. September 2008 03:56
by Chakkaradeep
0 Comments

WCF and Sharepoint - System.IO.FileNotFound Exception

25. September 2008 03:56 by Chakkaradeep | 0 Comments

I am currently building a WCF service that has some Sharepoint code in it. The service uses wsHttpBinding. The service is hosted in Windows Server 2003 running IIS 6 with integrated windows authentication mode. It was really strange to me when the service threw this (really a weird) exception: T... [More]

1. September 2008 08:39
by Chakkaradeep
1 Comments

IE 8 - Loosely-Coupled Internet Explorer (LCIE)

1. September 2008 08:39 by Chakkaradeep | 1 Comments

I blogged about IE8, Tab Groups and Task Manager earlier and mentioned about many iexplore.exe processes in the Task Manager. It turns out to be that there is nothing wrong with IE8. Its the new feature called Loosely-Coupled Internet Explorer (LCIE) which is introduced in IE8. From the IE8 web sit... [More]