Back to Browse

ASP.NET Master Page

15.5K views
Feb 17, 2022
12:35

⭕ Overview Hello, this is Christian. In this video, we’ll explore how to create and use a master page in ASP.NET. A master page is a special type of page that contains common layout and design elements for your website, ensuring a consistent look across all pages. We begin by explaining the concept of a master page. It holds structural elements such as headers, footers, and navigation menus that remain the same across different pages. The master page includes a content placeholder where the content of individual pages will be injected. To demonstrate, I’ll create a new ASP.NET project using C# and the .NET framework. I name the project "Master Page Demo" and select an empty template to keep things simple. Once the project is set up, I add a new folder for stylesheets to organize our styles. Then, I create the master page, defining the common layout elements and the content placeholder. Next, I show how to create a content page that uses this master page. The content page includes specific content that gets injected into the master page’s placeholder, resulting in a seamless and consistent page layout. This approach makes managing the design and layout of your website more efficient, as changes to the master page automatically reflect across all content pages. If you find this video helpful, please give it a thumbs up, share it with your friends, and subscribe to my channel for more tutorials and insights into programming. Your support helps me create more content to assist you in your learning journey. Thank you for watching! 🟩 CSS Stylesheet Here: https://christianhur.com/asp-net-master-page/ ⭕ Chapters 0:00 - Introduction ⭕ About me I am a Web instructor and author for Linkedin Learning (formerly Lynda.com), Packt, E-C Council, Udemy, and MC Press. ⭕ Visit my site: https://christianhur.com ⭕ My complete online training courses: ☑️ REST APIs & AJAX Operations Using Node, Express, and jQuery: https://www.udemy.com/course/rest-apis-ajax-operations-using-node-express-and-jquery/?referralCode=A762AE70D9FD6A931F9B ☑️ Build Clean and Secure PHP Web Apps From Scratch: https://www.udemy.com/course/build-clean-and-secure-php-web-apps-from-scratch/?referralCode=C200BB52F0C7153B93CC ☑️ Angular 9 New Features: https://www.packtpub.com/web-development/angular-9-new-features-video ☑️ Full-Stack Web Development with Flask: https://www.packtpub.com/web-development/full-stack-web-development-flask-video ☑️ Full-Stack Web Development with Django & Angular 8: https://www.packtpub.com/web-development/full-stack-web-development-with-django-and-angular-8-video ☑️ Angular 7 New Features: https://www.packtpub.com/web-development/angular-7-new-features-video ☑️ The DOM in JavaScript, jQuery, AngularJS, and React : https://www.linkedin.com/learning/the-dom-in-javascript-jquery-angularjs-and-react ☑️ Building JSF Web Applications with Java EE 7: https://www.linkedin.com/learning/building-jsf-web-applications-with-java-ee-7 ☑️ Troubleshooting Vue.js: https://www.packtpub.com/application-development/troubleshooting-vuejs-video ⭕ Check out my book: Developing Business Applications for the Web: With HTML, CSS, JSP, PHP, ASP.NET, and JavaScript is available on Amazon and MC Press. ☑️ Link: https://www.mc-store.com/collections/christian-hur/products/developing-business-applications-for-the-web-with-html-css-jsp-php-asp-net-and-javascript

Download

1 formats

Video Formats

360pmp416.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

ASP.NET Master Page | NatokHD