Coding in ASP.NET
Framework
ASP.NET 4 and
ASP.NET 5
100
In which IDE you can develop ASP.NET?
Visual Studio
100
Which are the languages supported for client side?
HTML, CSS, JavaScript
100
Who develop ASP .NET?
Microsoft
200
What technique is using in Web Form?
Drag-and-Drop
200
Which are the languages supported for server side?
C#, C++, Visual Basic
200
What are 3 advantages of ASP.NET 5?
Rich controls. Rapid development. Automatic statefulness. Abstracts web programming. Built in security.
300
Which classes are used in Email implementation?
MailMessage: For the actual email. SmtpClient: For sending the email.
300
Mention a way to handle errors from an entire WebPage
Using _PageStart
300
What are tree features of MVC 6
Linux support, OSX support, Node.js support, AngularJS support, Tag Helpers, View Components, Web API, GruntJS support, Bower support, No Visual Basic, No Web Forms, Can be built in a combination between Visual C++ and Visual C#
400
Which are the two ways to write a cookie?
Response.Cookies["username"].Value = "patrick"; HttpCookie aCookie = new HttpCookie("lastvisit");
400
What are the 6 extensions supported by html files?
.html, .cshtml, .vbhtml, .cpphtml, .asp, .aspx
400
What is the name of the single framework of ASP.NET 5?
MVC 6 (Model View Controller 6)
500
What is the namespace for handling emails?
System.Net.Mail
500
What are the four disadvantages of ASP.NET?
Makes unit testing difficult. Viewstate affects performance. Abstracts web programming. Highly tied to Visual Studio platform.
500
What are the 3 different models supported by ASP.Net 4?
Web Pages, MVC (Model View Controller), Web Forms