UWP API in ASP.NET
问题 I'd like to use a piece of Windows 10 specific UWP API (specifically, the Windows.Graphics.Printing3D stuff) in an ASP.NET code-behind DLL. Is there any way to do so? 回答1: While looking for a .NET-only resolution to this one, I've found a moderately clean way - a Win32/64 C++ DLL that would consume UWP API and present a COM- or P/Invoke-based interface to .NET. Create a regular Win32 DLL. Build an interface for .NET to consume - exported functions or objects, depends. In my case, a single