What are my options for placing several HTML5 banner ads in a WPF application? It seems that overlaying a few WebBrowsers (based on IE) might not be the wisest. The application does AllowsTransparency.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, for starters, you’re going to need a web browser control for this (obviously).
Since the WebBrowser control in WPF and WinForms is based on the IE ActiveX control, you’re stuck with whatever the end-user has installed on their computer, which may not support HTML5 very well.
Your best bet is to use Awesomium, which is nice .NET API on top of the open source Chromium rendering engine, which Google Chrome is based on.