ASP.NET ADFS authentication to access sharepoint - asp.net

I want to build an application to access sharepoint website. First I have created a login form..
I want to authenticate via ADFS How to do that from my website.
How to access the sharepoint utilities after logged in.
That's it. I just want to show the files/documents at my website.
Please share me links or sample if any one have. If available in MVC then no problem.
Thanks in advance.

As you want to display SharePoint List/Library data in your own application/website, so in this scenario, there are two approaches:
Approach 1
Use RSS feeds to embed SharePoint Data into your Application/Website. You can use any RSS Feed viewer for your application.
Approach 2
You can use SharePoint Client Object Model (CSOM). Using CSOM you can get data from SharePoint Environment and use the data to embed in your application.
Here is a reference link to get familiar with CSOM :
https://msdn.microsoft.com/en-us/library/office/fp179912.aspx
Hope these details will help you.

Related

Creating separate pages for each account ASP.net WEB API project

I am new to web API and I am not sure whether it is possible in Web API.
I have an application where I need to create a page for each user of my website. Means if there is a user named JOHN, I need to create a page named www.mysite.com/john.
How can I achieve it.
Thanks in advance

ASP.net Dynamic Data website Authentication

I have created an ASP.NET Dynamic Data Website using VS 2012.
Now, I need to add authentication/access control to this site.
By default this project type does not come with any Login page,.. to control access to the application.
Could you please suggest a quick and clean way of controlling access?
I do not at this point of time need table level security.
Just letting authorized users to access this application is sufficient.
Thanks a lot

Access Sharepoint List on another ASP Application

Is is possible to access a sharepoint list into my asp application which is to be deployed on another server? If yes, please share your thoughts.
I have tried using rss reader (jquery plugin) and xml reader of asp but it's not working.
my solution is to access the SharePoint list using a service account that has administrative permission on the list.

Facebook Insights API to asp.net (not an App)

We are trying to help a customer of ours to get their company page FB Insights data out of FB and shown on an Admin website we have for the client. So instead of having to log into FB to see the insights they will be able to see the data (that we put into reports) from the analytics webiste we already have for them.
we just can't figure out how to use the FB API to pull data for an individual fan page in an asp.net application using VB as the programming language.
Did you try to use Facebook C# SDK and try to access insight object:
https://developers.facebook.com/docs/reference/api/insights/
You have to be admin of App/Page to be able to get this to work.

Can I use SharePoint to authenticate users on a separately hosted website?

The behaviour I would like is for a user to be able to visit a custom built website and if they are already authenticated against sharepoint for the custom website to know who they are and give them various rights. If they are not recognised by sharepoint then I would like them to login to sharepoint and be directed back to the custom website.
Sharepoint picks its users and groups up from Active Directory. I don't know much about the internals of the server, but the custom one will be in a separate domain (I think) though I have full control over the custom and moderate control over the SP infrastructure.
A hint at how to progress would be great!
As you rightly said SharePoint can be condigured to use Active Directory for Authentication and User Management. So AD and Sharepoint are 2 different things and you are just linking them. You can develop your custom asp.net application to use AD for Authentication.
Using SharePoint groups in your custom application is difficult (You will have to develop your own service which will check the loggedin user and see if he is present in the SharePoint group)
Another option is to use a Custom ASP.net membership provider and use this in your sharepoint application. This way you can use the same asp.net membership provider for your asp.net application.
Check out Configuring Single Sign on for SharePoint. Could give you some ideas.

Resources