Some time ago, I had a naive idea. I want to transmit an Action or Func to a remote machine for execution. There are many problems. How to copy the context of the delegated execution. At first, we want to transmit the DLL of the Delegate and the referenced DLL to a remote machine. In this way, the context environment does not exist. Of course, the DLL in GAC does not need to be transmitted, and the object to be transmitted is limited to the custom DLL. However, this is not necessary. Later, on the day Microsoft founded the foundation, it happened to see Roslyn. It can parse and compile a string. With Rolyn extensions, you can even directly execute a piece of string code. It's amazing. So I came up with the idea of the following project. First, let's take a look at the figure. Let's take a look at my general ideas.
This project has not been fully written yet. Finally, I quoted a sentence from Github. Build software better, together. This project has been put on github. Address is https://github.com/freestyleSago/RemoteTaskPlatform
For me, this project is more practical than it is. So I hope you can give me more advice.Artech)The teacher is really awesome. Looking at his articles, I believe everyone will gain some benefits. Currently, there are too few materials for Roslyn and C #6.0, But I think C # can be changed to a scripting language with Roslyn. Resolution execution. It may be of little significance and has poor performance. But it's cool. It's a dream of mine. If you have a string, you can execute it for me.