I have created "Web Site Project", in that project I have added "ASMX Web Service". I am opening WPF application using Web Service call.
Here is the sample:
[WebMethod]
public void strt()
{
Process.Start(@"C:\application.exe");
}
My web service URL is like this:
"localhost:12345\WebSite.asmx
Now, whenever I run this web service and call this method from Visual Studio:
"WPF starts running and opens the WPF start Windows"
Then I have configure this Web Site to IIS and bind to Port 82. Now my project URL is like this:
localhost:82\WebSite.asmx
I have configured all things right. I am able to Browse to my Directory from IIS.
Now when I go to "ASMX Web Service" and call "Web Service Method" from IIS, The method gets called and also "WPF application" starts, but main problem is
"WPF is running in background, not opening the start Windows of WPF".
How to solve this issue? I have to configure this project in IIS and show Star Up Window from IIS.
Any help would be greatly appreciated. Thanks!!