Base solution for your next web application

Activities of "marcosli"

Question

Hi,

I'm new on AspNetZero and starting a new project. What platform (SPA or MPA) would you choose and why (main advantages/disadvantages, productivity, etc )? AspNetZero has 100% of all features implemented on both? New features are first released in one platform? Or they released at the same time for both? The same question for documentation updates.

Thanks

Hi,

I was studying the sample-blog-module application, but i didn't understand the behavior of the views. The content of blog page is loaded from the app and not from the module. Also the *.cshtml and *.js of the blog view is duplicated. Is that correct ? Because in my point of view the app should render the views and scripts from module.

Thanks

Hi,

Sorry, i should have asked this in the "Module Zero" forum.

But I've followed the steps just like in <a class="postlink" href="https://github.com/aspnetboilerplate/sample-blog-module">https://github.com/aspnetboilerplate/sample-blog-module</a>. So I've used just like you said, the "ABP + Module Zero".

In that repository you created twice the blog view and its js file: sample-blog-module/src/Abp.Samples.Blog.Web/App/Main/views/blog/ sample-blog-module/app/MyAbpZeroProject.Web/App/Main/views/blog/ Why these files are duplicated?

To determine which view is being rendered, I modified the contents of the view of the src folder, and nothing happened. But when I modified the contents of the app folder view, I could see the updates.

It would not be right to keep only view the files in the src folder? And the application load its contents from the module?

Thanks

Hi,

I've been trying to use the <a class="postlink" href="https://angular-ui.github.io/bootstrap/#/datepicker">https://angular-ui.github.io/bootstrap/#/datepicker</a> but the application loads two css files: components-md.css and bootstrap.css. And those have classes that will be conflicting with each other, making the style of datepicker not been renderized as should be. Is there a solution in that case?

Thanks

I took a look on the styles that are applied on the element. In such case is a button with the .btn class. That .btn exists in the bootstrap and material design. I figured out that metronic demo <a class="postlink" href="http://www.keenthemes.com/preview/metronic/theme/admin_4_angularjs/#/ui_bootstrap.html">http://www.keenthemes.com/preview/metro ... strap.html</a> doesn't load the components-md.css, so will not have a conflict between them. Here are are pictures showing this:

  1. Working with bootstrap classes

  2. Working with material design classes

  3. In the metronic demo that page doesnt load the material design css

Thank you so much! The support from Metronic already have answered and fixed that problem.

If you are using IIS you need to install URL Rewrite and make some modifications on the web.config.

I followed this [http://www.advancesharp.com/blog/1191/angularjs-html5-mode-reloading-page-not-found-solution]) but is still not working.

If you find a solution, could you post it here?

Thanks!

Question

Hi,

My application is SPA and I'm having problems with minification when deploying to Azure. Angular cant resolve dependency injection because the names are changed. So i tried to explicitly Inject Dependencies or using an inline annotation, just like is said in that page [https://scotch.io/tutorials/declaring-angularjs-modules-for-minification]) but didn´t work for me.

For the moment, i'm clearing the transformation by doing this in the Bundles:

        foreach (var item in bundles)
        {
            item.Transforms.Clear();
        }

Anyone is have this problem when deploying to Azure?

Hi Halil,

I've removed those files from the Web application. Are they necessary? If not, could be them be removed in the next release?

Thanks

Answer

I'll try to create a sample to demonstrate that problem

Thanks Halil

Showing 1 to 10 of 43 entries