Updating a sharepoint site from web application in .Net
-
I have a requirement of updating a document libraray or a web part with certain infomration from my asp.net web applicaiton. I tried finding out the way but couldnt get anything on the web. One artical available says that I need to user Microsoft.SharePoint.dll into my asp.net web application to do so. but when i tried downloading this dll from microsoft site, an xml file is being downloaded and not dll. can somebody please help me in this regard asap. Thanking you in anticipation and quick reply.
Regards, Rajesh Khubchandani
-
I have a requirement of updating a document libraray or a web part with certain infomration from my asp.net web applicaiton. I tried finding out the way but couldnt get anything on the web. One artical available says that I need to user Microsoft.SharePoint.dll into my asp.net web application to do so. but when i tried downloading this dll from microsoft site, an xml file is being downloaded and not dll. can somebody please help me in this regard asap. Thanking you in anticipation and quick reply.
Regards, Rajesh Khubchandani
Microsoft.SharePoint.dll is at your system disk for examlpe :C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI you can find Microsoft.SharePoint.dll at there
-
Microsoft.SharePoint.dll is at your system disk for examlpe :C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI you can find Microsoft.SharePoint.dll at there
Hey, Thanks for the reply but I double checked it the Microsoft.SharePoint.dll is not available. just to inform you that i havent installed sharepoint on my machine. I am sure there must be someway or the other to interact with SharePoint site thru web application of .Net which i am not able to find out till now.... If somebody can tell me ..it will be of great help.
Regards, Rajesh Khubchandani
-
Hey, Thanks for the reply but I double checked it the Microsoft.SharePoint.dll is not available. just to inform you that i havent installed sharepoint on my machine. I am sure there must be someway or the other to interact with SharePoint site thru web application of .Net which i am not able to find out till now.... If somebody can tell me ..it will be of great help.
Regards, Rajesh Khubchandani
-
Hey, Thanks for the reply but I double checked it the Microsoft.SharePoint.dll is not available. just to inform you that i havent installed sharepoint on my machine. I am sure there must be someway or the other to interact with SharePoint site thru web application of .Net which i am not able to find out till now.... If somebody can tell me ..it will be of great help.
Regards, Rajesh Khubchandani
You can get the Microsoft.SharePoint.dll from the machine where SharePoint is installed. Then you need to add the reference of that dll into your ASP.NET application. But you won't be able to debug your code without SharePoint instance.
-
You can get the Microsoft.SharePoint.dll from the machine where SharePoint is installed. Then you need to add the reference of that dll into your ASP.NET application. But you won't be able to debug your code without SharePoint instance.
it is right! and you must deploy your application on MOSS machine
-
I have a requirement of updating a document libraray or a web part with certain infomration from my asp.net web applicaiton. I tried finding out the way but couldnt get anything on the web. One artical available says that I need to user Microsoft.SharePoint.dll into my asp.net web application to do so. but when i tried downloading this dll from microsoft site, an xml file is being downloaded and not dll. can somebody please help me in this regard asap. Thanking you in anticipation and quick reply.
Regards, Rajesh Khubchandani
Here is my approach Create a Webservice proxy in your machine to Use the standard OOTB Sharepoint Web service to update a document library or web part http://www.crsw.com/mark/sharepoint/Wiki Pages/SharePoint Web Services.aspx or Write your Webservice in the MOSS Server to update the MOSS site using the Sharepoint DOM Object If you use your custom web service you may not need sharepoint dll in your machine. Not sure about the standard web service chak
Chakrapani Ramachandran
-
You can get the Microsoft.SharePoint.dll from the machine where SharePoint is installed. Then you need to add the reference of that dll into your ASP.NET application. But you won't be able to debug your code without SharePoint instance.
Hi, Does your .NET application is running under the same physical server as your SharePoint site? If not, you can use SharePoint Web Services to achieve some basic functions (working with librairies, etc.) but I'm not sure you'll be able to work at a web part level; you may have to write your own web service that will wrap your actions using the SharePoint object model. This web service needs to be deployed on the same IIS server as SharePoint. Even if you have access to the Microsoft.SharePoint dll, if you need remote access, it will not help you in this scenario. This DLL usually runs within a SharePoint server (or farm). Regards, Alain Lord MVP SharePoint Server SharePoint Quebec User Group Lead