Distributing WPF Pages via ASP.NET?

Can you serve WPF Pages thru Asp.net?

Page 1 of 1

0 Replies - 774 Views - Last Post: 17 August 2009 - 09:54 AM Rate Topic: -----

#1 StanKnight  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 25
  • Joined: 14-April 09

Distributing WPF Pages via ASP.NET?

Posted 17 August 2009 - 09:54 AM

Hi everyone,

Can you create a Page and put it on an ASP.NET use that on a remote WPF Application?
I've been trying to do this using my own asp.net site and some test application and not having any luck.

The page isn't that complicated (as you can see), it's just to see if I can do it. It works on the desktop application but I can't get it to work when it's a remote source. Any help would be great.

Also, maybe as a better alternative... can you put WPF into an ASP page? Can you like embed it?

This is my SampleProgram file(s). - Stan

<Page x:Class="SampleProgram"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	Title="SampleProgram">
	<Grid>
		<TextBlock Text="WOOOO This is a Page!!!" />
	</Grid>
</Page>

Partial Public Class SampleProgram

	Public Sub New()

		' This call is required by the Windows Form Designer.
		InitializeComponent()

		' Add any initialization after the InitializeComponent() call.

	End Sub

End Class


Is This A Good Question/Topic? 0
  • +

Page 1 of 1