Electron.NET | Playground for exploring Electron.NET

 by   elanderson C# Version: Current License: MIT

kandi X-RAY | Electron.NET Summary

kandi X-RAY | Electron.NET Summary

Electron.NET is a C# library typically used in User Interface, Electron applications. Electron.NET has no vulnerabilities, it has a Permissive License and it has low support. However Electron.NET has 2 bugs. You can download it from GitHub.

Playground for exploring Electron.NET.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Electron.NET has a low active ecosystem.
              It has 17 star(s) with 5 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              Electron.NET has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of Electron.NET is current.

            kandi-Quality Quality

              Electron.NET has 2 bugs (0 blocker, 0 critical, 1 major, 1 minor) and 0 code smells.

            kandi-Security Security

              Electron.NET has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              Electron.NET code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Electron.NET is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              Electron.NET releases are not available. You will need to build from source code and install.
              Electron.NET saves you 3713 person hours of effort in developing the same functionality from scratch.
              It has 7927 lines of code, 0 functions and 36 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Electron.NET
            Get all kandi verified functions for this library.

            Electron.NET Key Features

            No Key Features are available at this moment for Electron.NET.

            Electron.NET Examples and Code Snippets

            No Code Snippets are available at this moment for Electron.NET.

            Community Discussions

            QUESTION

            Running from Visual Studio - Failed to load resource: net::ERR_CONNECTION_REFUSED - Angular, Net(5.0) app, Electron
            Asked 2021-Sep-30 at 13:03

            I am running Visual Studio 2019. I have an angular app that works completely fine when Electron is not running. For example, If I choose IIS Express from the debug list, all works well (ApiControllers run correctly and return data):

            However, if I run with Electron.Net App, the site loads and shows the page, but my ApiControllers are not contactable. The following error appears:

            Here is my Startup.cs

            ...

            ANSWER

            Answered 2021-Sep-30 at 12:59

            Be careful with the default application set up in Visual Studio for Angular apps. There is a "getBaseUrl" constant in the Angular/Typescript code module. If you use it in injection of your services, it will always route you through the full URL which may or may not be correct after packaging up your application. Instead, you can blank it out or simply not use it.

            Source https://stackoverflow.com/questions/69276447

            QUESTION

            Routing WebView2 REST calls to local .NET 5 Controllers
            Asked 2021-Aug-12 at 16:39

            I'm currently designing an Angular SPA web client, backed with .NET5 REST. It's all in the same Visual Studio project, and it builds / runs fine.

            I'm now investigating the possibility of distributing this as a windows desktop application. I was able to get Electron.NET to work, but it seems like a round-about solution (Node?!). I also didn't particularly like that the resources were visible/changeable in the distributed app.

            This led me to investigate using WebView2 within WPF (Microsoft seems to be making a similar transition with MSTeams.) I've found some examples, but they only use:

            1. solely remote content ("www.bing.com")
            2. local content, but only img / html / etc
            3. postmessage, etc to communicate using custom objects.

            None of these is what I want. Well, that's not entirely true. I need #2 to load the Angular SPA, but when the WebView2-hosted Angular invokes HttpClient, I'd like to intercept that request in the host application and Route it to my REST Controllers. This would allow me to keep nearly all of my code intact, and presumably ship a smaller, more obfuscated exe.

            Is this possible? obvious? Is my desire fundamentally flawed? (wouldn't be the first time)

            ...

            ANSWER

            Answered 2021-Aug-12 at 16:39

            Chromium.AspNetCore.Bridge offers a solution to the problem. It uses owin to host the server-side code in memory, and provides a RequestInterceptor to cleanly relay all requests to the "server" code.

            The link above has working examples, but briefly:

            App.xaml.cs:

            Source https://stackoverflow.com/questions/68732631

            QUESTION

            Antivirus software blocks Electron.Net build
            Asked 2020-Dec-04 at 05:59

            I'm trying to create a release build for my Electron.Net application via electronize build /target win.

            But during the process, my companies antivirus software blocks the process because of an "Unauthorized file encryption". It seems to happen when the build result is copied/moved to /bin/Desktop/.

            Now I can't figure out what exactly I have to whitelist so the antivirus software keeps silent during the build.

            According to the antivirus, the blocked script lies in c:/users/{user}/roaming/npm-cache/_npx/{some-random-cache-number}/node_module/electron-builder/node-modules/app-builder-bin/win/x64/

            We've already created a whitelist for the whole folder c:/users/{user}/roaming/npm-cache/_npx/

            Any tips are greatly appreciated since I'm not experienced in regards to antivirus software configuration and tracking down issues like this. Thanks!

            ...

            ANSWER

            Answered 2020-Aug-09 at 10:55

            The problem was with electron-builder. It's being falsely detected. https://github.com/electron-userland/electron-builder/issues/4901

            Please update all to the newest version of Electron.NET.

            Source https://stackoverflow.com/questions/63297405

            QUESTION

            electron build on linux fails to create an rpm package periodically
            Asked 2020-Oct-14 at 18:34

            Using Electron and ElectronNet I have an azure devops pipeline setup that will build the application on linux, windows and osx using the *-latest images to build. On linux its configured to output both an rpm and deb package however periodically the rpm package will fail to build with this output. When this happens it usually happens for a period of time and then stops happening without any intervention. I've even rerun the failed job the next day and the build is fully successful in both the rpm and deb builds. The deb build has never failed.

            Really looking for any ideas on how to get it to be successful all the time or whats going wrong. My search-fu hasn't really turned up anything useful.

            ...

            ANSWER

            Answered 2020-Oct-14 at 18:34

            This happened because GitVersion version is also used and electron-builder passes the FullSemVer variable to the fpm command using the --iteration argument. When the branch being built had a semantically appropriate tag, (example: 1.2.3) the FullSemVer looked like 1.2.3.0. However if the branch didn't have such a tag it looked like 1.2.3-beta.1+1 and the rpm build failed because of illegal characters.

            To fix this I hardcoded the iteration argument into the electron.manifest.json

            Source https://stackoverflow.com/questions/64269973

            QUESTION

            Javascript codes doesn't work in Electron.Net
            Asked 2020-Sep-19 at 10:42

            I launched a normal Asp.Net Core website by Electron.Net, But none of Js codes work. for example OwlCarousel and bootstrap dropdowns

            Picture

            ...

            ANSWER

            Answered 2020-Sep-19 at 10:42

            The answer was too simple! I just disabled NodeIntegration and now everything works correctly.

            by using this code (you can see this in its documents)

            Source https://stackoverflow.com/questions/63957913

            QUESTION

            Issue with icons and a change in the electron.manifest.json is resulting in a crash
            Asked 2020-May-03 at 12:42

            In my asp.net core 3 electron.net app, when I leave the default electron.manifest.json, it builds and runs well but fails to use icons.

            Icons are set as content with copy always attribute.

            However when I try to change the product Id and related information, it crashes.

            ...

            ANSWER

            Answered 2020-May-03 at 12:42

            I think it's the name of executable.. does your project name have a space? Change it to a hyphen again... and then also in the electron.manifest.json file...

            Source https://stackoverflow.com/questions/60831734

            QUESTION

            Logging in the C# classes using Electron-Log
            Asked 2020-Mar-30 at 09:35

            In my Asp.NET Core 3 Electron.NET web application, I'm using Electron-Log npm package to carry out the logging.

            I'm able to log in the script section like this:

            ...

            ANSWER

            Answered 2020-Mar-30 at 09:35

            Electron-Log is used to record the log information of the client.

            For the code behind in .net core, you can refer to this.

            Source https://stackoverflow.com/questions/60889298

            QUESTION

            Not able to get a desktop kind of a window
            Asked 2020-Mar-24 at 13:12

            On windows, when I run the electron.net app see a desktop-style window. However, on a Mac, I see that the same app is being shown in a browser.

            ...

            ANSWER

            Answered 2020-Mar-24 at 13:12

            On the Mac, I updated the electron-builder package using npm and it works.

            Source https://stackoverflow.com/questions/60790096

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install Electron.NET

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/elanderson/Electron.NET.git

          • CLI

            gh repo clone elanderson/Electron.NET

          • sshUrl

            git@github.com:elanderson/Electron.NET.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link