« Home « Chủ đề Lập trình web với ASP

Chủ đề : Lập trình web với ASP


Có 20+ tài liệu thuộc chủ đề "Lập trình web với ASP"

Chương 1: Lập trình Web với ASP

tailieu.vn

Lập trình ASP 3.0 và ASP.NET. Web – Web page. World Wide Web – WWW: được nghiên cứu từ năm 1989 và giới thiệu lần đầu tiên vào năm 1991, bao gồm 1 số lượng lớn và trên phạm vi toàn cầu các trang tài liệu được gọi là trang Web – Web page. Mỗi trang web là tập hợp...

Microsoft ASP Net 3.5 Step By Step (phần 1)

tailieu.vn

2 ASP.NET Application Fundamentals. 20 ASP.NET Web Services. 23 ASP.NET and WPF Content. Classic ASP (Putting ASP.NET into Perspective. ASP.NET. Chapter 1 Quick Reference. The ASP.NET Compilation Model. ASP.NET 1.x Style. Modern ASP.NET Style. The ASP.NET HTTP Pipeline. Visual Studio and ASP.NET. Chapter 2 Quick Reference. The Page Using ASP.NET. Chapter 3 Quick Reference. Chapter 4 Quick Reference. Chapter 5...

Microsoft ASP Net 3.5 Step By Step (phần 2)

tailieu.vn

Use the .NET Framework to make HTTP requests without a browser Interpret HTML. Produce dynamic Web content without using ASP.NET yet. The technologies underlying ASP.NET have been around for a long time. Of course, ASP.NET makes use of this technology underneath, while making it very approachable at the same time.. Although ASP.NET makes developing Web applications far easier than ever...

Microsoft ASP Net 3.5 Step By Step (phần 3)

tailieu.vn

IIS 5.x runs the ASP.NET worker process as LocalSystem. The Page directive appearing at the top of the code is used by the ASP.NET runtime as it compiles the code. ASP.NET supports integrating ASPX fi les with assemblies, which we’ll see shortly. In subsequent examples, we’ll see how ASP.NET compiles code on the fl y and stores the assem- blies...

Microsoft ASP Net 3.5 Step By Step (phần 4)

tailieu.vn

Chapter 3 The Page Rendering Model 61 Of course, using controls on a page usually implies dynamic content, so getting this HTML to the browser should happen dynamically, in a programmatic way. When you select an item from the selection control, notice that the page responds by telling you what you selected. This demonstrates ASP’s support for dynamic content.. Also,...

Microsoft ASP Net 3.5 Step By Step (phần 5)

tailieu.vn

Add the PalindromeCheckerRenderedControl to the toolbox if it’s not already there.. Visual Studio should add the PalindromeCheckerRenderedControl to the Toolbox. Visual Studio will load the new control in the toolbox.. Add a new Web Form to the ControlORama project and name it UsePalindromeCheckerControls.aspx. Add a TextBox and a but- ton so you can add a palindrome to the control and...

Microsoft ASP Net 3.5 Step By Step (phần 6)

tailieu.vn

After completing this chapter, you will be able to Use ASP.NET validation controls. One of the things you’ll fi nd as you tour ASP.NET is that Microsoft has done a great job of anticipating what the developer needs and putting it in the framework. In the three previous chapters, we saw the architecture behind ASP.NET Web Forms and controls. ASP.NET...

Microsoft ASP Net 3.5 Step By Step (phần 7)

tailieu.vn

Run the page. You should see the links appear on the left side of the page.. Add a DropDownList to the page. We’ll add code to support (some of) these display modes in the next step. EditDisplayMode This option turns on personalization or customization of WebPart properties and permits a user to delete Web Parts that have been added to...

Microsoft ASP Net 3.5 Step By Step (phần 8)

tailieu.vn

Chapter 8 A Consistent Look and Feel 181 Master Pages offer signifi cant improvements over earlier versions of classic ASP and ASP.NET for developing a common look and feel among all the pages in your application. A second way to help manage the look and feel of your application is ASP.NET Themes.. When available, you may apply ASP.NET Themes at...

Microsoft ASP Net 3.5 Step By Step (phần 9)

tailieu.vn

LISTING 10-2 A Basic ASP.NET Login Page. In this scenario, even if users try to surf to any page in the virtual directory, ASP.NET will stop them dead in their tracks and force them to pass the login page shown in Figure 10-3.. Later in this chapter, we’ll see the ASP.NET authentication services. Add an HTML fi le to the...

Microsoft ASP Net 3.5 Step By Step (phần 10)

tailieu.vn

Before seeing how to render database queries using UI ele- ments, let’s take a quick look at the .NET database story.. The .NET Database Story. Just as .NET includes a library of classes for managing rich client UI (Windows Forms) and for handling HTTP requests (ASP.NET), .NET includes a library for connecting to a wide range of databases. That library...

Microsoft ASP Net 3.5 Step By Step (phần 11)

tailieu.vn

Add a new site map to the project. Add the following data to the site map (you can change the URLs if the names of the page fi les are different). Next add a TreeView to the master page. Now add a SiteMapPath control to the master page. ASP.NET is full of extensibility points. ASP.NET’s site map support includes an...

Microsoft ASP Net 3.5 Step By Step (phần 12)

tailieu.vn

The lifetime of the page is very short. Using session state is a way to solve this issue. Write code to store the string in session state. Then update the Page_Load method to display the value as it came from session state as shown below:. The LabelShowStringAsSessionState label also shows data because the handler stored that text in session state.....

Microsoft ASP Net 3.5 Step By Step (phần 13)

tailieu.vn

The GetInventory and BindToInventory methods are called by the Page_Load method. A half second in the computer processing time scale is eons to the program.. If that’s the case, why does the application need to hit the database each time a page is loaded? Doing so is certainly overkill. Look in the cache for the data element.. If the data...

Microsoft ASP Net 3.5 Step By Step (phần 14)

tailieu.vn

In addition to varying the number of cached versions of a page, you may tell ASP.NET where to cache the content. ASP.NET supports several output caching locations for which you can specify using the OutputCache directive:. The HttpCachePolicy also allows you to determine the location of the cached content pro- grammatically. This is done through the HttpCachePolicy.SetCacheability method (or the...

Microsoft ASP Net 3.5 Step By Step (phần 15)

tailieu.vn

You may also redirect users to a different page, if you want to hijack the exception handling before ASP.NET redirects to the page specifi ed in web.confi g. Be sure to call Context.ClearError fi rst to clear the error so ASP.NET won’t generate its standard error page.. ASP.NET supports page-level tracing and application-level tracing. In both cases, ASP.NET displays the...

Microsoft ASP Net 3.5 Step By Step (phần 16)

tailieu.vn

If you look through the default web.confi g fi le a bit more, you’ll see some other critical ASP.NET handlers. If you try to look at source code via a Web browser, ASP.NET returns the page shown in Figure 19-4 by default.. Remember that ASP.NET’s confi guration is very malleable and that you may choose to let cli- ents see...

Microsoft ASP Net 3.5 Step By Step (phần 17)

tailieu.vn

Chapter 20 ASP.NET Web Services 451 application). You may get to it using the Object Browser, or you may look for the fi le in the Service References subdirectory of the project), you’ll see multiple versions of the meth- ods exposed by the XML Web Service. These asynchronous method calls use the standard .NET asynchronous delegate pattern.. The original caller—the...

Microsoft ASP Net 3.5 Step By Step (phần 18)

tailieu.vn

AJAX expands on this idea of client-based UI using JavaScript as well as out-of-band calls to the server. Much of ASP.NET’s support for AJAX resides in a collection of server-side controls responsible for rendering AJAX-style output to the browser. Recall from Chapter 3 on the page rendering model that the entire page-rendering process of an ASP.NET application is broken down...

Microsoft ASP Net 3.5 Step By Step (phần 19)

tailieu.vn

The AutoComplete Extender is an excellent example of the sort of things at which ASP.NET’s AJAX support excels. The ASP.NET AutoComplete Extender works very much like this. The actual process of generating autocomplete candidates is com- pletely up to the Web server, giving a whole new level of power and fl exibility to program- ming user-friendly Web sites.. The model...