« Home « Chủ đề tích hợp web server

Chủ đề : tích hợp web server


Có 20+ tài liệu thuộc chủ đề "tích hợp web server"

Professional ASP.NET 3.5 in C# and Visual Basic Part 170

tailieu.vn

pseudo classes, CSS, 869–871 pseudo elements, CSS, 871 pseudo web.config files,. overview of, 21–22 registering AJAX control on. remote debugging remote servers, web.config. overview of, 197–199. membership management service vs., 799 overview of, 757. 651–652 overview of, 602. scripts scrollbars, Panel server control,. .NET Trust Levels overview of, 995–996. security trimming, 714–720 enabling, 718–720 overview of, 714–715 setting up administrators’....

Professional ASP.NET 3.5 in C# and Visual Basic Part 1

tailieu.vn

Evjen ffirs.tex V pm Page iii. ASP.NET 3.5. Evjen ffirs.tex V pm Page iv. Professional ASP.NET 3.5. 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN fax or online at http://www.wiley.com/go/permissions. Evjen fauth.tex V am Page v. Bill Evjen is an...

Professional ASP.NET 3.5 in C# and Visual Basic Part 2

tailieu.vn

Chapter 8: Data Management with ADO.NET 377. Basic ADO.NET Features 378. Common ADO.NET Tasks 378. Basic ADO.NET Namespaces and Classes 383. Using the Connection Object 384. Using the Command Object 386. Using the DataReader Object 387. Using Oracle as Your Database with ASP.NET 3.5 400. Working with ItemTemplate 404. Working with Other Layout Templates 407. Working with Multiple Columns 409....

Professional ASP.NET 3.5 in C# and Visual Basic Part 3

tailieu.vn

IIS versus ASP.NET Development Server 1124. IIS 5/6 and ASP.NET 1275. IIS 7 and ASP.NET 1276. ASP.NET Request Processing 1277. Using Business Objects in ASP.NET 3.5 1297. Creating Precompiled .NET Business Objects 1298. Using Precompiled Business Objects in Your ASP.NET Applications 1301. COM Interop: Using COM Within .NET 1302. Using COM Objects in ASP.NET Code 1304. Deploying COM Components with...

Professional ASP.NET 3.5 in C# and Visual Basic Part 4

tailieu.vn

ASP.NET 3.5 provides a con- trol called the GridView server control. Listing I-2 shows you an example of the GridView server control. That’s it! You can apply paging by using a couple of new server controls. You turn on this capability using a server control attribute, the AllowPaging attribute of the GridView control:. The other interesting event occurs in the...

Professional ASP.NET 3.5 in C# and Visual Basic Part 5

tailieu.vn

One of the more code-intensive tasks in ASP.NET 1.0 was the retrieval of data. If you have been working with ASP.NET for a while, you know that it was an involved process to display data from a Microsoft SQL Server table within a DataGrid server con- trol. ASP.NET today eliminates this intensive procedure with the introduction of a set of...

Professional ASP.NET 3.5 in C# and Visual Basic Part 6

tailieu.vn

In fact, the code for this mini Web server is freely downloadable from the ASP.NET team Web site found at www.asp.net. The following section shows you how to use the built-in Web server that comes with Visual Studio 2008.. Built-In Web Server. By default, Visual Studio 2008 builds applications without the use of IIS. You can see this when you...

Professional ASP.NET 3.5 in C# and Visual Basic Part 7

tailieu.vn

Inherits System.Web.UI.Page. ByVal e As System.EventArgs) Handles Button1.Click. using System.Data;. using System.Configuration;. using System.Linq;. using System.Web;. using System.Web.Security;. using System.Web.UI;. using System.Web.UI.WebControls;. using System.Web.UI.WebControls.WebParts;. using System.Web.UI.HtmlControls;. using System.Xml.Linq;. public partial class _Default : System.Web.UI.Page. The .aspx page using this ASP.NET 3.5 code-behind model has some attributes in the Page directive that you should pay attention to when working in this...

Professional ASP.NET 3.5 in C# and Visual Basic Part 8

tailieu.vn

control onto any of your .aspx pages. Dragging a user control onto the .aspx page causes Visual Studio 2008 to create an @Register directive at the top of the page. This registers your user control on the page so that the control can then be accessed on the .aspx page by a specific name.. Assembly The assembly you are associating...

Professional ASP.NET 3.5 in C# and Visual Basic Part 9

tailieu.vn

PreviousPageType VirtualPath="Page1.aspx". Response.Redirect("Page1.aspx") End If. Response.Redirect("Page1.aspx");. ASP.NET Application Folders. When you create ASP.NET applications, notice that ASP.NET 3.5 uses a file-based approach. When working with ASP.NET, you can add as many files and folders as you want within your application without recompiling each and every time a new file is added to the overall solution. ASP.NET 3.5 includes the capability...

