Is there a way for self-hosting and the asp.net mvc site, as well as for WCF services?
Use the HttpListener to implement the http server and inherit MarshalByRefObject to handle the asp.net request. Referring to this Self-hosting ASP.NET MVC
HttpListener
MarshalByRefObject