Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Azure run WPF?

Tags:

asp.net

wpf

azure

I'd like to write an ASP.Net MVC app running on Windows Azure that will create images using WPF.

Before I start writing it, will that work?
Does Azure have the necessary DLLs (including DirectX) and graphics power to render WPF?

(I don't have an Azure account yet, so I can't just try it)

like image 935
SLaks Avatar asked May 05 '11 14:05

SLaks


People also ask

For which platforms can WPF applications be compiled?

WPF runtime libraries are included with all versions of Microsoft Windows since Windows Vista and Windows Server 2008.

Can you build an app on Azure?

Azure App Service lets you create apps faster with a one-of-a kind cloud service to quickly and easily create enterprise-ready web and mobile apps for any platform or device and deploy them on a scalable and reliable cloud infrastructure.

Can WPF run wine?

NET Core 3.0's support for WPF, a WPF application can run on Linux under Wine. Wine is a compatibility layer which allows Windows applications on Linux and other OSes, including . NET Core Windows applications.

Can you develop WPF on Mac?

You can't work with WPF on Mac. Mono currently doesn't support WPF because it's really hard to implement (WPF rendering is tied to the graphic card in some ways). Maybe you want to try Moonlight (implementation of Silverlight for UNIX-based systems).


2 Answers

Absolutely. In particular, Azure Websites (which probably weren't around at the time the other two answers were posted) can also use WPF and I use it in my applications for

  1. image processing,
  2. operations on spline paths (Geometry-related stuff in WPF) and
  3. pdf creation (via WPF xps creation from visual trees and subsequent conversion to a scalable pdf with pdfsharp).

It's stuff like that which makes ASP.NET such a cool platform.

The talk about GPU considerations that was raised by some people on this question is pretty irrelevant for simple image processing. I seriously doubt a GPU is even used for that when present.

like image 116
John Avatar answered Sep 30 '22 01:09

John


The performance in the cloud is solely dictated by how much computing power you require. Can the cloud (Azure) scale? Absolutely.

You could use an ASP.NET MVC role coupled with a Worker role which would take care of your image creation. The option also exists to host a XBAP; however there are caveats with that approach but it can be done.

like image 42
Aaron McIver Avatar answered Sep 30 '22 03:09

Aaron McIver