Base solution for your next web application

Activities of "cangunaydin"

Question

Hi, I have a problem with exception handling sometimes i need to disable javascript error exception handling. For ex. I send some ajax request to another server and i don't have any control on return values so in the return json there is no "success" property. As a result it displays me modal which has error. How i can disable this? Any solution for that?

Answer

Hello Halil, if i do BundleTable.EnableOptimizations = true; then it is doing the job otherwise release mode or debugging mode do not make any difference on that. I was expecting the same behavior but it doesn't make any difference, i have fixed that by using the BundleTable.EnableOptimizations

Question

Hi, In Module Zero when you append the bundles and implement it in the layout or in the header layout, it doesn't bundle it. It shows all the scripts in seperate files.

For ex: i have a bundle called ~/Bundles/App/libs/js when i include this bundle in layout.cshtml like this @Scripts.Render("~/Bundles/App/libs/js") it doesn't do the job and i get bunch of script files seperately instead of the bundle do i miss sth here? or do we need some configuration to activate the bundling?

Showing 181 to 183 of 183 entries