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


Post New Web Links

Sharing authentication Cookie between asp.net and sharepoint applications

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :SharePoint
 
Hi All, I have a requirement to share the authenication cookie between my asp.net application with sharepoint site. asp.net application and sharepoint appli are in the same domain and using the same custom authentication provider to login. I have used same cookie name and same machine key for two applications. But i could'nt see any progress.... My actual requirement is.... if i open my asp.net application and logged in, then in the next tab i will open sharepoint fba site.... then it shouldn't ask for credentials again, directly it should login with the credentials which i used for asp.net application. Thanks in advance.


View Complete Post


More Related Resource Links

Sharing authentication ticket between two applications

  

Hi all,

I have two web applications:

1. http://www.mysite.com - primary app running at the root of the web server

2. http://www.mysite.com/second_app - running in a virtual directory


At user authentication, I'm using FormsAuthenticationTicket to set up authentication cookies. Is it possible to share the same cookie for both the apps?

Any help would be much appreciated.


Many thanks!


How to get SharePoint file conent by URL from web applications with claims based authentication conf

  

Hello,

I am using next code to get SharePoint document content:

using (System.Net.WebClient objWebClient = new System.Net.WebClient())
                {                   
                    objWebClient.Credentials = new System.Net.NetworkCredential("username", "password", "domain");
                   
                    using (System.IO.BinaryReader file = new System.IO.BinaryReader(objWebClient.OpenRead("http://machine_name:10000/Shared%20Documents/some_file.txt")))
                    {
                        //Read file stream
                &nb

How to get SharePoint file content from web applications with claims based authentication configured

  

Hello,

I have custom web service developed (it is running out of sharepoint context but on the machine where sharepoint server 2010 is installed). This web service should get SharePoint file content using file URL and some specific user credentials. So in case user doesn't have access to the file some exception should be thrown. Otherwise content should be returned.

I am able to use next code:

using (System.Net.WebClient objWebClient = new System.Net.WebClient())
                {                   
                    objWebClient.Credentials = new System.Net.NetworkCredential("username", "password", "domain");
                   
                    using (System.IO.BinaryReader file = new System.IO.BinaryReader(objWebClient.OpenRead("http://machine_name:10000/Shared%20Documents/some_file.txt")))
       

Sample: Creating Claims Providers for Forms-Based Authentication Web Applications for SharePoint 201

  
Explore the code as you learn how to create a claims provider for a Microsoft SharePoint 2010 forms-based authentication web application.

Best Coding Techniques To Improve Performance for SharePoint Applications

  
As more developers write custom code by using the SharePoint Object Model, they encounter common issues that can affect application performance.

The following areas reflect the main issues encountered by developers as they write custom code by using the SharePoint object model:

§ Disposing of SharePoint objects

§ Caching data and objects

§ Writing code that is scalable

SharePoint: Use Windows SharePoint Services as a Platform for Building Collaborative Applications

  

In this article the authors provide an in-depth examination of the architecture of SharePoint products and technologies: WSS and SPS. WSS provides the foundation for creating collaborative Web sites that support customization and personalization and SPS complements WSS by playing the role of a content aggregator. This article explains how.

Jason Masterman and Ted Pattison

MSDN Magazine July 2004


How to enable Mixed authentication for single webapplication in sharepoint 2007?

  

Hi All,

      I have requiremnt to enable Mixed mode ( Windows & Forms Based) authentication on Single web application( with out extending). I have done it in Sharepoint server 2010, It is so simple also. But my requirement is on Moss 2007. I have found some Post and gone through Those posts, in those posts, all are suggesting to extend the default webapllication and enabling forms authentication on extending/Default application another one is on Wondows authentication.

  Is it way to suggest the client or any other alternative to enable the mixed mode authentication?

please suggest me with right solution. Thank you in advance.

Thanks & regards,

Naresh Kapa.


naresh

It's possible to using sharepoint services 3.0 hosted site without authentication login ?

  
It's that any way to able user read / write by without login authentication for sharepoint services 3.0. because i'm having problem when external user need to access to our sharepoint pages, but their can login to it.

Quick Note: Create Silverlight Applications to Access SharePoint 2010 Data

  
In this exercise, you will learn how to create Silverlight applications to display SharePoint 2010 lists inside DataGrid controls.

Developing Applications in SharePoint 2010 Using Word Automation Services and Excel Services

  
Learn about the new client services features that are available in SharePoint Server 2010, including Word Automation Services and Excel Services.

Sample: Developing Applications in SharePoint 2010 Using Word Automation Services and Excel Services

  
Download sample code that demonstrates the new client services features that are available in SharePoint Server 2010, including Word Automation Services and Excel Services.

Quick Note: Building WPF Applications by Using the SharePoint 2010 Client Object Model

  
Learn how to create a Windows Presentation Foundation (WPF) application that uses the SharePoint 2010 client object model to retrieve data from a SharePoint Web site.

Creating Tracking Applications in Microsoft Office 2010 and Publishing Them to Microsoft SharePoint

  
Resources to help you develop manageable solutions for your organization to create, share, and collaborate on team databases; be more productive with Microsoft Access 2010 developer enhancements, and get started faster with one-click community templates.

Video: Creating Business Connectivity Services Applications in SharePoint 2010

  
This video drills into creating simple no-code BCS solutions from out-of-box capabilities of SharePoint Designer 2010 to more advanced, complex, custom BCS solutions using Visual Studio. (Length: 9:37)

Video: Security and Deployment: Office Applications in SharePoint

  
Many times deployments are much more than a single Office Add-in. When additional items like Lists, Content Types, Workflows, etc. need to be deployed as well, you need a package that can be deployed by an administrator. This video discusses deploying complete applications to SharePoint. (Length: 9:30)

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)

Video: Creating SharePoint 2010 Business Connectivity Services (BCS) Applications

  
In this video you will learn about the types of applications that you can create using the BCS. (Length: 8:05)
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