Tag Archives: 2017

C# – First steps with C# and .NET – part 002 .

Today I will show you more about C# and the subject of this tutorial is: threads.
First you need to start a project into your folder. Let’s see my example:

You can use notepad or any editor to edit the Program.cs:

About the thread issue then you need to know is a very complex subject.
My example will show you how the thread works.
First you need to start the thread and then deal with the thread.
Two methods is used: Start and Join.
Start begins executing at the first line of the method and does not block the calling thread.
Join is a synchronization method that blocks the calling thread (that is, the thread that calls the method) until the thread whose Join method is called has completed.
I used three threads and this threads just start count first 5 sec , next 8 sec and the last is set to 10 sec.
Let’s see the example:

Each thread will write to the output and then will see the time used.
See the output of dotnet run command:

Posted in All, C#, Commands, Programming, Windows 10. Tagged with , , , , , , , .

C# – First steps with C# and .NET – part 001 .

First you need to take a look at Microsoft DotNET – Core website..
This website will be the start for any .NET and C# issue on any operating system Linux, Windows, Mac or Docker.
I used for this tutorial Windows OS and for Fedora distro you can take a look here.
First you need to

The result of Hello World! show us the console application works well.
This will run this program:

You can change the text Hello World or test something else.
If you got errors the you need to fix it with :

Posted in All, C#, Commands, Programming, Windows 10. Tagged with , , , , , , , .

JavaScript – Processing.js 2D library – part 003.

In this tutorial I will show you how to use images with processing.js.
You can use image from your computer or from url.
Let’s see one simple code example:

You can see same example on openprocessing web tool.
The openprocessing web tool allow you to use Processing.js and P5.js .

Posted in All, HTML 5, javascript, Programming. Tagged with , , , , , , .

News: Wiki and HTML .

Now the Wiki pages containing complex tables and rich text support HTML Tags.

The new Wiki come with this features: 

  • Search wiki pages across projects 
  • Link wiki pages with work items 
  • Show side by side preview while editing wiki pages 
  • Show wiki home page on project home page 
  • Simplified save using Ctrl S

That allows rich text editing, complex tables, embedded videos and many other capabilities.

You can read more on the microsoft blog.

Posted in news. Tagged with , , , , .

PowerShell tips – part 006.

You can test connectivity with the PowerShell administrator mode by using the next commands:

Let’s start with Test-NetConnection command.
This command displays diagnostic information for a connection.
Depending on the input you can test ping test, TCP test, route tracing, and route selection diagnostics and also get infos about DNS lookup results, a list of IP interfaces, IPsec rules, route/source address selection results.
The next command is Test-WSMan return the WinRM service is running on a local or remote computer.
The last command from my examples is about PSVersion and show us the version of powershell.

Posted in All, Commands, Windows 10. Tagged with , , , .