What I'm trying to
I'm trying to let a user enter the name of a website in a textbox and click on a button. When the button has been clicked the website URL should be sent to a method which will use a WebBrowser to navigate to the website and take a screenshot of it. Further it should afterwards grab this screenshot and generate a thumbnail of it.
... And the tricky part
The tricky thing is that according to MSDN the System.Drawing
should not be used in neither Windows or ASP.NET services, which leaves me with 2 approaches:
- Ignore the suggestion from MSDN and implement the class which contains the necessary methods.
- Create a WCF Service with the necessary methods.
The second approach sounds to me that it almost violates the suggestion on MSDN anyway since I implement it in a ASP.NET MVC (connecting to the WCF Host)
Any suggestions?