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

  Рет қаралды 9,837

Erik Hougaard

Erik Hougaard

Күн бұрын

Пікірлер: 37
@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
@squashh
@squashh 3 жыл бұрын
Taking BC development to the next level once again! Mange tak for de her videoer.
@cptnraptor
@cptnraptor 2 жыл бұрын
You're an absolute lifesaver Erik, time to build a [JSInvokable] wrapper for an Excel Interop dll
@markuscjb
@markuscjb 4 жыл бұрын
Hi Eric. Thats awesome Idea. Thank you for this and other usefull videos.
@hariskorac419
@hariskorac419 Жыл бұрын
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 Жыл бұрын
Dunno, haven't played with the since the I recorded the video :)
@jairoroka
@jairoroka 3 жыл бұрын
hi erick i would like to know how to perform a debugging on a standard business central cloud object
@JohanCerna2024
@JohanCerna2024 2 жыл бұрын
a query to all that small project you can add a wcf (web service) and how
@Hougaard
@Hougaard 2 жыл бұрын
You still cannot open ports inside the web browser...
@JohanCerna2024
@JohanCerna2024 2 жыл бұрын
​@@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 :)
@saurabhtalele1537
@saurabhtalele1537 Жыл бұрын
can i use beautiful blazor components in this.....sir..
@independentnavbcdeveloper3342
@independentnavbcdeveloper3342 4 жыл бұрын
Very clever Eric your the man;
@ara3n
@ara3n 4 жыл бұрын
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.
@ng1zn
@ng1zn 8 ай бұрын
Hi can you use Dotnet method above to create SQLconnection to import data from another sql db in AL
@Hougaard
@Hougaard 8 ай бұрын
No, you cannot do TCP connections from a browser.
@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 жыл бұрын
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!
@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!
@minasabry9797
@minasabry9797 10 ай бұрын
How do you add all blazor files to AL project ?
@minasabry9797
@minasabry9797 10 ай бұрын
Please answer me
@minasabry9797
@minasabry9797 10 ай бұрын
???
@Hougaard
@Hougaard 10 ай бұрын
That's in the video :)
@minasabry9797
@minasabry9797 10 ай бұрын
@@Hougaard in your video blazor is already exist and we didn't see how did u do that
@minasabry9797
@minasabry9797 10 ай бұрын
@@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 :)
@avinash7017
@avinash7017 3 жыл бұрын
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 3 жыл бұрын
Sorry, that never gonna work, you'll never gain access to the serial from the browser...
@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 жыл бұрын
@@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 :)
@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.
UI Hacks with Javascript in Business Central
24:01
Erik Hougaard
Рет қаралды 7 М.
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 48 МЛН
ЗНАЛИ? ТОЛЬКО ОАЭ 🤫
00:13
Сам себе сушист
Рет қаралды 2,4 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 81 МЛН
MSNBC in meltdown after Donald Trump's McDonald's shift
7:06
Sky News Australia
Рет қаралды 3,5 МЛН
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 341 М.
Use Javascript controls in Business Central
18:44
Erik Hougaard
Рет қаралды 8 М.
AL Debugging for beginners in Business Central
23:39
Erik Hougaard
Рет қаралды 9 М.
.NET in 300 seconds
5:48
Amichai Mantinband
Рет қаралды 80 М.
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 48 МЛН