.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

Setting of sharepoint 2010 custom WCF service "web.config" file for both HTTP and HTTPS

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :WCF
 

Hi,

        I have created a custom SharePoint 2010 WCF service that is deployed to 14\ISAPI\MYService folder. The issue i am facing is that this service should be accessible from all Web applications, that can be HTTPS (i.e. SSL) enabled or normal HTTP. If i am making in web.config file for web application that has HTTPS enabled, then it fails for Web applications having normal HTTP configuration. My requirement is that when this WCF service is deployed it should accessible from all web applications that can be HTTPS or HTTP both. I went through number of blogs and tried whatever option they had suggested but none of them worked for me :(. Here are some of the blog that i tried:-

More Related Resource Links

Video: SharePoint 2010: Creating Custom Service Applications

  
Do you need more than the services provided by SharePoint? In this advanced session targeted at high-end developers, you will learn how to create a custom SharePoint service. (Length: 36:31)

User permissions in SharePoint 2010 act differently in http and https

  
I installed SharePoint 2010, created a site (complete with a document library), and assigned user permissions.  Additionally, I set up certificate authentication for all users.  Two problems occur: 1. As the system administrator, when I access the https site, I no longer have permissions to add/edit users 2. When user's, who have permissions to edit/add a document/folder click on "Add document" or the folder icon to add a new folder, they get an error. Any help is much appreciated.

Force SharePoint 2010 Webapplications to use https intead of Http

  

Guys,

Environment :

Sharepoint 2010 server enterprise, Website uses host headers, impleted wild cart cert and reqeusts over http and https are both working fine.

i want to force user to use https instead of http so that any request comming in over http is automatically redirected to https, i have tried the following but did not work for me :

1. IIS>SSL Settings>  select Require SSL, but with this option all requests with http are dropped.

2. IIS>http Redirect> enter the same url but with HTTPS, this bring the IE request in a loop, might be becuase i am using host headers but IE keeps thinking forever.

Can any one suggest what is the best way to handle this issue.

thanks

sameer


Deploy and update script file with custom ribbon tab to Sharepoint Server 2010

  

Hey everyone,

currently I'm building a custom tab for Sharepoint Server 2010 and at the moment I'm stuck on the following issue,
with the first debug deployment Visual Studio sends the .js file that provides some functions for the ribbon elements from Scripts folder in the VS project
to Sharepoint Server.
However, it won't apply any changes I did on the script afterwards to the file on the server.
So the effect is, that as soon as I do the next debug, the previous script is being used by Sharepoint and the new version, containing the new code, is left aside.

It seems to me as if Visual Studio would only deploy the .js file just once and then rely to this copy, maybe there are some configuration settings to make, but after hours of research, I still can't figure out where things do go wrong or what configuration to apply to update the script on the server.
I couldn't locate the file on hdd either, even searched the whole fs but the results showed only the new script file.

Any help on this would be very much appreciated, this issue drives me nuts and consumes plenty of time ;)

Workaround at the moment: each time the script is changed, set up new project... :D

Greets, Norman

P.S: Yes, I did flush

Deploy and update script file with custom ribbon tab to Sharepoint Server 2010

  

Hey everyone,

currently I'm building a custom tab for Sharepoint Server 2010 and at the moment I'm stuck on the following issue,
with the first debug deployment Visual Studio sends the .js file that provides some functions for the ribbon elements from Scripts folder in the VS project
to Sharepoint Server.
However, it won't apply any changes I did on the script afterwards to the file on the server.
So the effect is, that as soon as I do the next debug, the previous script is being used by Sharepoint and the new version, containing the new code, is left aside.

It seems to me as if Visual Studio would only deploy the .js file just once and then rely to this copy, maybe there are some configuration settings to make, but after hours of research, I still can't figure out where things do go wrong or what configuration to apply to update the script on the server.
I couldn't locate the file on hdd either, even searched the whole fs but the results showed only the new script file.

Any help on this would be very much appreciated, this issue drives me nuts and consumes plenty of time ;)

