{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Web Form Toolkit 20050120 B

Web Form Toolkit 20050120 B - Overview of the Internet Web...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Overview of the Internet Web server – IIS in the lab. Web servers send responses to requests for files. Web servers send static(pre-existing) files or dynamic (just created) files. Web clients – Browsers receive files containing HTML (instructions in the form of tags) from web servers and display content as instructed. Browser support – ASP.NET is optimized for internet explorer Web Pages – The server serves static or dynamic files. Microsoft provides two technologies of note for dynamic pages: dynamic HTML (DHTML) and active server pages. ASP.NET – ASP.NET replaces ASP and is their new web development tool. Visual Basic.NET creates and manages web forms using ASP.NET. The programs can have multiple classes and inheritance. Web Form – A web form is composed of HTML and other rendering instructions, and the Visual Basic code(the code behind file). The internet is stateless. – The state of a page, the values a user enters are lost, unless you specifically save those values. Your requests and the server responses are not available not store automatically through the internet protocols. The net forgets. Your code must remember by “Saving State” Absolute versus relative paths – http://www.mercyhurst.edu is an absolute path. “StartPage.aspx” is a relative path. VS will look in the current folder. Web Services - HTML Stream – Think of a stream of packets being sent to a client from the server. This stream of packets consists of tags(commands) and content. Starting Starting a Web Project (225) To keep all of your files in one folder 1. As soon as you open a new Web project, and you have saved it, select the solution file in the solution explorer 2. Select File>Save SolutionName As>Browse to find folder name in Inetpub\wwwroot and save solution file there. To Save Your Work Copy to the H drive the application folder that resides in c:/inetpub/wwwroot To Start Back Up Copy from the H drive to c:/inetpub/wwwroot
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Overview of the Files Supporting Web Forms File File type Purpose FormName.aspx ASP.NET Generates web user interface enabling server side code FormName.aspx.vb Visual Basic code The code behind the aspx file AssemblyInfo.vb Project Information Assembly names, versions and other project data ProjectName.vsdisco XML discovery file Holds links(URLs) to locate Web services Global.asax ASP.NET application file Supplies code for Application and Session Level Events Style.css Cascading style sheet Another level of formating control for HTML Web.config Configuration Contains setup data for each URL .dll Dynamic Link Library files Compiler creates .dll files that hold the compiled code, a web request causes the dll to be loaded into memory, the page created, and the dll deleted from memory To see all files Solution Explorer>Show All Files>then expand collapsed nodes Creating a Web Application (Page 205) New Project>ASP.NET Web application Common Properties Property Purpose Control ID Replaces Name All Title Places a title tag in the HTML Form TabIndex Controls tab order. Zero indicates TabIndex not set.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern