Page 27 - DCAP312_WEB_TECHNOLOGIES_II
P. 27

Unit 1: Making Sense of .NET and Anatomy of an ASP.NET Page



             using ASP.NET MVC for deployment using Microsoft SQL Server 2008 Enterprise (64-bit)   Notes
             database  software  running  on  the  Windows  Server  2008  Enterprise  for  64-Bit  Systems
             operating system. While Jwaala developers were fans of Ruby on Rails, they have found
             that ASP.NET MVC, Microsoft Visual Studio 2008, and other Microsoft tools and technology
             combine to create a more efficient development environment.
             Situation
             Jwaala,  creator  of  the  MoneyTracker  online  banking  solution,  prides  itself  in  helping  to
             change the face of Internet banking with its personal finance management innovations. The
             company, based in Austin, Texas, chose as its name the Hindi word for passion. A passion
             for online banking and personal financial management is seen throughout MoneyTracker,
             which includes integrated account aggregation, natural language searching, personal financial
             management, consumer remote deposit, secure document repository, widgets, and infinitely
             customizable alerting options.
             Developers at Jwaala liked working with Ruby on Rails because it provides a framework and
             tools for creating Web-based applications, and because of its use of the Model View Controller
             (MVC) architecture that simplifies application programming. However, the company found
             that many of its potential customers in the financial industry had limited experience about
             deploying an application that required the LAMR stack.
             Questions
               1.  Discuss the initial problem of online banking.
               2.  What are the benefits of ASP.NET MVC?


            Self Assessment Questions
               6.  Which of the following are correct controls in ASP.NET Source View?

                 (a)  <asp:textbox runat= “server” id= “Msg” text= “Hello, R4R” />
                 (b)  <asp:button runat= “server” id= “Send” text= “Send” onclick= “Send_Click” />
                 (c)  None                       (d)  Both.

               7.  Which is used to add event code (on C# Code) for TextBox control in Source view (ASP.
                 NET).

                 (a)  MsgSent.Text = Msg.Text;    (b)  MsgSent.Text = Msg.Text
                 (c)  None                       (d)  Both.
              8.  Which is code allows the modification of the head tag at runtime?
                 (a)  < head runat= “server”>    (b)  < script javascript= “server”>

                 (c)  None                       (d)  Both.
               9.  Correct syntax of ASP.NET directive
                 (a)  <%@ directive [attribute=value] %>.

                 (b)  <% directive [attribute=value] %>.
                 (c)  <@ directive [attribute=value] %>.
                 (d)  <@ directive [attribute=value] >.






                                             LOVELY PROFESSIONAL UNIVERSITY                                    21
   22   23   24   25   26   27   28   29   30   31   32