FAQs (Asp.Net)



Frequently asked questions are listed questions and answers
If you have any question then enter in comments or email at (zohairahmed007@gmail.com)
________________________________________________________________________

Question & Answers

Question 1: What do you know about ASP.NET ?
Answer: ASP.NET is a server-side Web application framework  designed for Web development to produce dynamic Web pages. It was developed by Microsoft to allowprogrammers to build dynamic web sitesweb applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft’s Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime  (CLR), allowing programmers to write ASP.NET code using any supported .NET language.
Question 2Can you describe the Evolution of ASP.NET ?
Answer: When Microsoft released ASP.NET 1.0, even it didn’t anticipate how enthusiastically the technology would be adopted. ASP.NET quickly became the standard for developing web applications with Microsoft technologies and a heavy-hitting competitor against all other web development platforms. Since that time, ASP.NET has had several updates. The followings are the  ASP.NET evaluations evolved over the years.
  1. ASP.NET 1.0 and 1.1
  2. ASP.NET 2.0
  3. ASP.NET 3.5
  4. LINQ
  5. ASP.NET AJAX
  6. ASP.NET 4
  7. ASP.NET MVC
  8. ASP.NET Dynamic Data
  9. Silverlight
  10. ASP.NET 4.5
Question 3: Can you differentiate between Websites and Web Projects?
Answer: Somewhat confusingly, Visual Studio offers two ways to create an ASP.NET-powered web application:
  • Project-based development: When you create a web project, Visual Studio generates a .csproj project file (assuming you’re coding in C#) that records the files in your project and stores a few debugging settings. When you run a web project, Visual Studio compiles all your code into a single assembly before launching your web browser.
  • Projectless development: An alternate approach is to create a simple website without any project file. In this case, Visual Studio assumes that every file in the website directory (and its sub directories) is part of your web application. In this scenario, Visual Studio doesn’t need to precompile your code. Instead, ASP.NET
    compiles your website the first time you request a page. (Of course, you can use precompilation to remove the first-request overhead for a deployed web application.)
Question 4: Explain the differences between Server-side and Client-side code?
Answer:
Server Side Code : Server side is the code that resides at web server.  For every client request code is executed at server side and result is send to the client in simple HTML format. Performance is lower than client side code due to server roundtrips. Client cannot see the business logic though it is stored on server.
Client Side Code : Client side code is reside at client’s browser itself. It is executed at client side only. User can  easily see the code by View – > Source option. It is generally used in validation form like text field is empty or not, email address validation etc. It is faster than server side code.
server side code is responsible to execute and provide the executed code to the browser at the client side. the executed code may be either in XML or Plain HTML. the executed code only have the values or the results that are executed on the server. The clients browser executes the HTML code and displays the result.
where as the client side code executes at client side and displays the result in its browser. it the client side core consist of certain functions that are to be executed on server then it places request to the server and the server responses as the result in form of HTML.
________________________________________________________________________
Here are some useful links to learn more about the topics discussed above.

3 Comments

Please Comment !! Any Problem or Any Suggestion

  1. Salam..
    My sql services are not start during installing Sql server 2005...

    Kindly help me for this problem

    ReplyDelete
  2. TITLE: Microsoft SQL Server 2005 Setup
    ------------------------------

    The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server 2005 Setup Log Files" and "Starting SQL Server Manually."


    this error is come during Installation

    ReplyDelete
  3. Go to Run and Enter services.msc
    Finf SQL SERVER Services Right Click all Restart All Services Manullay
    Thanks

    ReplyDelete

Post a Comment

Please Comment !! Any Problem or Any Suggestion