# Correct process to use julia code from C# or VB .NET

**URL:** <https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018>\
**Category:** General Usage\
**Tags:** embedding, gui\
**Created:** [March 26, 2021, 2:41pm UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018 "2021-03-26T14:41:50Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![Shuhua](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shuhua/32/27618_2.png) [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Post date:** [January 12, 2022, 4:00am UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/21 "2022-01-12T04:00:39Z")

</div>

Hi, @HyperSphereStudio. Excellent work!

Please feel free to take the code in my repo. Regarding JLArray, maybe it is better to map a Julia array to [math.net](http://math.net) array or from the opposite side to leverage the matrix functions therein.

I would like to provide help, but currently I am working on a paper. I will join your efforts ASAP.

ps. Would you please enable the discussion panel in your repo? Previously I got some difficulty in automatic memory handling and would like to learn from you.

---

<div class="post-metadata">

**Author:** ![AmburoseSekar](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/amburosesekar/32/13812_2.png) [@AmburoseSekar](https://discourse.julialang.org/u/AmburoseSekar)\
**Post date:** [January 17, 2022, 12:02pm UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/22 "2022-01-17T12:02:27Z")

</div>

Hi, based on ur suggestion we took a first step like this way 🙂

![Akkugif](https://global.discourse-cdn.com/julialang/original/3X/e/2/e2bc4b2fd29824b5c7dbb9a9095d0d2caa65e3d6.gif)

GitHub link : [GitHub - PiResearchTech/Ayudha: Avalonia + Julia interface for cross platform Windows GUI](https://github.com/PiResearchTech/Ayudha)

---

<div class="post-metadata">

**Author:** ![BambOoxX](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bambooxx/32/22179_2.png) [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Post date:** [January 17, 2022, 5:41pm UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/23 "2022-01-17T17:41:36Z")

</div>

Obviously, there seems to be a growing requirement to have julia integrate with .NET !

---

<div class="post-metadata">

**Author:** ![BambOoxX](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bambooxx/32/22179_2.png) [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Post date:** [January 17, 2022, 5:42pm UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/24 "2022-01-17T17:42:53Z")

</div>

That is my main use case too !

---

<div class="post-metadata">

**Author:** ![BambOoxX](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bambooxx/32/22179_2.png) [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Post date:** [February 23, 2022, 9:27am UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/25 "2022-02-23T09:27:17Z")

</div>

@Shuhua@HyperSphereStudio @oheil @BioTurboNick Quick poll, do you think it could be useful to ask for a repo in [https://github.com/JuliaInterop](https://github.com/JuliaInterop) so that such .NET / Julia interfaces gain more attention ?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [February 23, 2022, 9:38am UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/26 "2022-02-23T09:38:56Z")

</div>

> [@BambOoxX](#):
>
> you think it could be useful

Of course.  
But I didn’t used the .NET interface package yet, so can’t say anything about its quality compared to the other Interop packages…

---

<div class="post-metadata">

**Author:** ![BambOoxX](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bambooxx/32/22179_2.png) [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Post date:** [February 23, 2022, 9:51am UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/27 "2022-02-23T09:51:16Z")

</div>

Hmm, regardless of the current state of development, it could be relevant to set it there so that potential contributors can share their efforts, don’t you think ?

---

<div class="post-metadata">

**Author:** ![HyperSphereStudio](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hyperspherestudio/32/32322_2.png) [@HyperSphereStudio](https://discourse.julialang.org/u/HyperSphereStudio)\
**Post date:** [February 23, 2022, 8:06pm UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/28 "2022-02-23T20:06:40Z")

</div>

This sounds good to me if others are also onboard with it.

---

<div class="post-metadata">

**Author:** ![kelle](https://avatars.discourse-cdn.com/v4/letter/k/41988e/32.png) [@kelle](https://discourse.julialang.org/u/kelle)\
**Post date:** [April 20, 2022, 8:36am UTC](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018/29 "2022-04-20T08:36:42Z")

</div>

I’m facing the exact same problem like you BambOoxX… What is the progress of all you guys hard work 🙂

This is the only thread I have found regarding Julia/C# ☹ So much help else…

[Previous page](https://discourse.julialang.org/t/correct-process-to-use-julia-code-from-c-or-vb-net/58018.md?page=1)
