GithubHelp home page GithubHelp logo

easyabp / abphelper.gui Goto Github PK

View Code? Open in Web Editor NEW
718.0 34.0 156.0 13.34 MB

Providing code generation and more features to help you develop applications and modules with the ABP framework.

License: Apache License 2.0

JavaScript 1.72% CSS 0.50% HTML 40.92% C# 56.86%

abphelper.gui's Introduction

AbpHelper.GUI

Discord online

Providing code generation and more features to help you develop applications and modules with the ABP framework. It can be used to call ABP CLI, generate code, manage modules, etc.

Make sure backup your source files before using it!

Getting Started

  1. Download the package from EasyAbp/AbpHelper.GUI/releases and unpack the files. Or you can also download the source code and use npm run package command to package the app yourself.

  2. Run the executable file.

preview 1 preview 2 preview 3 preview 4

Usage

Roadmap

  • AbpHelper CLI update check
  • Remember recent solutions
  • Module management
  • Localization support

abphelper.gui's People

Contributors

blackwins avatar dependabot[bot] avatar gdlcf88 avatar hueifeng avatar jackytse avatar jadynwong avatar raymmond avatar tharaka92 avatar wakuflair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abphelper.gui's Issues

Solution management feature.

  1. Create a page to show solutions. Developers can open a new solution or select a solution from the list, and the solutions in the list can be deleted.

  2. Create a UI item in every pages to show the opened solution.

Error Text needs scroll bar

When the Error Text is too long for screen, the Ok button is not visible.

image

Yes the scrollwheel does have an effect, but it is not obvious. Tab + Enter is another work around.

The user needs to see the Ok button to know to click on it.

How to setup the page folder

  1. I Create the class Holodays/Holiday.cs in Domain.
  2. run the AbpHelper.GUI tool Generate CRUD, but the page location in Web
    is Holodays/Holiday/Index.cshtml , Witch I hope is Holodays/Index.cshtml .
    How to setup it.

Improve EF migration action.

  1. "Migration Project Name" should be removed, and add a new checkbox group named "Host Projects":
    • HttpApi.Host project
    • Web.Unified project
    • Blazor.Server.Host project
  2. CRUD code generator should always skip DB migrations, when the abphelper generate crud command is done, run the abphelper ef migrations add command for each host project selected by the user.

Discussion on Abp Module Store design.

  1. Can GitHub be used as the server?
  2. What if someone want to publish a paid module?
  3. Can AbpHelper CLI be used to list, install, update and uninstall modules from the store?

Error generating CRUD (Tiered App with Blazor UI)

Hello,

  • AbpHelper version (0.7.0)
  • ABP version (3.3.0)
  • Tiered App
  • Blazor UI
    [11:03:15 DBG] FileFinderStep Input [searchFileName]: 'MyAppMenus.cs'
    [11:03:15 DBG] FileFinderStep Input [errorIfNotFound]: 'True'
    [11:03:15 ERR] Error while invoking activity activity-53 of workflow 9904a4eee8694016a2f1d1ca195a2b4f
    System.IO.FileNotFoundException: MyAppMenus.cs

maybe it should search for MyAppMenuContributor.cs rather than 'MyAppMenus.cs

Internal Server Error

Firstly this a great tool, however, I'm getting the following server error when I excute and generate a project

