microsoftgraph / aspnetcore-connect-sample

[ARCHIVED] This ASP.NET Core MVC sample shows how to connect to Microsoft Graph using delegated permissions and the Azure AD v2.0 (MSAL) endpoint.
MIT License
123 stars 96 forks source link

Release version for production env #61

Closed kedar-githit closed 4 years ago

kedar-githit commented 4 years ago

Hey, this sample you created is fantastic. I am developing something similar to this. I tried your sample app too. Can you please suggest me what alteration I must do to deploy this sample on production environment? It would be really helpful. Thankyou in advance.

mark-szabo commented 4 years ago

If you just want to deploy the sample in a prod env, you don't need to do anything. You can publish into an Azure App Service from VS for example. If you want to integrate Microsoft Graph into your solution, you'll need to do something similar to this sample, but the code here should be prod ready. Please keep in mind, that we are upgrading this sample right now, you should be able to see improvements in a few weeks.

kedar-githit commented 4 years ago

Actually I am developing a single sign on functionality with AzureAD, I was able to create it successfully but later on I encountered 'The Owin bug' in the authentication lib used and MS themselves suggested to avoid using ADAL library(which I have used in my app) So I was looking with the MSAL approach and found your sample. And now I am trying to deploy it on production server and if it works out fine I'm looking forward to mimic those functionalities in my app. Thankyou for your earliest response.

On Tue, May 19, 2020 at 4:48 PM Mark Szabo notifications@github.com wrote:

If you just want to deploy the sample in a prod env, you don't need to do anything. You can publish into an Azure App Service from VS for example. If you want to integrate Microsoft Graph into your solution, you'll need to do something similar to this sample, but the code here should be prod ready. Please keep in mind, that we are upgrading this sample right now, you should be able to see improvements in a few weeks.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoftgraph/aspnetcore-connect-sample/issues/61#issuecomment-630754233, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKTAZBBBFDE2O2WJ7VWQHM3RSJTIXANCNFSM4NEGC4WA .

mark-szabo commented 4 years ago

Great, so you are actually having success using the sample. Glad to hear that! 😊 Do you have any specific question we can help you with or can I close this ticket?