I hope this doesn't fall into the non question category.
I would like to host a powershell environment inside my ASP.NET application, running in the same process as the Application Pool, and be able to remotely connect to the hosted environment. I already have a dll with my custom Cmdlets that I would also like to use inside my hosted session.
Note that I'm not just looking to run arbitrary commands inside ASP.NET. Instead, I want to have a full shell like interface where I can work in.
I've looked at fan-in and creating/pooling Runspaces, but this is too vague and I can't seem to find good information on this specific scenario. So any pointers would be really helpful.
Take a look at PowerShellASP - part of the product suite listed at http://www.powershellinside.com. That should allow you to host PowerShell with ASP.NET. Another option (if you want to mix ASP.NET and PowerShell in the same page) would be the PowerShell Panel: http://www.powershellinside.com/powershell/panel/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With