Professional ASP.NET 3.5 in C# and Visual Basic Part 10

tailieu.vn

This means that your Web site code is completely removed and placed in the DLL when deployed.. Press the Enter key, and the compiler either tells you that it has a problem with one of the command parameters or that it was successful (shown in Figure 1-13). If it was successful, you can see the output placed in the target...

Professional ASP.NET 3.5 in C# and Visual Basic Part 11

tailieu.vn

is set to InProc in the Web.config file. Just as you can work with page-level events in your .aspx pages, you can work with overall application events from the Global.asax file. In addition to the events listed in this code example, the following list details some of the events you can structure inside this file:. Application_Start : Called when the...

Professional ASP.NET 3.5 in C# and Visual Basic Part 12

tailieu.vn

ASP.NET Ser ver Controls and Client-Side Scripts. As discussed in the previous chapter, ASP.NET evolved from Microsoft’s earlier Web technology called Active Server Pages (referred to as ASP then and classic ASP today). This model was com- pletely different from today’s ASP.NET. Classic ASP used interpreted languages to accomplish the construction of the final HTML document before it was sent...

Professional ASP.NET 3.5 in C# and Visual Basic Part 13

tailieu.vn

This text string is changed by the CSS included in the <p>. Using the style attribute of the <p>. element, you can change everything that appears between the opening and closing <p>. When the page is generated, the first style change applied is to the text between the <p>. In this example, the text has changed to the color blue...

Professional ASP.NET 3.5 in C# and Visual Basic Part 14

tailieu.vn

By using the HtmlGenericControl class, along with the other HTML classes, you can manipulate every element of your ASP.NET pages from your server-side code.. Developers generally like to include some of their own custom JavaScript functions in their ASP.NET pages. The first is to apply JavaScript directly to the controls on your ASP.NET pages. Protected Sub Page_Load(ByVal sender As Object,...

Professional ASP.NET 3.5 in C# and Visual Basic Part 15

tailieu.vn

using System.Data;. using System.Configuration;. using System.Collections;. using System.Web;. using System.Web.Security;. using System.Web.UI;. using System.Web.UI.WebControls;. using System.Web.UI.WebControls.WebParts;. using System.Web.UI.HtmlControls;. public partial class RandomNumber : System.Web.UI.Page, System.Web.UI.ICallbackEventHandler. string cbReference = Page.ClientScript.GetCallbackEventReference(this,. Page.ClientScript.RegisterClientScriptBlock(this.GetType(),. _callbackResult = rnd.Next().ToString();. When this page is built and run in the browser, you get the results shown in Figure 2-16.. Clicking the button on the page invokes the client...

Professional ASP.NET 3.5 in C# and Visual Basic Part 16

tailieu.vn

Chapter 2: ASP.NET Server Controls and Client-Side Scripts. MyReader["CustomerID"].ToString();. MyReader["CompanyName"].ToString();. MyReader["ContactName"].ToString();. MyReader["ContactTitle"].ToString();. MyReader["Address"].ToString();. MyReader["City"].ToString();. MyReader["Region"].ToString();. MyReader["PostalCode"].ToString();. MyReader["Country"].ToString();. MyReader["Phone"].ToString();. MyReader["Fax"].ToString();. The result retrieved from this SELECT statement is then made part of a string array, which is finally concatenated using the String.Join() method before being passed back as the value of the _callbackResult object.. This chapter gave you one of the...

Professional ASP.NET 3.5 in C# and Visual Basic Part 17

tailieu.vn

Response.Write("OnTextChanged event triggered");. Response.Write("OnClick event triggered");. As you build and run this page, notice that you can type something in the text box, but once you tab out of it, the OnTextChanged event is triggered and the code contained in the TextBox1_TextChanged event runs. For the AutoPostBack feature to work, the browser viewing the page must support ECMAScript.. You want...

Professional ASP.NET 3.5 in C# and Visual Basic Part 18

tailieu.vn

The DropDownList, ListBox, CheckBoxList, and RadioButtonList server controls give you the capability to visually remove items from the collection displayed in the control, although you can still work with the items that are not displayed in your server-side code.. On the postback, however, you can still work with the ListItem’s Value or Text property, as illustrated in Listing 3-11.. <script...

Professional ASP.NET 3.5 in C# and Visual Basic Part 19

tailieu.vn

The RadioButton server control is quite similar to the CheckBox server control. <asp:RadioButton ID="RadioButton1". runat="server". Text="Yes". <asp:RadioButton ID="RadioButton2". Text="No". GroupName="Set1"/>. When you look at the code for the RadioButton control, note the standard Text property that places the text next to the radio button on the Web form. The more important property here is GroupName , which can be set...