Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 308 Vote(s) - 3.53 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[sunjester tuts] Using C# (.NET code/apps) on Linux

#1
Introduction
All of my tutorials are written, tested, and meant to be used on Linux. I am using Ubuntu xenial (currently 16.04). You can use any debian distro and follow any of my tutorials. I will not pander to the Windows kiddies, don't ask.

Directions
First, let's check what version you have, you can use the lsb_release command.

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


18.04

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


16.04

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


14.04

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Next, install Mono

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Now we can compile and then run the C# code below, that i've saved in a file named hello.cs

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

using the csc to compile
csc hello.cs

and using mono to run the .net executable
mono hello.exe

WinForms
You can compile the winforms applications using the following argument

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Gtk# Forms

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Reply

#2
Well mono is kind of obsolete, when .NET Core is out with UI libraries going to be release really soon + here is AvaloniaUI for impatient.
Reply

#3
Quote:(03-13-2019, 11:01 AM)inquis1t0r Wrote:

[To see links please register here]

Well mono is kind of obsolete, when .NET Core is out with UI libraries going to be release really soon + here is AvaloniaUI for impatient.

.net core has been out for quite some time. Mono is simply the runtime. Unless you're not using any dependencies, then you'll need it.
Reply

#4
mono is an IDE for building .net applications on linux, it's not obsolete.
Reply

#5
Quote:(03-11-2019, 09:55 PM)sunjester Wrote:

[To see links please register here]

Introduction
All of my tutorials are written, tested, and meant to be used on Linux. I am using Ubuntu xenial (currently 16.04). You can use any debian distro and follow any of my tutorials. I will not pander to the Windows kiddies, don't ask.

Directions
First, let's check what version you have, you can use the lsb_release command.

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


18.04

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


16.04

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


14.04

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.


Next, install Mono

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Now we can compile and then run the C# code below, that i've saved in a file named hello.cs

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

using the csc to compile
csc hello.cs

and using mono to run the .net executable
mono hello.exe

WinForms
You can compile the winforms applications using the following argument

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

Gtk# Forms

Hidden Content
You must

[To see links please register here]

or

[To see links please register here]

to view this content.

nice little tutorial.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through