.Net經典面試題

來源:互聯網
上載者:User

標籤:http   使用   strong   檔案   os   資料   

1.同一平台;

2.Bootstrap

3.webAPI

4.SignalR

5.ASP.Identity

6.OWIN

 

二.

ObjectContext:

      用於控制ASP的交易(Transaction),交易由Microsoft Transaction Server(MTS)管理

三.asp 是解釋執行 asp.net是編譯執行的

 

四.列舉ASP.NET 頁面之間傳遞值的幾種方式。

答. 1.使用QueryString,  如....?id=1; response. Redirect()....

    2.使用Session變數

3.使用Server.Transfer

4.使用Application

5.使用Cache

6使用HttpContext的Item屬性

7.使用檔案

8.使用資料庫

9.使用Cookie

 

五.

 介面是否可以繼承介面?抽象類別是否可以實現介面?抽象類別是否可以繼承實體類?   答:介面是可以繼承介面的,抽象類別是可以實現介面的,抽象類別可以繼承實體類,            但是有個條件,條件是,實體類必須要有明確的建構函式。

六.

foreach (System.Windows.Forms.Control control in this.Controls)

      {

 if (control is System.Windows.Forms.TextBox)

 {

     System.Windows.Forms.TextBox tb = (System.Windows.Forms.TextBox)control ;

     tb.Text = String.Empty ;

 }

      }

 

 七.處理並發

1.tansaction

2.lock() unlock()

3.timestamp

 

八.

Foreach (object o in Array), ArrayList.Add (0) 

 

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.