Question: can wpf be used in web applications?
Answer: WPF does not come into play here, it's for desktop applications. ASP.NET and WPF are completely unrelated. Either way, you have to use ASP.NET. Contrary to what the answers from Greg and Tyler say, you can use WPF in the browser in the form of a WPF XAML Browser Application.