How to connect between ASP.Net MVC and Window form app to run ASP.Net Web Page after login from Window form app.
How to connect between ASP.Net MVC and Window form app to run ASP.Net Web Page after login from Window form app.
Not sure what you mean by login by window form app.
Window application can access a websites via HttpClient calling a webapi, or if html pages, using screen scraping technology. The other option is to host a webview control.
Passing authentication to the website depends on how authentication is handled on the website. It may use bearer tokens, basic authentication, Kerberos or windows authentication. The other option is a login page that uses cookies. There may even be a central login server.
Hi @Su-8858,
Maybe you can use the WebBrowser control. You can navigate the page to any webpage you want.
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.webbrowser?view=windowsdesktop-6.0
Best regards,
Lan Huang
10 people are following this question.