Some common questions and answers in. NET Interviews

Source: Internet
Author: User
Tags soap wsdl

1. How to pass the value of the page and its advantages and disadvantages?
Session,application,cookies,requst.querystring,requst.form,server.transfer (Receive entire page via Context.Handler)
2, ASP. NET authentication mode and how it works
Windows Authentication Provider
Provides information about how to use Windows authentication in conjunction with Microsoft Internet Information Services (IIS) authentication to ensure the security of your ASP.
Forms Authentication Provider
Provides information about how to use your own code to create application-specific login forms and perform authentication. An easy way to use Forms authentication is to use the ASP. NET membership and the ASP. NET login controls, which together provide a way to collect, validate, and manage user credentials with little or no code.
Passport Authentication Provider
Provides information about the centralized authentication service provided by Microsoft, which provides a single sign-on and core profile service for member sites.

3. What is webservice and what is the understanding of it?
WebService is a technology developed by Microsoft for Service-oriented (SOA) programming, which uses the WSDL description language to declare an interface to a service that can be referenced, and uses the SOAP simple Object Access protocol to transmit data in the same way, such as method parameters and return values. The objects transmitted in SOAP are serialized XML-formatted data, which can penetrate firewalls and carry out the transfer of objects between different applications.

4. What are the similarities and differences between UDP link and TCP link?
The UDP protocol does not necessarily provide reliable data transfer, which means that the protocol does not guarantee the accuracy of the information to the destination. However, if the goal of your program is to transfer as much information as possible as soon as possible using UDP to achieve, such as QQ, YY voice and other chat programs.
TCP/IP provides reliable data transfer and maintains a virtual connection between devices or services that communicate with each other. Responsible for data recovery when packets are received unordered, lost, or destroyed during delivery.

5. NET Remoting Technology and webservice technology comparison?
Remoting can flexibly define the protocol on which it is based, and if it is defined as HTTP, it makes no difference to the Web service, which is generally defined as TCP, which is somewhat more efficient than a Web service.
Remoting is not a standard, and Web service is standard;
Remoting typically need to be started through a WinForm or Windows service, and Web service requires IIS to start.
In VS, the call to the Web service is encapsulated, which is easier to use than remoting
Remoting generally used in the system of C/s, Web service is used in B/s system

6, JS, Jquey Ajax do not know how to apply?
JS is a scripting language
Jquey is the function library of JS scripting language, which makes the application of JS become richer.
Ajax is a technique for asynchronously accessing data using JS or Jquey in conjunction with a server-side development language (this page has no refreshed access to data on the server.) )
7. A brief description of WCF and WPF technologies.
There is no direct relationship between WCF and WPF.
WCF refers to the Windows Communication Foundation, is a kind of remoting, WebService, TCP/IP and other technologies to integrate together, the use of more convenient distributed application system. The main purpose is to implement the transfer of objects in different applications.
WPF, a new generation of Microsoft graphics systems, runs in the framework of the. NET Framework 3.0 and provides a unified way of describing and manipulating user interfaces, 2d/3d graphics, documents, and media. WPF uses XAML as a front-end representation to implement background programming in the C # language.

8. What is the difference between a DIV tag and a tag?
A DIV (division) is a block-level element that can contain paragraphs, headings, tables, and even chapters, summaries, and notes.
While span is an inline element, span is not wrapped, it has no structural meaning, it is purely applied, and spans can be used when other inline elements are not appropriate.

9, webconfing method of common node configuration?
Typically used to set some constant information to be applied in the program.
Commonly used to set the link string in the program
Used to set the session or cookie status
Call the corresponding request map to the appropriate handler based on the file name or extension
All requests are mapped to the appropriate handlers

10. What is the difference between ASP and ASP?
ASP is the predecessor of ASP, they are server-side dynamic programming technology, ASP is in the server-side interpretation of execution, ASP generally use VB Script as a programming language. Asp. NET is a compile-and-execute technique that generally uses C # when it comes to ASP, while others are using vb.net
11. What is Serverlight technology?
Serverlight is a subset of WPF, developed primarily for web and mobile applications, and provides a unified approach to user interfaces, 2d/3d graphics, documents, and media, just as WPF does. The same XAML is used as the expression C # as a programming language.
12, XML technology and its application?
The application of XML in ASP is generally used as a persisted data format, such as a DataTable and a DataSet object in ADO. Sometimes it is also used to store data, and it can be used to instantiate an object as an XML document, and then instantiate it in reverse order. In. NET WebService, XML is also used to hold generic formats, such as WSDL and SOAP, which are XML-based. At the same time, the XAML front-end presentation language in WPF and Serverlight is also XML-based. Of course, XML can be combined with XSL to realize the performance of the foreground interface, but it cannot be done by itself.
13, Microsoft's new technology and its application?
The new template engine razor technology in MVC3.0 and MVC changed the original aspx file to the cshtml file. and the internal syntax is more concise and does not need to be used to declare C # statements, but to use @ to declare.
WCF, WPF, XAN, Serverlight, Linq, entityfremwork, cloud computing, and more. "Private Cloud".
14. How do I publish and deploy the project?
b/S project, you can directly publish to the right, after the release of the project, the. cs files are all packaged into the. dll. You can then deploy the project to the IIS server through site administration for IIS. It is important to note the configuration of the authentication in Web. config.

Some common questions and answers in. NET Interviews

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.