ASP.NET Development C# Help

Sometimes the tools available for Web development, however powerful, don’t quite match up with your requirements for a specific project, Perhaps a given control doesn’t quite work as you would like it to, or perhaps one section of code, intended for reuse on several pages, is too complex in the hands of multiple developers, In such cases, there is a strong argument for building your own controls, Such controls can, at their simplest, wrap multiple existing controls together, perhaps with additional properties specifying layout. They can also be completely unlike any existing control, Using a control you have built yourself can be as simple as using any other control in ·ASP.NET (if you have written it well), which can certainly ease Web site coding.

You examine the options available to control developers, and  assemble some simple user controls of your own, You also look at the basics of more advanced control construct,on, although you won’t see these in any great depth; whole books are devoted to the subject.

Next, you look at master pages, a technique new to ASP.NET 2.0 that enables you to provide templates for your Web sites, Using master pages, you can implement complex layouts on Web pages throughout a Web site with’a great deal of code reuse, You also see how you can use the navigation Web server controls in combination with a master page to provide consistent navigation across a Web site.

Site navigation can be made user-specific, such that only certain users (those that are registered with the site, or site administrators; say) can access certain sections. You also look at site security and how to log in to Web sites – something that is made extremely easy via the login Web server controls.

After that, you look at some more advanced styling techniques, namely, providing and choosing themes for Web sites, which separate the presentation of your Web pages from their functionality, You can supply alternative cascading style sheets for your sites, as’ well as different skins for Web server controls.

Finally, you will see how to use Web Parts to enable your users to dynamically personalize Web pages by positioning and customizing controls on a page.

Tosummarize, in this chapter you look at:

  1. User and custom controls
  2. Master pages
  3. Site navigation
  4. Security
  5. Themes
  6. Web Parts

You will refer to one large example application that includes all the techniques that you have seen, This application, PCSDemosite, is available in the downloadable, It is a little too large to include all the code here, but you don’t need to have it running in front of you to learn about the techniques it illustrates, The relevant sections of code are examined as and when necessary, and the additional code (mostly dummy content or simple code you have already seen) is left for you to examine at your convenience.

Posted on November 3, 2015 in ASP.NET Development

Share the Story

Back to Top
Share This