Top Categories
Part 22 - Style.Render, Script.Render, and BundleConfig file in Asp.net MVC
- Category: Information Technology
- Sub Category: Web Designing
Overview
In this video you will come to know about the purpose or Style.Render, Script.Render, and BundleConfig.cs file in asp.net mvc application.
SOCIAL :
Like TechnoTips official Page : http://facebook.com/technotipstutorial
Subscribe : http://youtube.com/user/aapkanigam
Follow us on Twitter
Overview
In this video you will come to know about the purpose or Style.Render, Script.Render, and BundleConfig.cs file in asp.net mvc application.
SOCIAL :
Like TechnoTips official Page : http://facebook.com/technotipstutorial
Subscribe : http://youtube.com/user/aapkanigam
Follow us on Twitter : @technotipsMVC
Get CODE HERE:
http://technotipstutorial.blogspot.in/2017/01/part-22-stylerender-scriptrender.html
INTRODUCTION :
Why Style.Render() and Script.Render() method are used in layout?
Style.Render()
o It is used to render the bundle of CSS files defined in Bundleconfig.CS file.
Script.Render()
o It is used to render the bundle of Scripts files defined in BundleConfig.CS file.
Style.Render() and Script.Render() generate multiple Style and Script tags for each item in the CSS bundle and Scripts bundle when optimizations are disabled.
How to enable optimization?
Open Global.asax file and in Application_Start set EnableOptimizations = true , Like in following example
RECOMMENDATION:
1.Create Navigation bar (bootstrap playlist) : https://www.youtube.com/watch?v=FwqcoXMwgQU&index=3&list=PLM5JAv_WpgH9BrISrthg3-u6ak8_IlNe5
TAGS :
Style.render
Script.render
Partial view in mvc
html.partial
html.RenderAction
how to create a - website
how to create bootstrap popup modal
asp. net mvc
asp.net mvc interview questions
asp.net mvc 5 tutorial
model view controller
jquery-ajax Post