Hello,
When I add a new View, corresponding script is placed in wwwroot/view-resources/Area/App/Views/ViewName/Index.js
This file is included in bundleconfig, therefore, I have to run npm run create-bundles
in background, otherwise changes in js file won't be updated.
However, whenever I save the js file, it takes about 20 seconds to rebundle the whole project. Since I'm working in js code most of the time, I have to wait a lot for my changes to be applied. Sometimes I only change a simple typing error, then rebuilding takes 20 seconds, then there is another typing error so I have to wait again and so on... this really slows down my development process.
Is there any possibility to disable or accelerate bundling/ minifying process while debugging (of course with having my js files up-to-date though)?
ASP.NET Core & jQuery, v7.0
Thanks Claus
Hello,
I really like the way how authorization is implenented in ASP.NET Zero.
However, I need a more sophisticated way of granting permissions: I'm developing something similar to a a project management system, where tenants/ users can manage project files. The system is also feature-based (upload, download, edit, ...), but some features need to be in combination with project id. For example, user 1 has full access to project 1 but no access to project 2, user 2 has access to some features regarding project 1 and so on. Of course, I also need global permissions like 'create new projects' (actually this is possible with the current implementation).
When I look at AbpPermissions table in SQL Server, it seems that it's almost what I need, I only need to add more dimensions, i.e. ProjectId.
Is there a possbility to extend integrated authorization module to fulfil my needs?
Edit: Forgot to mention that I'm using ASP.NET Core & jQuery (current version 6.9.1)
Hello guys,
recently I bought ASP.NET Zero as a starter for a new project (actually it is a redesign of an existing project). I'd like to use DevExtreme components since there are widgets I need in my application (dashboards, pivot grids), additionally "standard" widgets like textbox, dropdown, ... provide rich experience.
I found the following article from one of your developers describing how to integrate DevExtreme with ASP.NET Zero: https://medium.com/volosoft/devextreme-asp-net-zero-integration-444ea26d0fc5
In die article, the author states: "We suggest you to use JQuery version of DevExtereme for ASP.NET Zero MVC & jQuery version rather than DevExtreme ASP.NET Core components (HTML helpers) since it better fits to our design."
Could you explain why the jQuery version better fits into ASP.NET Zero? I don't really unterstand this as data binding seems easier to me in Core Version (by using model) than in jQuery version (creating custom data store, writing much more lines of code). What are disadvantages of using the ASP.NET Core Version?
Thanks in advance Claus