Workaround at the moment: each time the script is changed, set up new project... :D

Greets, Norman

P.S: Yes, I did flush

Sharepoint 2010 custom file crawling from user submission C#

  

Ive currently got a user control on a search page that displays related documents for a particular record based on the GUID. What I have is an integration between ms CRM and sharepoint. i.e got an iframe in CRM pointing to sharepoint showing related documents for a particular record. All that is working well but now my issue is this:

When a user uploads a document from crm, it uploads succesfully but as its not crawled, it wont appear in their iframe view. Initially in my code ive started an incremental crawl when a document is succesfully submitted spcs.StartIncrementalCrawl() the problem with this is that this typically takes about 3-4mins. what I want to do (if possible) is crawl the exact document/url uploaded. I see theres the StartAddresses.Add method in the ContentSource class but I cant get this to work as the URI i provide (url of the document url) causes an error.

Anyone have an example of this which is NOT a WebContentSource or does anyone have any ideas how I could do this?

Thanks

 


we

Consuming SharePoint 2010 Web Analytics Service in a Custom Web Part

  

Hi,

I am writing a custom webpart to show up the Top Queries. As per my understanding we would need to use the Web Analytics WCF Service/Proxy in our custom Web Part code and try and access the method that returns the Top Queries.

Please let me know the name of the Web Analytics WCF Service/Proxy to be used and the if you can get me the method. I have been trying to search for the name of the Web Analytics Web Service/Proxy, but in vain. Looks document is at scarse.

Appreciate your help here.

 

 


PC

Creating Custom SharePoint 2010 Service Applications and Consumers (Visual How-To)

  
Learn to create custom SharePoint 2010 service applications for robust, scalable, and fault tolerant shared services in this visual how-to video, overview, and code sample.

Sample: Creating Custom SharePoint 2010 Service Applications and Consumers

  
Explore the code in this visual how-to article as you learn to create custom SharePoint 2010 service applications for robust, scalable, and fault tolerant shared services.

Video: Creating Custom SharePoint 2010 Service Applications and Consumers

  
Watch this visual how-to video as you learn to create custom SharePoint 2010 service applications for robust, scalable, and fault tolerant shared services.

SharePoint 2010 + Custom WCF Service in SharePoint + Authentication ??

  

I have been roaming arround the forum for this info, but I am unlikely able to find it...

I have created a WCF service hosted in SharePoint 2010 ISAPI folder, using the "Microsoft.SharePoint.Client.Services.MultipleBaseAddressWebServiceHostFactory" (just as an example) to be able to get back SPContext during calls done to my service.

I made a nice Silverlight app hosted in" _Layouts/MyApp". when I try to access my service I just get a 401...

Is there sonething Iam missing to get my SL app authticated correctly by the user running the page where this SL app is hosted ??

Cheers,

Ben


ClientAccessPolicy file in SharePoint 2010

  
I am upgrading my Silverlight demo code from the old beta to beta 2 and see that there are a few new considerations for the deployment of ClientAccessPolicy.xml files. In a previous post I demonstrated how to do this for SharePoint 2007. The heartburn that I get with that approach is any site collection owner or designer can drag the file into the site collection and open the site up to unwanted client access issues. In 2010 the virtual path provider no longer serves the files from the root of the site collection

Unable to search Custom User Property Created in User Profiles in SharePoint 2010

  

Hi ,

I have created a custom user property,and created metadata property and added mapping to it, still i m not able to Search in People,Please advise


Quick Note: Create Custom List Definitions in SharePoint 2010

  
In this exercise, you create a custom list definition in Microsoft SharePoint 2010 and then create an event receiver that is triggered when the list is used.

Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverlight 3

  
Learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Video: Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverli

  
Watch the video that accompanies the MSDN article and learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Quick Note: Create Custom Content Types in SharePoint 2010

  
Learn how to create a custom content type. Then you add two fields to the content type: a new text field and a field that already exists in web site.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend