Skip to content

Commit f41c41e

Browse files
authored
Update docu.md
1 parent d6b526c commit f41c41e

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

Docs/docu.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Later our service class should look like this:
149149
```
150150
The function intermediateStep is to decode some parts. It gets the whole byte array and has to return a byte array.
151151

152-
### Creating assembly package
152+
### Creating a ZAP (Zipped Assembly Package)
153153
Now we need to create a zip archiv, containing the assemblies we want to execute, and the config file.
154154

155155
#### Config
@@ -174,3 +174,27 @@ This is how the XML config file should look like:
174174
<classToCall>TestAssembly.Class1</classToCall>
175175
</Config>
176176
```
177+
178+
#### Creating the assembly
179+
Our last step is to create the assembly. How I mentioned, the assembly has to implement the IStart interface. For the first demonstration we will just create a tiny assembly, not doing much, just writing some lines on the console.
180+
181+
Here is the code:
182+
```csharp
183+
namespace TestAssembly
184+
{
185+
public class Class1 : IStart
186+
{
187+
public void EntryPoint()
188+
{
189+
Console.WriteLine("Hallo.");
190+
Console.WriteLine("It's working.");
191+
Console.WriteLine("Good.");
192+
}
193+
}
194+
}
195+
```
196+
197+
Now we just have to put the files into a zip archiv and to upload it on a web server. After that we can execute the assembly loaded from the web server.
198+
199+
### Comming soon...
200+
Later we will create some bigger projects, putting it in a ZAP...

0 commit comments

Comments
 (0)