Database Reference
In-Depth Information
Figure 11.4
Coniguration of radio button.
16. After the Page Inspector dialog is opened, click the Inspect tab at the left-bottom
part of your screen. hen, click your logo here in the title area. In the HTML code,
change the header to Student Club Web Page . Similarly, open the ile Site.Master
and change the header to Student Club Web Page as shown in Figure 11.6.
17. Rearrange the controls so that the design of Student Club web page looks like the one
in Figure 11.7.
18. To run the project, click Start Debugging on Visual Studio's Debug menu. A
browser will be launched on the local machine to display the computing result as
shown in Figure 11.8. he computation is done by the compute emulator included in
the Windows Azure SDK package. he local computer is used by the compute emula-
tor to emulate the Windows Azure environment. he browser on your local computer
is used to view the running instance in the Windows Azure environment.
TASK 2: CREATE DATA SOURCE FOR STUDENT CLUB WEB PAGE
For data communication between services, the Table storage accommodates Windows
Communication Foundation (WCF). hrough the context class TableServiceContext, WCF
Data Services is able to access the data stored in the Table storage. his task will implement
the class derived from TableServiceContext to deine the data model for the StudentClub
application. hen, a data model will be created for the entities used by the StudentClub
application. At the end of this task, the users will be able to insert student information into
the Table storage through the ASP.NET application.
1. To include the class library that contains WCF Data Services, you need to create a new
project. Assume that Visual Studio 2012 is still open, click FILE | Add | New Project .
Under the Visual C# node in the Installed Templates pane, expand the Windows
node and select the Class Library template. Rename the project as StudentClub_
Info as shown in Figure 11.9 and then click OK .
2. To add the references to WCF Data Services, right click the StudentClub_Info proj-
ect node in the Solution Explorer pane and select Add Reference . Enter the reference
Search WWH ::




Custom Search