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


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

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

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#
 

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




View Complete Post


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)

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

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

  

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:-

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.

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.

Quick Note: Create Lists with Custom Content Types in SharePoint 2010

  
Learn how to create a list in SharePoint Server 2010 and associate it with a new content type. Next, you disassociate the list from the content type and then delete the list.

Video: Creating Custom Ranking Models in SharePoint 2010 Search

  
In SharePoint search you can tune the weighting that search uses for the results and create custom ranking models to return the results the user is expecting. (Length: 2:28)

Sharepoint 2010 Formbased Authentication and Search

  
Hi All, I have configured FBA with SQLMembership Provider in sharepoint 2010 site So, now I am able to login with both FBA and Windows authentication but I am not able to Search the content. Note : I have not extended the site like sharepoint 2007 Any Idea Thanks Saumil Thakkar

Creating Custom Business Connectivity Services Connectors Using SharePoint Server 2010

  
Learn how to create a Business Connectivity Services (BCS) custom connector to integrate data sources into SharePoint Server 2010.

Claims Tips: Learning About Claims-Based Authentication in SharePoint 2010

  
Use these five tips for guidance in solving problems related to using and configuring claims.

SharePoint 2010 Search Service Application: "All Content" scope contains 0 items?

  
I've encountered a nasty bug in our setup. Our Search Service Application manages to crawl all content just fine. However, the scopes don't work. We've got a total of 570 items currently in our crawl database. 350 of these are of class 'People', and appear in the 'People' scope. The remaining 220 items should appear in 'All Content' as part of the intra (sites, documents etc), however the 'All Content' scope reports 0 items. I've tried the following: -Creating custom scopes (still 0 items) -Recreating the Search Service Application twice -Tried different accounts as the content access account. -Ensuring that the content access accounts do have 'full read policy' -Checked the crawl log for successful content (such as sites and documents). However, despite my efforts I still get 0 items for 'All Content'.  Has anyone else encountered this problem, or do you have any recommendation for us? Currently I don't see any other option than to reinstall everything.
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