{"id":546,"date":"2022-01-13T14:06:45","date_gmt":"2022-01-13T14:06:45","guid":{"rendered":"http:\/\/www.softwaretraininginchennai.com\/blog\/?p=546"},"modified":"2022-01-13T14:15:43","modified_gmt":"2022-01-13T14:15:43","slug":"asp-net-interview-questions-and-answers","status":"publish","type":"post","link":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/","title":{"rendered":"ASP.NET INTERVIEW QUESTIONS AND ANSWERS"},"content":{"rendered":"<p><strong style=\"color: #6fa8dc;\">Posted by Ganesan &#8211; +919042710472<\/strong><\/p>\n<p><strong>1. <span style=\"font-size: 12pt;\">What is ASP.NET? Why ASP.NET?<\/span><\/strong><\/p>\n<p><span style=\"font-size: 12pt;\">ASP.NET is a .NET web technology or server-side technology. To develop a web application by using .NET. we must use a .NET web technology called ASP.NET and a .NET language called C# .NET.<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>2. What do you mean by server-side technology?<\/strong><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">The code which is executing within the WEB SERVER is called as SERVER-SIDE CODE.<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">Server-side code we can implement by using server-side technologies.<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\"><strong>Ex: <\/strong>ASP, ASP.NET, JSP, PHP<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">Using server-side technology, we can develop server-side web pages.<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>3. What do you mean by client-side technology?<\/strong><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">The code which is executing within the WEB BROWSER is called as CLIENT-SIDE CODE.<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">Client-side code we can implement by using side technologies.<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\"><strong>Ex: <\/strong>HTML, CSS.<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>4. What are the programming techniques will be supporting by ASP.NET?<\/strong><br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\">ASP.NET will support two programming techniques. They are,<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">1. In page technique<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">2. Code behind technique.<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>5. How can you pass values between ASP.NET pages?<\/strong><br \/>\n<\/span><br \/>\n<span style=\"font-size: 12pt;\">Different techniques to move data from one form to another are:<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">1. Query string<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">2. Cookies<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">3. Session state<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">4. Application state<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">5. Cross page post back<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">6. Context.Handler object<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>6. Explain about validation controls in ASP.NET?<\/strong><br \/>\n<\/span><br \/>\n<span style=\"font-size: 12pt;\">There are 6 validator controls.<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">1. Required field control<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">2. Compare validator<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">3. Range validator<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">4. Regular Expression validator<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">5. Custom validator<br \/>\n<\/span><\/p>\n<p style=\"margin-left: 27pt;\"><span style=\"font-size: 12pt;\">6. Validation summary<br \/>\n<\/span><\/p>\n<p><span style=\"font-size: 12pt;\"><strong>7. When we will go for custom validator control?<\/strong><br \/>\n<\/span><br \/>\n<span style=\"font-size: 12pt;\">Whenever our validation requirement is unable to achieve with the help of existing validation controls then we have to go for custom validator control.<br \/>\n<\/span><br \/>\n<span style=\"font-size: 12pt;\"><strong>8. How to access information about a user&#8217;s locale in ASP.NET?<\/strong><br \/>\n<\/span><br \/>\n<span style=\"font-size: 12pt;\">User&#8217;s locale information can be accessed through System.Web.Page.Culture property.<br \/>\n<\/span><br \/>\n<span style=\"font-size: 12pt;\"><strong>9. In ASP.NET page life cycle events which will fire first?<\/strong><br \/>\n<\/span><br \/>\n<span style=\"font-size: 12pt;\">Page_Prelnit<br \/>\n<\/span><br \/>\n<span style=\"font-size: 12pt;\"><strong>10. What are the life cycle events of ASP.NET?<\/strong><br \/>\n<\/span><\/p>\n<ul>\n<li><span style=\"font-size: 12pt;\">Application level<\/span><\/li>\n<li><span style=\"font-size: 12pt;\">Control level<\/span><\/li>\n<li><span style=\"font-size: 12pt;\">Page level.<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Posted by Ganesan &#8211; +919042710472 1. What is ASP.NET? Why ASP.NET? ASP.NET is a .NET web technology or server-side technology. To develop a web application by using .NET. we must use a .NET web technology called ASP.NET and a .NET language called C# .NET. 2. What do you mean by server-side technology? The code which [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[219],"class_list":["post-546","post","type-post","status-publish","format-standard","hentry","category-dot-net-training","category-dot-net-training-in-chennai","tag-interview-questions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ASP.NET INTERVIEW QUESTIONS AND ANSWERS | Maria Academy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ASP.NET INTERVIEW QUESTIONS AND ANSWERS | Maria Academy\" \/>\n<meta property=\"og:description\" content=\"Posted by Ganesan &#8211; +919042710472 1. What is ASP.NET? Why ASP.NET? ASP.NET is a .NET web technology or server-side technology. To develop a web application by using .NET. we must use a .NET web technology called ASP.NET and a .NET language called C# .NET. 2. What do you mean by server-side technology? The code which [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/\" \/>\n<meta property=\"og:site_name\" content=\"Maria Academy\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DotnetTrainingChennai\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-13T14:06:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-13T14:15:43+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@dotnettraining2\" \/>\n<meta name=\"twitter:site\" content=\"@dotnettraining2\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/#\/schema\/person\/e7dbda3490333ae356b6ad09076c8a6e\"},\"headline\":\"ASP.NET INTERVIEW QUESTIONS AND ANSWERS\",\"datePublished\":\"2022-01-13T14:06:45+00:00\",\"dateModified\":\"2022-01-13T14:15:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/\"},\"wordCount\":300,\"commentCount\":0,\"keywords\":[\"Interview Questions\"],\"articleSection\":[\"dot net training\",\"dot net training in chennai\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/\",\"url\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/\",\"name\":\"ASP.NET INTERVIEW QUESTIONS AND ANSWERS | Maria Academy\",\"isPartOf\":{\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/#website\"},\"datePublished\":\"2022-01-13T14:06:45+00:00\",\"dateModified\":\"2022-01-13T14:15:43+00:00\",\"author\":{\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/#\/schema\/person\/e7dbda3490333ae356b6ad09076c8a6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ASP.NET INTERVIEW QUESTIONS AND ANSWERS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/#website\",\"url\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/\",\"name\":\"Maria Academy\",\"description\":\"Dot Net Training in Chennai, Best Dot Net Training Institute in Chennai, .Net Training in Chennai\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.softwaretraininginchennai.com\/blog\/#\/schema\/person\/e7dbda3490333ae356b6ad09076c8a6e\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f68fba18793457e0192658e2fe53431c0fb4a1d551aef61c57c1847324110d80?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f68fba18793457e0192658e2fe53431c0fb4a1d551aef61c57c1847324110d80?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f68fba18793457e0192658e2fe53431c0fb4a1d551aef61c57c1847324110d80?s=96&d=mm&r=g\",\"caption\":\"admin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ASP.NET INTERVIEW QUESTIONS AND ANSWERS | Maria Academy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/","og_locale":"en_US","og_type":"article","og_title":"ASP.NET INTERVIEW QUESTIONS AND ANSWERS | Maria Academy","og_description":"Posted by Ganesan &#8211; +919042710472 1. What is ASP.NET? Why ASP.NET? ASP.NET is a .NET web technology or server-side technology. To develop a web application by using .NET. we must use a .NET web technology called ASP.NET and a .NET language called C# .NET. 2. What do you mean by server-side technology? The code which [&hellip;]","og_url":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/","og_site_name":"Maria Academy","article_publisher":"https:\/\/www.facebook.com\/DotnetTrainingChennai","article_published_time":"2022-01-13T14:06:45+00:00","article_modified_time":"2022-01-13T14:15:43+00:00","author":"admin","twitter_card":"summary_large_image","twitter_creator":"@dotnettraining2","twitter_site":"@dotnettraining2","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/#article","isPartOf":{"@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/"},"author":{"name":"admin","@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/#\/schema\/person\/e7dbda3490333ae356b6ad09076c8a6e"},"headline":"ASP.NET INTERVIEW QUESTIONS AND ANSWERS","datePublished":"2022-01-13T14:06:45+00:00","dateModified":"2022-01-13T14:15:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/"},"wordCount":300,"commentCount":0,"keywords":["Interview Questions"],"articleSection":["dot net training","dot net training in chennai"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/","url":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/","name":"ASP.NET INTERVIEW QUESTIONS AND ANSWERS | Maria Academy","isPartOf":{"@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/#website"},"datePublished":"2022-01-13T14:06:45+00:00","dateModified":"2022-01-13T14:15:43+00:00","author":{"@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/#\/schema\/person\/e7dbda3490333ae356b6ad09076c8a6e"},"breadcrumb":{"@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/asp-net-interview-questions-and-answers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.softwaretraininginchennai.com\/blog\/"},{"@type":"ListItem","position":2,"name":"ASP.NET INTERVIEW QUESTIONS AND ANSWERS"}]},{"@type":"WebSite","@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/#website","url":"https:\/\/www.softwaretraininginchennai.com\/blog\/","name":"Maria Academy","description":"Dot Net Training in Chennai, Best Dot Net Training Institute in Chennai, .Net Training in Chennai","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.softwaretraininginchennai.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.softwaretraininginchennai.com\/blog\/#\/schema\/person\/e7dbda3490333ae356b6ad09076c8a6e","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f68fba18793457e0192658e2fe53431c0fb4a1d551aef61c57c1847324110d80?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f68fba18793457e0192658e2fe53431c0fb4a1d551aef61c57c1847324110d80?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f68fba18793457e0192658e2fe53431c0fb4a1d551aef61c57c1847324110d80?s=96&d=mm&r=g","caption":"admin"}}]}},"_links":{"self":[{"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/posts\/546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/comments?post=546"}],"version-history":[{"count":5,"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":551,"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/posts\/546\/revisions\/551"}],"wp:attachment":[{"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/media?parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/categories?post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.softwaretraininginchennai.com\/blog\/wp-json\/wp\/v2\/tags?post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}