Use DotNet in AL - Even in the Business Central Cloud!

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ม.ค. 2025

ความคิดเห็น • 37

  • @JohanCerna2024
    @JohanCerna2024 2 ปีที่แล้ว +1

    a query to all that small project you can add a wcf (web service) and how

    • @Hougaard
      @Hougaard  2 ปีที่แล้ว +1

      You still cannot open ports inside the web browser...

    • @JohanCerna2024
      @JohanCerna2024 2 ปีที่แล้ว +1

      ​@@Hougaard No, every time I put a wcf (web service) in visual studio, the Test DotNet in AL page does not work for me, neither of the two buttons, why, or do I have to put something else in the visual studio code?

    • @Hougaard
      @Hougaard  2 ปีที่แล้ว

      Dunno, haven't really touch the dotnet stuff I did the video, but I would love to hear if you get it to work :)

  • @markuscjb
    @markuscjb 4 ปีที่แล้ว +1

    Hi Eric. Thats awesome Idea. Thank you for this and other usefull videos.

  • @cptnraptor
    @cptnraptor 2 ปีที่แล้ว

    You're an absolute lifesaver Erik, time to build a [JSInvokable] wrapper for an Excel Interop dll

  • @independentnavbcdeveloper3342
    @independentnavbcdeveloper3342 4 ปีที่แล้ว +1

    Very clever Eric your the man;

  • @squashh
    @squashh 3 ปีที่แล้ว

    Taking BC development to the next level once again! Mange tak for de her videoer.

  • @spencerroach4489
    @spencerroach4489 ปีที่แล้ว

    Have you (or anyone) tinkered around with this lately? I work in Blazor and BC every day and this never would have crossed my mind. Thanks to this video, I have a new reason to live! 😉 jk

  • @saurabhtalele1537
    @saurabhtalele1537 2 ปีที่แล้ว

    can i use beautiful blazor components in this.....sir..

  • @jairoroka
    @jairoroka 4 ปีที่แล้ว

    hi erick i would like to know how to perform a debugging on a standard business central cloud object

  • @JulioChaves90
    @JulioChaves90 3 ปีที่แล้ว

    Thanks for the knowledge share, can you please share us the vs solution ? I din't find the project at your gitHub. Tks

    • @Hougaard
      @Hougaard  3 ปีที่แล้ว +1

      Looking at my machine, that was just the simple blazor start project I copied the files from..

    • @KazinameNB
      @KazinameNB 3 ปีที่แล้ว

      @@Hougaard Hi Erik, big fan of all the ideas you've shown in your videos (though this has to be the coolest one by far). I've tried setting up a blazor web assembly start project, but I can't get it to output the same kind of result like yours did. For example, my blazor.boot.json does not contain sha256 values for dlls. I'm not sure if I'm creating a project for the wrong thing entirely or if it is just that I'm trying to do it on a wrong version of blazor, but I simply cannot get it right. Is there any chance you could put your VS solution on github? Or share some additional info about the setup process? Apologies for the bother, all the best!

  • @ara3n
    @ara3n 4 ปีที่แล้ว +2

    I'm been working on my ASP.net solution and have been thinking of moving it to blazor. BC should be moved to blazor so that we don't have to do hacking/bloated solution. just include our dll in our solution.

  • @rameshreddy2836
    @rameshreddy2836 4 ปีที่แล้ว

    Hi,
    Thanks for the knowledge share, can you please share us sample dump which you have shown in above. Thank you

    • @Hougaard
      @Hougaard  4 ปีที่แล้ว

      Take a look at my github, (Link above) it's all there!

  • @ng1zn
    @ng1zn 11 หลายเดือนก่อน

    Hi can you use Dotnet method above to create SQLconnection to import data from another sql db in AL

    • @Hougaard
      @Hougaard  11 หลายเดือนก่อน

      No, you cannot do TCP connections from a browser.

  • @minasabry9797
    @minasabry9797 ปีที่แล้ว

    How do you add all blazor files to AL project ?

    • @minasabry9797
      @minasabry9797 ปีที่แล้ว

      Please answer me

    • @minasabry9797
      @minasabry9797 ปีที่แล้ว

      ???

    • @Hougaard
      @Hougaard  ปีที่แล้ว

      That's in the video :)

    • @minasabry9797
      @minasabry9797 ปีที่แล้ว

      @@Hougaard in your video blazor is already exist and we didn't see how did u do that

    • @minasabry9797
      @minasabry9797 ปีที่แล้ว

      @@Hougaard i wanna attach dll file in my project in sandbox

  • @Rohitsharma-wm8yq
    @Rohitsharma-wm8yq 3 ปีที่แล้ว

    Can we use dot net variable in cloud & api call also

    • @Hougaard
      @Hougaard  3 ปีที่แล้ว

      Nope, as this is donet running in the webclient :)

  • @hariskorac419
    @hariskorac419 2 ปีที่แล้ว

    Hi Erik. I created dll with Visual Studio and following your steps, but have problem. When I try to add line for my png into Images in DotnetTest.ControlAddin.al program show me error: Missing file 'Dotnet/_framework/_bin/TestFunctionLib.dll.png' . I don't really know what I am doing wrong :) . Maybe is problem into dll?

    • @Hougaard
      @Hougaard  2 ปีที่แล้ว

      Dunno, haven't played with the since the I recorded the video :)

  • @JaspreetSingh-bh5hc
    @JaspreetSingh-bh5hc 4 ปีที่แล้ว

    Can this become a security vulnerability ?

    • @Hougaard
      @Hougaard  4 ปีที่แล้ว

      I don't see how, this is still within the secure walls of the browser..

    • @JaspreetSingh-bh5hc
      @JaspreetSingh-bh5hc 4 ปีที่แล้ว

      @@Hougaard is there any way I can execute an exe , using process dotnet library?

    • @Hougaard
      @Hougaard  4 ปีที่แล้ว +1

      @@JaspreetSingh-bh5hc Not really, if the .exe is a .netcore assembly, then you might be able to treat the .exe as a .dll and call main() - but that's just a guess :)

  • @avinash7017
    @avinash7017 4 ปีที่แล้ว

    Thanks for the idea and video. Based on this sample, have tried to read serial port using System.IO.Port assembly ref. But it failed with error - Uncaught (in promise) Error: System.PlatformNotSupportedException: System.IO.Ports is currently only supported on Windows.
    Can i request for a help to advise a possible solution to read serial port from client pc. I am using BC v17. Thanks in advance!

    • @Hougaard
      @Hougaard  4 ปีที่แล้ว +2

      Sorry, that never gonna work, you'll never gain access to the serial from the browser...

  • @lorenzpfyl7354
    @lorenzpfyl7354 4 ปีที่แล้ว

    Great blog but after this hack may be MS will check in the future that a png is a png.

    • @Hougaard
      @Hougaard  4 ปีที่แล้ว

      Not possible, I could just add a image header to the dlls and then strip it again after download.