Вы находитесь на странице: 1из 2

ASP.

NET is a web application framework urbanized and marketed by Microsoft to allow programmers to construct dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the descendant to Microsoft's Active Server Pages technology. ASP.NET is built on the Common Language Runtime (CLR), allowing the programmers to write ASP.NET code using any support .NET language. The ASP.NET SOAP additional room framework allows ASP.NET components to process SOAP messages. List of Few ASP .NET Question and Answers For Freshers 1. How many languages .NET is supporting now? Ans: When .NET was introduced it came with several languages. VB, .NET, C#, COBOL and Perl, etc. The site DotNetLanguages.Net says 44 languages are supported. 2. How is .NET able to support multiple languages? Ans: a language should comply with the Common Language Runtime standard to become a .NET language. In .NET, code is compiled to Microsoft Intermediate Language (MSIL for short). This is called as Managed Code. This Managed code is run in .NET environment. So after compilation to this IL the language is not a barrier. A code can call or use a function written in another language. 3. How ASP .NET different from ASP? Ans : Scripting is separated from the HTML, Code is compiled as a DLL, these DLLs can be executed on the server. 4. What is smart navigation? Ans: The cursor position is maintained when the page gets refreshed due to the server side validation and the page gets refreshed. 5. What is view state? Ans: The web is stateless. But in ASP.NET, the state of a page is maintained in the in the page itself automatically. How? The values are encrypted and saved in hidden controls. this is done automatically by the ASP.NET. This can be switched off / on for a single control. List of Few ASP .NET Question and Answers For Experienced candidates 1. Explain the differences between Server-side and Client-side code? A. Server-side code executes on the server. Client-side code executes in the context of the clients' browser. 2. What are some ways to manage state in an ASP.Net application? A. Session objects, Application objects, ViewState, cookies, hidden form fields. 3.What does the "EnableViewState" property do? Why would I want it on or off? A. It allows page objects to save their state in a Base64 encoded string in the page HTML. One should only have itenabled when needed because it adds to the page size and can get fairly large for complex pages with many controls.(It takes longer to download the page). 4. How can I maintain Session state in a Web Farm or Web Garden? A. Use a State Server or SQL Server to store the session state. 5. What does WSDL stand for? What does it do?

A. (Web Services Description Language). It describes the interfaces and other information of a web service.