[14:17:22 INF] Downloading template: app, version: 1.0
Error occured while downloading source-code from https://abp.io/api/download/template/ : Remote server returns '500-Internal Server Error'.
[14:17:26 ERR] Remote server returns '500-Internal Server Error'.
System.Exception: Remote server returns '500-Internal Server Error'.
at Volo.Abp.Cli.ProjectBuilding.RemoteServiceExceptionHandler.EnsureSuccessfulHttpResponseAsync(HttpResponseMessage responseMessage) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\RemoteServiceExceptionHandler.cs:line 44
at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.DownloadSourceCodeContentAsync(SourceCodeDownloadInputDto input) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 222
at Volo.Abp.Cli.ProjectBuilding.AbpIoSourceCodeStore.GetAsync(String name, String type, String version, String templateSource, Boolean includePreReleases) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\AbpIoSourceCodeStore.cs:line 108
at Volo.Abp.Cli.ProjectBuilding.TemplateProjectBuilder.BuildAsync(ProjectBuildArgs args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectBuilding\TemplateProjectBuilder.cs:line 56
at Volo.Abp.Cli.Commands.NewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\NewCommand.cs:line 134
at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59

Update check feature for AbpHelper CLI

We should add a version checking item to tray menu, so people know whether they need to update their CLI. If they click the menu item, AbpHelper CLI Module Installation page will open.

Make your own Brand - Target other frameworks like OrchardCore & Serenity

This is a fantastic tool, & there are other very good and full free frameworks like Orchard Core, that should will definitely benefit other developers.

We are a big fan, Please consider this to GO BEYOND ABP with all the expensive & license restrictions Make your own stand for this excellent tool


我们是忠实拥护者,请不要仅仅局限于ABP,在所有昂贵和许可限制的前提下,请考虑使用ABP来超越ABP。

使用这个出色的工具来打造自己的品牌,从而使许多社区和人民受益

Master Detail Page

Hello, very nice can you please add Master Detail Controller and Views

Can't start AbpHelper version 1.2 on windows 10

Event Viewer:

Application: dotnet.exe CoreCLR Version: 5.0.421.11614 .NET Version: 5.0.4 Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.IOException: Failed to bind to address https://localhost:8005. ---> System.AggregateException: One or more errors occurred. (An attempt was made to access a socket in a way forbidden by its access permissions.) (An attempt was made to access a socket in a way forbidden by its access permissions.) ---> System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions. at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.<Bind>g__BindSocket|13_0(<>c__DisplayClass13_0& ) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind() at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass29_01.<g__OnBind|0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context)
--- End of inner exception stack trace ---
---> (Inner Exception #1) System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.g__BindSocket|13_0(<>c__DisplayClass13_0& )
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass29_0`1.<g__OnBind|0>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context)<---

--- End of inner exception stack trace ---
at Microsoft.AspNetCore.Server.Kestrel.Core.LocalhostListenOptions.BindAsync(AddressBindContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IEnumerable1 listenOptions, AddressBindContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken) at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication1 application, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
at EasyAbp.AbpHelper.Gui.Program.Main(String[] args) in D:\a\AbpHelper.GUI\AbpHelper.GUI\dotnet\src\EasyAbp.AbpHelper.Gui.Blazor.Host\Program.cs:line 10`

版本和模板

这个工具能不能内置vnext 的各个版本的?不用从abp 的网站的下载?
否则这个vnext 发布新版本后, 后面就不能获取老版本的。

还有那个模块的功能怎么用?

使用 Code Generator 功能 报错

%USERPROFILE%.dotnet\tools\abphelper generate crud Contact -d E:\Demo\addressbook\addressbook --separate-dto --custom-repository --skip-db-migrations --skip-ui

Running...
'C:\Users\Administrator.dotnet\tools\abphelper' is not recognized as an internal or external command,
operable program or batch file.

Version 1.2.0 , Javascript Error on Mac Air 2017 ,i5 X86 ,double core CPU,8GB ram,128ssd

Uncaught Exception:
Error: spawn dotnet ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
at onErrorNT (internal/child_process.js:456:16)
at processTicksAndRejections (internal/process/task_queues.js:81:21)

when downloading the Version on my mac computer, double click the dmg package try to install, it popup an error message shows above.

Generate CRUD with separate dtos occur error

Version 0.7.0

image

[16:25:33 DBG] Build started...
[16:25:47 DBG] Build failed. Use dotnet build to see the errors.
[16:25:47 ERR] Error while invoking activity activity-79 of workflow 073e6e98ab6d48d39e740909c392cb1a
EasyAbp.AbpHelper.Steps.Common.RunningCommandFailedException: Exception of type 'EasyAbp.AbpHelper.Steps.Common.RunningCommandFailedException' was thrown.
at EasyAbp.AbpHelper.Steps.Common.RunCommandStep.OnExecuteAsync(WorkflowExecutionContext context, CancellationToken cancellationToken) in D:\Repos\EasyAbp\AbpHelper.CLI\src\AbpHelper\Steps\Common\RunCommandStep.cs:line 28
at Elsa.Services.ActivityInvoker.InvokeAsync(WorkflowExecutionContext workflowContext, IActivity activity, Func2 invokeAction) [16:25:47 ERR] Error activity: { "Command": { "Syntax": "JavaScript", "Expression": "dotnet ef migrations add Added${EntityInfo.Name} -p "${MigrationProjectFile}" -s "${StartupProjectFile}"`",
"Type": "System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
"Name": "AddMigration"
}

module code generation Bug

image
aspnet-core应该是应用的文件夹目录结构。
模块的目录结构应该是src
没法给模块生成代码。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.