I am looking for a little guidance for a test project. Previously I have read that the now discontinued Adxstudio Portals would allow a non AD user to login to CRM using their details in the contacts entity. I am trying to find out if this can be done using ASP.NET.
I am using an on premises version of 365 with IFD. Any assistance or information would be appreciated.
Related
I have developed an ASP.Net MVC application which is Azure Single-Sign-On supported.
In the existing application, I wanted to consume online SharePoint REST API's to work with the document library(Get folders/files,upload, add, replace and delete etc.)
Is there any way to do/achieve this task.
Thanks in advance!
yes, the supported way is to use SharePoint CSOM which is now in .net standard. Please see this article were you may find a movie that shows the whole process to add nuget, authenticate the app and get some data from SharePoint, and here is he msdn support.
Some CSOM examples how this works
I am creating iOS application that needs to interact with RESTful API (which will be going to make).
The problem is I have no knowledge in the realm and would like to ask for some helps. (I tried to learn this for few days but as I study more, I get so confused...)
My company has a server that is running with Windows. What is the process of deploying APIs there and use it as data storage as well.
My company has Microsoft 365 license so that I have access to SharePoint. I've read there is SharePoint APIs, so it will be nice to integrate with my app. But more I study about it, I've observed AzureAD. Is it something that I must to have in order to utilize MS SharePoint APIs?
I know it is very broad question but I really appreciate for anyone who provides with helps. Thank you
Yes you will need Azure AD to interact with the sharepoint api, using the oAuth authentication by registering the app into the Azure AD and giving the Sharepoint Management online permissions that are required for you to do the operations that you want.
The old OAuthWebSecurity.RegisterGoogleClient(); in (RegisterAuth()) is not working now as google has disabled this in April. I have done the registration on google developer, and I got my client id and secret id, but with mvc old template there is no place to use for them! RegisterGoogleClient() doesn't accept a client id.
I checked the mvc5 OWIN classes, and there will be a lot to update if I go that way, because I already have lots of functionality built over identity and webmatrix classes.
If anyone can throw me a link or a suggestion, it will be great.
I am migrating my existing project from MVC3 to MVC4. In MVC3 I used Microsoft Azure's Access Control Service (ACS) for getting user identity. I would like to use DotNetOpenAuth.AspNet that comes with VS2012 to replace the old method, and I am studying this with the sample website that VS2012 created when you start a new 'Internet Application' project.
I followed the tutorial and made the necessary changes in AuthConfig.cs, trying to enable using facebook & google & yahoo to authenticate. The facebook works ok. Both Google and yahoo don't work, and result.IsSuccessful is always false in the function ExternalLoginCallback().
I did some google search and found this site: https://github.com/mj1856/DotNetOpenAuth.GoogleOAuth2. I followed this site and finally got google work.
However, I am still stuck with the yahoo problem. I wonder if there is any similar solution for yahoo like google.
Thank you.
Sorry I didn't see this sooner. Glad you like my Google OAuth2 adapter. I wrote one for Facebook also.
I checked, but I couldn't find any support from Yahoo for OAuth2. They appear to support only OpenID or OAuth 1. You might as well us the OpenID client that ships with OAuthWebSecurity in MVC4.
OAuthWebSecurity.RegisterYahooClient();
If anyone know of Yahoo OAuth2 support, please let me know. Thanks.
I've been searching for an answer to my question for a while now, but can't find what I'm looking for so I hope someone can help me :)
Scenario:
3 Projects:
Asp.net Web Api Project (SQL Server CE 4 database + Asp.Net Membership)
Windows Phone 7.5 App (Authenticates to the SQL Server CE database using REST)
Asp.net MVC 4 Project (That wants to communicate to the same SQL Server CE database, also using REST)
The WP7 app's authentications is already working. But I'm having problems with trying to figure out on how to let my MVC app authenticate with the same SQL Server CE database.
I'm probably able to create my own controls and use the same logic to authenticate that I've used in the WP7 app, but I want to keep the existing functionality that the [Authorize] attribute offers.
So my question is:
how can I let my MVC project authenticate through the Web Api project, and still maintain the functionality that when a user tries to access a page that needs authentication, he will be redirected to the login page and such
I hope my question is clear enough! If not, don't hesitate to ask some additional questions!
Kind Regards,
Gert
Ok, after some rest and some logical thinking, I just realized that I had to change the Login method in the AccountController in the MVC project.
I'm not able to provide any code because I'm not on my dev pc, but it's just any authentication code you would use anywhere else. For example using REST authentication or authentication through a WCF service.
Kind regards,
Gert