Click here to Skip to main content
15,895,848 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a windows form app in visual studios and i have web page running inside the c# browser , my web page has js and ajax , both are running fine if i run in normal browser like Internet explorer , of chrome or firefox , but when am using it inside my app its getting very slow , ajax is running really slow and functions are delayed when storing to mysql, but its instant when i check in browser. 


What I have tried:

I have a windows form app in visual studios and i have web page running inside the c# browser , my web page has js and ajax , both are running fine if i run in normal browser like Internet explorer , of chrome or firefox , but when am using it inside my app its getting very slow , ajax is running really slow and functions are delayed when storing to mysql, but its instant when i check in browser. 
Posted
Updated 30-Oct-20 7:21am
Comments
[no name] 30-Oct-20 13:18pm    
Probably because of the "overhead" of your app and any memory restrictions.

1 solution

The WebBrowser control is stuck in IE7 mode (unless you mess around with the registry on every computer where your application runs):
Web Browser Control & Specifying the IE Version - Rick Strahl's Web Log[^]

And even Microsoft will tell you that Internet Explorer is a "compatibility solution", not a web browser:
Microsoft security chief: IE is not a browser, so stop using it as your default | ZDNet[^]

You should switch to using a better browser control - for example:
CefSharp - Fast web browser for WinForms and WPF Apps[^]
Microsoft Edge WebView2 Control - Microsoft Edge Development | Microsoft Docs[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900