15.02.2015 Views

C# 4 and .NET 4

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1182 ❘ ChaPTer 40 cOre Asp.net<br />

If you ran the project in debug mode, then you will also see some additional settings in the web.config file.<br />

You can edit web.config files manually, but you can also configure web sites (<strong>and</strong> their underlying<br />

configuration files) using a tool that is accessible on the web site menu in Visual Studio, under ASP.<strong>NET</strong><br />

Configuration. The display for this tool is shown in Figure 40-15.<br />

As you can see from the figure, this tool lets you configure a number of settings, including security. You will<br />

see much more of this tool in the next chapter.<br />

figure 40-15<br />

summary<br />

This chapter has provided an overview of web application creation with ASP.<strong>NET</strong>. You have seen how you<br />

can use <strong>C#</strong> in combination with web server controls to provide a truly rich development environment. You<br />

have developed an event-booking sample application which illustrates many of the techniques available, such<br />

as the variety of server controls that exist, <strong>and</strong> data binding with ADO.<strong>NET</strong>.<br />

Specifically, you have seen the following:<br />

➤<br />

➤<br />

➤<br />

➤<br />

➤<br />

An introduction to ASP.<strong>NET</strong> <strong>and</strong> how it fits in with .<strong>NET</strong> development in general<br />

How the basic syntax of ASP.<strong>NET</strong> works, how state management is achieved, <strong>and</strong> how to integrate<br />

<strong>C#</strong> code with ASP.<strong>NET</strong> pages<br />

How to create an ASP.<strong>NET</strong> web application using Visual Studio, <strong>and</strong> what options exist for hosting<br />

<strong>and</strong> testing web sites<br />

A summary of the web controls available to ASP.<strong>NET</strong> developers, <strong>and</strong> how they work together to<br />

deliver dynamic <strong>and</strong>/or data-driven content<br />

How to work with event h<strong>and</strong>lers to both detect <strong>and</strong> act on user interaction with controls <strong>and</strong><br />

customize controls via page <strong>and</strong> rendering events<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!