{"id":20875363,"url":"https://github.com/aershov24/full-stack-interview-questions","last_synced_at":"2025-04-12T18:53:22.590Z","repository":{"id":38403332,"uuid":"149049767","full_name":"aershov24/full-stack-interview-questions","owner":"aershov24","description":"🔴 More than ~3877 Full Stack, Coding \u0026 System Design Interview Questions And Answers sourced from all around the Internet to help you to prepare to an interview, conduct one, mock your lead dev or completely ignore. Find more questions and answers on 👉  ","archived":false,"fork":false,"pushed_at":"2021-08-26T09:57:13.000Z","size":3269,"stargazers_count":980,"open_issues_count":7,"forks_count":293,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-04-03T22:08:18.348Z","etag":null,"topics":["angular","full-stack","full-stack-development","full-stack-web-developer","interview-practice","interview-preparation","interview-questions","interview-test","react","vuejs"],"latest_commit_sha":null,"homepage":"https://www.fullstack.cafe","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aershov24.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":["https://www.fullstack.cafe","https://www.mlstack.cafe"]}},"created_at":"2018-09-17T00:53:51.000Z","updated_at":"2025-04-01T12:55:45.000Z","dependencies_parsed_at":"2022-07-11T19:24:22.317Z","dependency_job_id":null,"html_url":"https://github.com/aershov24/full-stack-interview-questions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aershov24%2Ffull-stack-interview-questions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aershov24%2Ffull-stack-interview-questions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aershov24%2Ffull-stack-interview-questions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aershov24%2Ffull-stack-interview-questions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aershov24","download_url":"https://codeload.github.com/aershov24/full-stack-interview-questions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618244,"owners_count":21134200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","full-stack","full-stack-development","full-stack-web-developer","interview-practice","interview-preparation","interview-questions","interview-test","react","vuejs"],"created_at":"2024-11-18T06:44:21.346Z","updated_at":"2025-04-12T18:53:22.545Z","avatar_url":"https://github.com/aershov24.png","language":null,"funding_links":["https://www.fullstack.cafe","https://www.mlstack.cafe"],"categories":[],"sub_categories":[],"readme":"# 3877 Full-Stack, Coding and System Design Interview Questions (ANSWERED) To Land Your Next Six-Figure Job Offer from [FullStack.Cafe](https://www.fullstack.cafe)\n\n[FullStack.Cafe](https://www.fullstack.cafe) is a biggest hand-picked collection of top technical interview questions for junior and experienced full-stack and web developers with more that 3877 tech interview questions and answers. Prepare for your next tech interview and land 6-figure job offer in no time.\n\n🔴  Get All 3877 Answers + PDFs on [FullStack.Cafe - Kill Your Tech \u0026 Coding Interview](https://www.fullstack.cafe/?utm_source=github\u0026utm_medium=fsiq)\n\n---\n\n## Machine Learning \u0026 Data Science Interview Questions 🤖🤖🤖\n\n👉 For 1299 ML \u0026 DataScience Interview Questions Check  [MLStack.Cafe - Kill Your Machine Learning, Data Science \u0026 Python Interview](https://www.mlstack.cafe/?utm_source=github\u0026utm_medium=fsiq)\n\n---\n\n\u003c!-- 🔴👨‍💻[FullStack.Café + BLKFRD 50% OFF DEAL] - Kill Your Tech \u0026 Coding Interview 🪓. 3877 Full-Stack, Coding and System Design Interview Questions (ANSWERED and SOLVED). Get 50% OFF for LIFETIME Access Now only this BLKFRD. Use BLKFRD promo and Get Your Next Six-Figure Job Offer 💰💰💰 or use that link: \n[\u003e\u003e Get 50% OFF for LIFETIME Now!](https://www.fullstack.cafe/?promocode=BLKFRD\u0026utm_source=github\u0026utm_medium=fsiq) --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.fullstack.cafe/?promocode=KILLITNOW\u0026utm_source=github\u0026utm_medium=fsiq\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/13550565/96958623-a1acc500-1530-11eb-92b7-6f1508e630d9.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!--\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.fullstack.cafe/?promocode=GITHUB\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/13550565/76865667-04a0f400-689e-11ea-8500-1bd60f5014ce.png\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e--\u003e\n\n## \u003ca name='toc'\u003eTable of Contents\u003c/a\u003e\n * [.NET Core](#.NETCore)\n * [ADO.NET](#ADO.NET)\n * [ASP.NET](#ASP.NET)\n * [ASP.NET MVC](#ASP.NETMVC)\n * [ASP.NET Web API](#ASP.NETWebAPI)\n * [AWS](#AWS)\n * [Agile \u0026 Scrum](#Agile\u0026Scrum)\n * [Android](#Android)\n * [Angular](#Angular)\n * [AngularJS](#AngularJS)\n * [Azure](#Azure)\n * [Behavioral](#Behavioral)\n * [Big Data](#BigData)\n * [Blockchain](#Blockchain)\n * [Bootstrap](#Bootstrap)\n * [C#](#C#)\n * [CSS](#CSS)\n * [Career](#Career)\n * [Clojure](#Clojure)\n * [Code Problems](#CodeProblems)\n * [Data Science](#DataScience)\n * [Data Structures](#DataStructures)\n * [Design Patterns](#DesignPatterns)\n * [DevOps](#DevOps)\n * [Docker](#Docker)\n * [Entity Framework](#EntityFramework)\n * [Flutter](#Flutter)\n * [Git](#Git)\n * [Golang](#Golang)\n * [GraphQL](#GraphQL)\n * [HTML5](#HTML5)\n * [Ionic](#Ionic)\n * [JSON](#JSON)\n * [Java](#Java)\n * [JavaScript](#JavaScript)\n * [Kotlin](#Kotlin)\n * [LINQ](#LINQ)\n * [Laravel](#Laravel)\n * [MSMQ](#MSMQ)\n * [Machine Learning](#MachineLearning)\n * [Microservices](#Microservices)\n * [MongoDB](#MongoDB)\n * [Node.js](#Node.js)\n * [OOP](#OOP)\n * [PHP](#PHP)\n * [PWA](#PWA)\n * [PowerShell](#PowerShell)\n * [Python](#Python)\n * [Questions to Ask](#QuestionstoAsk)\n * [React](#React)\n * [React Native](#ReactNative)\n * [Reactive Programming](#ReactiveProgramming)\n * [Redux](#Redux)\n * [Ruby](#Ruby)\n * [Ruby on Rails](#RubyonRails)\n * [SOA \u0026 REST API](#SOA\u0026RESTAPI)\n * [SQL](#SQL)\n * [Software Architecture](#SoftwareArchitecture)\n * [Software Testing](#SoftwareTesting)\n * [Spring](#Spring)\n * [Statistics](#Statistics)\n * [T-SQL](#T-SQL)\n * [TypeScript](#TypeScript)\n * [UX Design](#UXDesign)\n * [Vue.js](#Vue.js)\n * [WCF](#WCF)\n * [WPF](#WPF)\n * [Web Security](#WebSecurity)\n * [Webpack](#Webpack)\n * [XML \u0026 XSLT](#XML\u0026XSLT)\n * [Xamarin](#Xamarin)\n * [iOS \u0026 Swift](#iOS\u0026Swift)\n * [jQuery](#jQuery)\n## [[⬆]](#toc) \u003ca name=.NETCore\u003e.NET Core\u003c/a\u003e Interview Questions\n#### Q1: What is the difference between String and string in C#? ⭐\n**Answer:**\n`string` is an alias in C# for `System.String`. So technically, there is no difference. It's like `int` vs. `System.Int32`.\n\nAs far as guidelines, it's generally recommended to use `string` any time you're referring to an object.\n```csharp\nstring place = \"world\";\n```\n\nLikewise, it's generally recommended to use `String` if you need to refer specifically to the class.\n```csharp\nstring greet = String.Format(\"Hello {0}!\", place);\n```\n\n**Source:** _blogs.msdn.microsoft.com_\n\n#### Q2: What is .NET Standard? ⭐\n**Answer:**\nThe **.NET Standard** is a formal specification of .NET APIs that are intended to be available on all .NET implementations.\n\n**Source:** _docs.microsoft.com_\n\n#### Q3: What is .NET Core? ⭐\n**Answer:**\nThe .NET Core platform is a new .NET stack that is optimized for open source development and agile delivery on NuGet. \n\n.NET Core has two major components. It includes a small runtime that is built from the same codebase as the .NET Framework CLR. The .NET Core runtime includes the same GC and JIT (RyuJIT), but doesn’t include features like Application Domains or Code Access Security. The runtime is delivered via NuGet, as part of the ASP.NET Core package.\n\n.NET Core also includes the base class libraries. These libraries are largely the same code as the .NET Framework class libraries, but have been factored (removal of dependencies) to enable to ship a smaller set of libraries. These libraries are shipped as `System.*` NuGet packages on NuGet.org.\n\n**Source:** _stackoverflow.com_\n\n#### Q4: What is the .NET Framework? ⭐\n**Answer:**\nThe .NET is a Framework, which is a collection of classes of reusable libraries given by Microsoft to be used in other .NET applications and to develop, build and deploy many types of applications on the Windows platform including the following:\n\n*   Console Applications\n*   Windows Forms Applications\n*   Windows Presentation Foundation (WPF) Applications\n*   Web Applications\n*   Web Services\n*   Windows Services\n*   Services-oriented applications using Windows Communications Foundation (WCF)\n*   Workflow-enabled applications using Windows Workflow Foundation(WF)\n\n**Source:** _c-sharpcorner.com_\n\n#### Q5: What's the difference between SDK and Runtime in .NET Core? ⭐⭐\n**Answer:**\n* The SDK is all of the stuff that is needed/makes developing a .NET Core application easier, such as the CLI and a compiler.\n\n* The runtime is the \"virtual machine\" that hosts/runs the application and abstracts all the interaction with the base operating system.\n\n**Source:** _stackoverflow.com_\n\n#### Q6: What is .NET Standard and why we need to consider it? ⭐⭐\n**Answer:**\n 1. **.NET Standard** solves the code sharing problem for .NET developers across all platforms by bringing all the APIs that you expect and love across the environments that you need: desktop applications, mobile apps \u0026 games, and cloud services:\n 2. **.NET Standard** is a **set of APIs** that **all** .NET platforms **have to implement**. This **unifies the .NET platforms** and **prevents future fragmentation**.\n 3. **.NET Standard 2.0** will be implemented by **.NET Framework**, .**NET Core**,\n    and **Xamarin**. For **.NET Core**, this will add many of the existing APIs\n    that have been requested.\n 3. **.NET Standard 2.0** includes a compatibility shim for **.NET Framework** binaries, significantly increasing the set of libraries that you can reference from your .NET Standard libraries.\n 4. **.NET Standard** **will replace Portable Class Libraries (PCLs)** as the\n    tooling story for building multi-platform .NET libraries.\n\n\u003cdiv class=\"text-center\"\u003e\n\u003cimg src=\"https://i.stack.imgur.com/tE1ny.png\" class=\"img-fluid\" style=\"max-width: 500px;\"/\u003e\n\u003c/div\u003e\n\n**Source:** _stackoverflow.com_\n\n#### Q7: What is the difference between decimal, float and double in .NET?  ⭐⭐\n**Details:**\nWhen would someone use one of these?\n\n**Answer:**\nPrecision is the main difference.\n\n* Float - 7 digits (32 bit)\n* Double-15-16 digits (64 bit)\n* Decimal -28-29 significant digits (128 bit)\n\nAs for what to use when:\n\n* For values which are \"naturally exact decimals\" it's good to use decimal. This is usually suitable for any concepts invented by humans: financial values are the most obvious example, but there are others too. Consider the score given to divers or ice skaters, for example.\n\n* For values which are more artefacts of nature which can't really be measured exactly anyway, float/double are more appropriate. For example, scientific data would usually be represented in this form. Here, the original values won't be \"decimally accurate\" to start with, so it's not important for the expected results to maintain the \"decimal accuracy\". Floating binary point types are much faster to work with than decimals.\n\n**Source:** _blogs.msdn.microsoft.com_\n\n#### Q8: What are some characteristics of .NET Core? ⭐⭐\n**Answer:**\n* **Flexible deployment**: Can be included in your app or installed side-by-side user- or machine-wide.\n\n* **Cross-platform**: Runs on Windows, macOS and Linux; can be ported to other OSes. The supported Operating Systems (OS), CPUs and application scenarios will grow over time, provided by Microsoft, other companies, and individuals.\n\n* **Command-line tools**: All product scenarios can be exercised at the command-line.\n\n* **Compatible**: .NET Core is compatible with .NET Framework, Xamarin and Mono, via the .NET Standard Library.\n\n* **Open source**: The .NET Core platform is open source, using MIT and Apache 2 licenses. Documentation is licensed under CC-BY. .NET Core is a .NET Foundation project.\n\n* **Supported by Microsoft**: .NET Core is supported by Microsoft, per .NET Core Support\n\n**Source:** _stackoverflow.com_\n\n#### Q9: What is an unmanaged resource?  ⭐⭐\n**Answer:**\nUse that rule of thumb: \n* If you found it in the Microsoft .NET Framework: _it's managed_. \n* If you went poking around MSDN yourself, _it's unmanaged_. \n\nAnything you've used P/Invoke calls to get outside of the nice comfy world of everything available to you in the .NET Framwork is unmanaged – and you're now _responsible_ for cleaning it up.\n\n**Source:** _stackoverflow.com_\n\n#### Q10: What is CTS? ⭐⭐\n**Answer:**\nThe **Common Type System (CTS)** standardizes the data types of all programming languages using .NET under the umbrella of .NET to a common data type for easy and smooth communication among these .NET languages. \n\nCTS is designed as a singly rooted object hierarchy with `System.Object` as the base type from which all other types are derived. CTS supports two different kinds of types: \n\n1. **Value Types**: Contain the values that need to be stored directly on the stack or allocated inline in a structure. They can be built-in (standard primitive types), user-defined (defined in source code) or enumerations (sets of enumerated values that are represented by labels but stored as a numeric type).\n2. **Reference Types**: Store a reference to the value‘s memory address and are allocated on the heap. Reference types can be any of the pointer types, interface types or self-describing types (arrays and class types such as user-defined classes, boxed value types and delegates).\n\n**Source:** _c-sharpcorner.com_\n\n#### Q11: What is the difference between .NET Core and Mono? ⭐⭐\n**Answer:**\nTo be simple:\n* Mono is third party implementation of .Net Framework for Linux/Android/iOs\n* .Net Core is Microsoft's own implementation for same.\n\n**Source:** _stackoverflow.com_\n\n#### Q12: What is MSIL? ⭐⭐\n**Answer:**\nWhen we compile our .NET code then it is not directly converted to native/binary code; it is first converted into intermediate code known as MSIL code which is then interpreted by the CLR. MSIL is independent of hardware and the operating system. Cross language relationships are possible since MSIL is the same for all .NET languages. MSIL is further converted into native code.  \n\n**Source:** _c-sharpcorner.com_\n\n#### Q13: What is a .NET application domain? ⭐⭐\n**Answer:**\nIt is an isolation layer provided by the .NET runtime. As such, App domains live with in a process (1 process can have many app domains) and have their own virtual address space.\n\nApp domains are useful because:\n\n* They are less expensive than full processes\n* They are multithreaded\n* You can stop one without killing everything in the process\n* Segregation of resources/config/etc\n* Each app domain runs on its own security level\n\n**Source:** _stackoverflow.com_\n\n#### Q14: What is CLR? ⭐⭐\n**Answer:**\nThe **CLR** stands for Common Language Runtime and it is an Execution Environment. It works as a layer between Operating Systems and the applications written in .NET languages that conforms to the Common Language Specification (CLS). The main function of Common Language Runtime (CLR) is to convert the Managed Code into native code and then execute the program.\n\n**Source:** _c-sharpcorner.com_\n\n#### Q15: Name some CLR services? ⭐⭐\n**Answer:**\n**CLR services**\n\n*   Assembly Resolver\n*   Assembly Loader\n*   Type Checker\n*   COM marshalled\n*   Debug Manager\n*   Thread Support\n*   IL to Native compiler\n*   Exception Manager\n*   Garbage Collector\n\n**Source:** _c-sharpcorner.com_\n\n#### Q16: Talk about new .csproj file? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q17: Explain what is included in .NET Core? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q18: Is there a way to catch multiple exceptions at once and without code duplication? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q19: What about NuGet packages and packages.config? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q20: Why to use of the IDisposable interface? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q21: When should we use .NET Core and .NET Standard Class Library project types? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q22: What is the difference between Class Library (.NET Standard) and Class Library (.NET Core)? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q23: What is the difference between .NET Standard and PCL (Portable Class Libraries)? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q24: Explain the difference between Task and Thread in .NET ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q25: What is FCL? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q26: What is Kestrel? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q27: What is implicit compilation? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q28: What is JIT compiler? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q29: What is .NET Standard? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q30: What is Explicit Compilation? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q31: What are the benefits of explicit compilation? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q32: Explain the difference between “managed” and “unmanaged” code? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q33: What's the difference between .NET Core, .NET Framework, and Xamarin? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q34: What is difference between .NET Core and .NET Framework? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q35: Explain two types of deployment for .NET Core applications ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q36: What does Common Language Specification (CLS) mean? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q37: What is CoreCLR? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q38: What's is BCL? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q39: What is the difference between CIL and MSIL (IL)? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q40: How to choose the target version of .NET Standard library? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q41: Why does .NET use a JIT compiler instead of just compiling the code once on the target machine? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q42: What is the difference between AppDomain, Assembly, Process, and a Thread? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q43: What are benefits of using JIT? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q44: What is the difference between .NET Framework/Core and .NET Standard Class Library project types? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q45: What's the difference between RyuJIT and Roslyn? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q46: Why does .NET Standard library exist? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q47: Explain how does Asynchronous tasks (Async/Await) work in .NET? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q48: Explain Finalize vs Dispose usage? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q49: How many types of JIT Compilations do you know? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q50: What is the difference between Node.js async model and async/await in .NET? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q51: Could you name the difference between .Net Core, Portable, Standard, Compact, UWP, and PCL? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n## [[⬆]](#toc) \u003ca name=ADO.NET\u003eADO.NET\u003c/a\u003e Interview Questions\n#### Q1: What is ADO.NET? ⭐\n**Answer:**\n**ADO** stands for Active Data Object and ADO.NET is a set of .NET libraries for ADO.\nNET is a collection of managed libraries used by .NET applications for data source communication using a driver or provider:\n\n*   Enterprise applications handle a large amount of data. This data is primarily stored in relational databases, such as Oracle, SQL Server, and Access and so on. These databases use Structured Query Language (SQL) for retrieval of data.  \n*   To access enterprise data from a .NET application, an interface was needed. This interface acts as a bridge between an RDBMS system and a .NET application. ADO.NET is such an interface that is created to connect .NET applications to RDBMS systems.  \n*   In the .NET framework, Microsoft introduced a new version of Active X Data Objects (ADO) called ADO.NET. Any .NET application, either Windows based or web based, can interact with the database using a rich set of classes of the ADO.NET library. Data can be accessed from any database using connected or disconnected architecture.\n\n**Source:** _c-sharpcorner.com_\n\n#### Q2: What is exactly meaning of disconnected and connected approach in ADO.NET? ⭐⭐\n**Answer:**\nIn short:\n* **Disconnected** = Make Connection , Fetch Data , Close Connection\n* **Connected** = Make Connection , Keep Connection alive , Close Connection when close is called.\n\nThe ADO.net architecture, in which connection must be kept open till the end to retrieve and access data from database is called as _connected architecture_. Connected architecture is built on the these types - `connection`, `command`, `datareader`\n\nThe ADO.net architecture, in which connection will be kept open only till the data retrieved from database, and later can be accessed even when connection to database is closed is called as _disconnected architecture_. Disconnected architecture of ADO.net is built on these types - `connection`, `dataadapter`, `commandbuilder` and `dataset` and `dataview`. \n\n**Source:** _stackoverflow.com_\n\n#### Q3: Describe when you would use the DataView in ADO.NET? ⭐⭐\n**Answer:**\nA **DataView** enables you to create different views of the data stored in a DataTable, a capability that is often used in data binding applications. Using a DataView, you can expose the data in a table with different sort orders, and you can filter the data by row state or based on a filter expression. A DataView provides a dynamic view of data whose content, ordering, and membership reflect changes to the underlying DataTable as they occur. This is different from the Select method of the DataTable, which returns a DataRow array from a table per particular filter and/or sort order and whose content reflects changes to the underlying table, but whose membership and ordering remain static. The dynamic capabilities of the DataView make it ideal for data-binding applications.\n\n**Source:** _stackoverflow.com_\n\n#### Q4: What is the SqlCommandBuilder? ⭐⭐\n**Answer:**\n**CommandBuilder** helps you to generate update, delete, and insert commands on a single database table for a data adapter. Similar to other objects, each data provider has a command builder class. The OleDbCommandBuilder, SqlCommonBuilder, and OdbcCommandBuilder classes represent the CommonBuilder object in the OleDb, Sql, and ODBC data providers.\n\n**Source:** _c-sharpcorner.com_\n\n#### Q5: What is the DataAdapter Object in ADO.NET? ⭐⭐\n**Answer:**\nA **DataAdapter** is used to retrieve data from a data source and populate tables within a `DataSet`. Data Adapters form the bridge between a data source and a dataset. The `DataAdapter` also resolves changes made to the `DataSet` back to the data source. The `DataAdapter` uses the `Connection` object of the .NET Framework data provider to connect to a data source, and it uses `Command` objects to retrieve data from and resolve changes to the data source.\n\nA `DataAdapter` supports mainly the following two methods:\n\n*   **Fill():** The Fill method populates a dataset or a data table object with data from the database. It retrieves rows from the data source using the SELECT statement specified by an associated select command property. The Fill method leaves the connection in the same state as it encountered before populating the data.     \n*   **Update():** The Update method commits the changes back to the database. It also analyzes the RowState of each record in the DataSet and calls the appropriate INSERT, UPDATE, and DELETE statements.\n\n**Source:** _c-sharpcorner.com_\n\n#### Q6: What is the basic difference between ADO.NET and Entity Framework? ⭐⭐\n**Answer:**\nADO.NET Entity Framework is an ORM (object-relational mapping) which creates a higher abstract object model over ADO.NET components. ADO.NET is a layer closer to the database (datatables, datasets and etc...). The main and the only benefit of EF is it auto-generates code for the Model (middle layer), Data Access Layer, and mapping code, thus reducing a lot of development time. Consider the following example:\n\n**ADO.NET**:\n```csharp\nDataTable table = adoDs.Tables[0];\nfor (int j = 0; j \u003c table.Rows.Count; j++)\n{\n    DataRow row = table.Rows[j];\n\n    // Get the values of the fields\n    string CustomerName =\n        (string)row[\"Customername\"];\n    string CustomerCode =\n        (string)row[\"CustomerCode\"];\n}\n```\n\n**EF**:\n```csharp\nforeach (Customer objCust in obj.Customers)\n{}\n```\n\n**Source:** _stackoverflow.com_\n\n#### Q7: What is Connection Pooling in ADO.NET? ⭐⭐\n**Answer:**\nADO.NET uses a technique called **connection pooling**, which minimizes the cost of repeatedly opening and closing connections. Connection pooling reuses existing active connections with the same connection string instead of creating new connections when a request is made to the database. It involves the use of a connection manager that is responsible for maintaining a list, or pool, of available connections for a given connection string. Several pools exist if different connection strings ask for connection pooling.\n\n**Source:** _c-sharpcorner.com_\n\n#### Q8: What is SqlCommand Object? ⭐⭐\n**Answer:**\nThe **SqlCommand** carries the SQL statement that needs to be executed on the database. SqlCommand carries the command in the CommandText property and this property will be used when the SqlCommand calls any of its execute methods.\n\n*   The Command Object uses the connection object to execute SQL queries.\n*   The queries can be in the form of Inline text, Stored Procedures or direct Table access.\n*   An important feature of Command object is that it can be used to execute queries and Stored Procedures with Parameters.\n*   If a select query is issued, the result set it returns is usually stored in either a DataSet or a DataReader object.\n\nThe three important methods exposed by the SqlCommand object is shown below:\n\n*   ExecuteScalar\n*   ExecuteNonQuery\n*   ExecuteReader\n\n**Source:** _c-sharpcorner.com_\n\n#### Q9: What are the ADO.NET components? ⭐⭐\n**Answer:**\nADO.NET components categorized in three modes: \n* disconnected, \n* common or shared and \n* the .NET data providers.\n\nThe disconnected components build the basic ADO.NET architecture. You can use these components (or classes) with or without data providers. For example, you can use a `DataTable` object with or without providers and shared or common components are the base classes for data providers. Shared or common components are the base classes for data providers and shared by all data providers. The data provider components are specifically designed to work with different kinds of data sources. For example, ODBC data providers work with ODBC data sources and OleDb data providers work with OLE-DB data sources.\n\n**Source:** _c-sharpcorner.com_\n\n#### Q10: How can you define the DataSet structure? ⭐⭐\n**Answer:**\nA **DataSet** object falls in disconnected components series. The `DataSet` consists of a collection of tables, rows, columns and relationships.\n\n`DataSet` contains a collection of `DataTables` and the `DataTable` contains a collection of `DataRows`, `DataRelations`, and `DataColumns`. A `DataTable` maps to a table in the database.\n\n**Source:** _c-sharpcorner.com_\n\n#### Q11: What do you understand by DataRelation class? ⭐⭐\n**Answer:**\nThe **DataRelation** is a class of disconnected architecture in the .NET framework. It is found in the System.Data namespace. It represents a relationship between database tables and correlates tables on the basis of matching column.\n\n**Source:** _c-sharpcorner.com_\n\n#### Q12: How could you control connection pooling behavior?  ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q13: What is the difference between ExecuteScalar, ExecuteReader and ExecuteNonQuery? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q14: What is the difference between DataView, DataTable and DataSet? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q15: Could you explain me some of the main differences between Connection-oriented access and connectionless access in ADO.NET? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q16: What is the difference between Integrated Security = True and Integrated Security = SSPI? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q17: What is Unit Of Work? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q18: What are the differences between using SqlDataAdapter vs SqlDataReader for getting data from a DB? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q19: Mention what is the difference between ADO.NET and classic ADO? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q20: Can you explain the difference between a DataReader, a DataAdapter, a Dataset, and a DataView? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q21: Name types of transactions in ADO.NET ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q22: Where should I use disconnected architecture approach? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q23: Where should I use connected architecture approach? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q24: Is there anything faster than SqlDataReader in .NET? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q25: Could you explain some benefits of Repository Pattern? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q26: What is the difference between OLE DB and ODBC data sources? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q27: How could you monitor connection pooling behavior? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q28: Is it necessary to manually close and dispose of SqlDataReader? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q29: What's better: DataSet or DataReader? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q30: What is the difference between ADODB, OLEDB and ADO.NET? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q31: What is the best and fast way to insert 2 million rows of data into SQL Server? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q32: Under what scenarios would setting pooling=false in an ADO.NET connection string be of value when connecting to SQL Server?  ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q33: Name some problems that could occur with connection pooling ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n## [[⬆]](#toc) \u003ca name=ASP.NET\u003eASP.NET\u003c/a\u003e Interview Questions\n#### Q1: What is ViewData? ⭐\n**Answer:**\nViewdata contains the key, value pairs as dictionary and this is derived from class — “ViewDataDictionary“. In action method we are setting the value for viewdata and in view the value will be fetched by typecasting.\n\n**Source:** _medium.com_\n\n#### Q2: What is ASP.Net? ⭐\n**Answer:**\nIt is a framework developed by Microsoft on which we can develop new generation web sites using web forms(aspx), MVC, HTML, Javascript, CSS etc. Its successor of Microsoft Active Server Pages(ASP). Currently there is ASP.NET 4.0, which is used to develop web sites. There are various page extensions provided by Microsoft that are being used for web site development. Eg: aspx, asmx, ascx, ashx, cs, vb, html, XML etc. \n\n\n**Source:** _guru99.com_\n\n#### Q3: Talk about Logging in ASP.NET Core? ⭐⭐\n**Answer:**\n**Logging** is built-in and you get access to structured logs from the ASP.NET Core host itself to your application. With tools like [Serilog,](https://github.com/serilog/serilog-aspnetcore) you can extend your logging [easily](https://github.com/serilog/serilog-sinks-rollingfile) and save your logs to file, Azure, Amazon or any other output provider. You can configure verbosity and log levels via configuration (appsettings.json by default), and you can configure log levels by different categories.\n\n**Source:** _talkingdotnet.com_\n\n#### Q4: Explain startup process in ASP.NET Core? ⭐⭐\n**Answer:**\nEverything starts from Program.cs\n```csharp\npublic static void Main(string[] args)\n{\n    BuildWebHost(args).Run();\n}\n \npublic static IWebHost BuildWebHost(string[] args) =\u003e\n    WebHost.CreateDefaultBuilder(args)\n        .UseStartup\u003cStartup\u003e()\n        .Build();\n```\n\nCreateDefaultBuilder extension method will create a default configuration which will look first into `appsettings.json` files then will look for Environment variables and at the end, it will use command line arguments.\n\nThis part will also set up default logger sources (debug and console) and load the settings for logging from appsettings.json.\n\nAfter the `CreateDefaultBuilder` finishes, then `Startup` class is executed. First, the constructor code is executed. After that, services are added to DI container via `AddServices` method that lives in Startup class. After that, an order of middleware that will handle every incoming request is set up.\n\n**Source:** _codingblast.com_\n\n#### Q5: What exactly is an application pool? What is its purpose? ⭐⭐\n**Answer:**\n**Application pools** allow you to isolate your applications from one another, even if they are running on the same server. This way, if there is an error in one app, it won't take down other applications.\n\nAdditionally, applications pools allow you to separate different apps which require different levels of security.\n\n**Source:** _stackoverflow.com_\n\n#### Q6: How you can add an event handler? ⭐⭐\n**Answer:**\n** **Using the Attributes property of server side control. \n\ne.g. \n```csharp\nbtnSubmit.Attributes.Add(\"onMouseOver\",\"JavascriptCode();\")\n```\n\n**Source:** _guru99.com_\n\n#### Q7: What's the use of Response.Output.Write()? ⭐⭐\n**Answer:**\nWe can write formatted output using Response.Output.Write(). \n\n**Source:** _guru99.com_\n\n#### Q8: How to configure your ASP.NET Core app? ⭐⭐\n**Answer:**\nAnother crucial part of ASP.NET Core Framework is Configuration. Also, it is part of Dependency Injection. Use it anywhere in your code with an option to [reload on changes](https://codingblast.com/asp-net-core-configuration-reloading-binding-injecting/) of configuration values from sources (appsettings.json, environment variables, command line arguments, etc.). It is also easy to override, extend and customize the Configuration. No more extensive configurations in web.config, the preferred way now is _**appsettings.json**_ in combination with a mix of Environment variables and cmd-line args.\n\n**Source:** _talkingdotnet.com_\n\n#### Q9: What is ASP.NET Core? ⭐⭐\n**Answer:**\nASP.NET Core is a brand new cross-platform web framework built with .NET Core framework. It is not an update to existing ASP.NET framework. It is a complete rewrite of the ASP.NET framework. It works with both .NET Core and .NET Framework.\n\nMain characterestics of ASP.NET Core:\n\n*   DI Container which is quite simple and built-in. You can extend it with other popular DI containers\n*   Built-in and extensible structured logging. You can redirect output to as many sources as you want (file, Azure, AWS, console)\n*   Extensible strongly typed configuration, which can also be used to reload at run-time\n*   Kestrel – new, cross-platform and super fast web server which can stand alone without IIS, Nginx or Apache\n*   New, fully async pipeline. It is easily configured via middleware\n*   ASP.NET All meta package which improves development speed, and enables you to reference all Microsoft packages for ASP.NET Core and it will deploy only those that are being used by your code\n*   There is no _web.config_. We now use _appsettings.json_ file in combination with other sources of configuration (command line args, environment variables, etc.)\n*   There is no _Global._asax – We have _Startup.cs_ which is used to set up Middleware and services for DI Container.\n\n**Source:** _talkingdotnet.com_\n\n#### Q10: What is the difference between ASP.NET and ASP.NET MVC? ⭐⭐\n**Answer:**\nASP.NET, at its most basic level, provides a means for you to provide general HTML markup combined with server side \"controls\" within the event-driven programming model that can be leveraged with VB, C#, and so on. You define the page(s) of a site, drop in the controls, and provide the programmatic plumbing to make it all work.\n\nASP.NET MVC is an application framework based on the Model-View-Controller architectural pattern. This is what might be considered a \"canned\" framework for a specific way of implementing a web site, with a page acting as the \"controller\" and dispatching requests to the appropriate pages in the application. The idea is to \"partition\" the various elements of the application, eg business rules, presentation rules, and so on.\n\nThink of the former as the \"blank slate\" for implementing a site architecture you've designed more or less from the ground up. MVC provides a mechanism for designing a site around a pre-determined \"pattern\" of application access, if that makes sense. There's more technical detail to it than that, to be sure, but that's the nickel tour for the purposes of the question.\n\n**Source:** _stackoverflow.com_\n\n#### Q11: What is ViewState? ⭐⭐\n**Answer:**\n**View State** is the method to preserve the Value of the Page and Controls between round trips. It is a Page-Level State Management technique. View State is turned on by default and normally serializes the data in every control on the page regardless of whether it is actually used during a post-back.  \n  \nA web application is stateless. That means that a new instance of a page is created every time when we make a request to the server to get the page and after the round trip our page has been lost immediately  \n\n**Source:** _c-sharpcorner.com_\n\n#### Q12: Can ASP.NET Core work with the .NET framework? ⭐⭐\n**Answer:**\nYes. This might surprise many, but ASP.NET Core works with .NET framework and this is officially supported by Microsoft.\n\nASP.NET Core works with:\n\n*   .NET Core framework\n*   .NET framework\n\n**Source:** _talkingdotnet.com_\n\n#### Q13: What is the good practice to implement validations in aspx page? ⭐⭐\n**Answer:**\nClient-side validation is the best way to validate data of a web page. It reduces the network traffic and saves server resources. \n\n**Source:** _guru99.com_\n\n#### Q14: What is a postback? ⭐⭐\n**Answer:**\nA **postback** originates from the client browser. Usually one of the controls on the page will be manipulated by the user (a button clicked or dropdown changed, etc), and this control will initiate a postback. The state of this control, plus all other controls on the page (known as the View State) is Posted Back to the web server.\n\n**Source:** _stackoverflow.com_\n\n#### Q15: What is the file extension of ASP.NET web service? ⭐⭐\n**Answer:**\nWeb services have file extension `.asmx`.\n\n**Source:** _guru99.com_\n\n#### Q16: How can we prevent browser from caching an ASPX page? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q17: In which event of page cycle is the ViewState available? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q18: From which base class all Web Forms are inherited? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q19: What is the meaning of Unobtrusive JavaScript? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q20: Explain JSON Binding? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q21: What is new in ASP.NET Core 2, compared to ASP.NET Core 1? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q22: What are the sub types of ActionResult? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q23: What exactly is the difference between .NET Core and ASP.NET Core? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q24: What is the difference between Server.Transfer and Response.Redirect? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q25: Where the viewstate is stored after the page postback? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q26:  How do you register JavaScript for webcontrols? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q27: Explain usage of Dependency Injection in ASP.NET Core ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q28: What are the different validators in ASP.NET?  ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q29: List the events in ASP.NET page life cycle ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q30: What is ViewState? How is it encoded? Is it encrypted? Who uses ViewState? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q31: Can we add code files of different languages in App_Code folder? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q32: What are the different types of caching? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q33: What are the event handlers that we can have in Global.asax file? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q34: Explain Middleware in ASP.NET Core? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q35: How long the items in ViewState exists? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q36: What is the difference between an HtmlInputCheckBox control and an HtmlInputRadioButton control? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q37: In which event are the controls fully loaded? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q38: Which type if caching will be used if we want to cache the portion of a page instead of whole page? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q39: How we can force all the validation controls to run? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q40: List the major built-in objects in ASP.NET? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q41: What is HttpModule in ASP.Net? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q42: What is RedirectPermanent in ASP.Net? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q43: What are the different types of cookies in ASP.NET? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q44: What is the difference between \u003csystem.web\u003e and \u003csystem.webServer\u003e? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q45: What is an HttpHandler in ASP.NET? Why and how is it used? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q46: What is the difference between Web Service and WCF Service? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q47: What is the difference between web config and machine config? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q48: Is it possible to create web application with both webforms and mvc? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q49: What is the difference between ASP.NET Core Web (.NET Core) vs ASP.NET Core Web (.NET Framework)? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q50: What are the different Session state management options available in ASP.NET? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q51: What is the difference between 'classic' and 'integrated' pipeline mode in IIS7? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q52: How can we apply Themes to an asp.net application? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q53: How to choose between ASP.NET 4.x and ASP.NET Core? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q54: What is Katana? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q55: What exactly is OWIN and what problems does it solve? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q56: Name some ASP.NET WebForms disadvantages over MVC? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q57: What is the difference between a web API and a web service? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q58: What is Cross Page Posting? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q59: What is the equivalent of WebForms in ASP.NET Core? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q60: Are static class instances unique to a request or a server in ASP.NET? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n## [[⬆]](#toc) \u003ca name=ASP.NETMVC\u003eASP.NET MVC\u003c/a\u003e Interview Questions\n#### Q1: What is Layout in MVC? ⭐\n**Answer:**\nLayout pages are similar to master pages in traditional web forms. This is used to set the common look across multiple pages. In each child page we can find —\n\n```html\n@{\nLayout = “~/Views/Shared/TestLayout1.cshtml”;\n}\n```\n\nThis indicates child page uses TestLayout page as it’s master page.\n\n**Source:** _medium.com_\n\n#### Q2: Explain Bundle.Config in MVC4? ⭐⭐\n**Answer:**\n**“BundleConfig.cs”** in MVC4 is used to register the bundles by the bundling and minification system. Many bundles are added by default including jQuery libraries like — jquery.validate, Modernizr, and default CSS references.\n\n**Source:** _medium.com_\n\n#### Q3: What is Razor View Engine? ⭐⭐\n**Answer:**\n**Razor** is the first major update to render HTML in MVC 3. Razor was designed specifically for view engine syntax. Main focus of this would be to simplify and code-focused templating for HTML generation. Below is the sample of using Razor:\n\n```html\n@model MvcMusicStore.Models.Customer\n@{ViewBag.Title = “Get Customers”;}\n\u003cdiv class=”cust”\u003e \u003ch3\u003e\u003cem\u003e@Model.CustomerName\u003c/em\u003e \u003c/h3\u003e\n```\n\n\n**Source:** _medium.com_\n\n#### Q4: What is the use of ViewModel in MVC? ⭐⭐\n**Answer:**\nViewModel is a plain class with properties, which is used to bind it to strongly typed view. ViewModel can have the validation rules defined for its properties using data annotations.\n\n**Source:** _medium.com_\n\n#### Q5: What you mean by Routing in MVC? ⭐⭐\n**Answer:**\n**Routing** is a pattern matching mechanism of incoming requests to the URL patterns which are registered in route table. Class — “UrlRoutingModule” is used for the same process.\n\n**Source:** _medium.com_\n\n#### Q6: What are Actions in MVC? ⭐⭐\n**Answer:**\n**Actions** are the methods in Controller class which is responsible for returning the view or json data. Action will mainly have return type — “ActionResult” and it will be invoked from method — “InvokeAction()” called by controller.\n\n**Source:** _medium.com_\n\n#### Q7: What are the advantages of MVC over ASP.NET? ⭐⭐\n**Answer:**\n* Provides a clean separation of concerns among UI (Presentation layer), model (Transfer objects/Domain Objects/Entities) and Business Logic (Controller).\n* Easy to UNIT Test\n* Improved reusability of model and views. We can have multiple views which can point to the same model and vice versa.\n* Improved structuring of the code\n\n**Source:** _medium.com_\n\n#### Q8: What are Scaffold templates in MVC? ⭐⭐\n**Answer:**\nScaffolding in ASP.NET MVC is used to generate the Controllers, Model and Views for create, read, update, and delete (CRUD) functionality in an application. The scaffolding will be knowing the naming conventions used for models and controllers and views.\n\n**Source:** _medium.com_\n\n#### Q9: Can you explain Model, Controller and View in MVC? ⭐⭐\n**Answer:**\n* **Model** — It’s a business entity and it is used to represent the application data.\n* **Controller** — Request sent by the user always scatters through controller and it’s responsibility is to redirect to the specific view using View() method.\n* **View** — It’s the presentation layer of MVC.\n\n**Source:** _medium.com_\n\n#### Q10: What is Razor Pages? ⭐⭐\n**Answer:**\n[Razor Pages](https://codingblast.com/asp-net-core-razor-pages/) is a new feature of ASP.NET Core that makes coding page-focused scenarios easier and more productive.\n\nWith Razor Pages, you have this one Razor file (_.cshtml_), and the code for a single page lives inside of that file, and that file also represents the URL structure of the app. Therefore, you got everything inside of one file, and it just works.\n\nHowever, you can separate your code to the _code behind_ file with _.cshtml.cs_ extension. You would usually have your view model and handlers (like action methods in MVC) in that file and handle the logic there. Of course, you could also have your view model moved to separate place.\n\nSince Razor Pages is part of the MVC stack, you can use anything that comes with MVC inside of our Razor Pages.\n\n**Source:** _codingblast.com_\n\n#### Q11: Explain Sections is MVC? ⭐⭐\n**Answer:**\nSection are the part of HTML which is to be rendered in layout page. In Layout page we will use the below syntax for rendering the HTML –\n\n```html\n@RenderSection(“TestSection”)\n```\n\nAnd in child pages we are defining these sections as shown below –\n\n```html\n@section TestSection{\n     \u003ch1\u003eTest Content\u003c/h1\u003e\n}\n```\n\n**Source:** _medium.com_\n\n#### Q12: What are Non Action methods in MVC? ⭐⭐\n**Answer:**\nIn MVC all public methods have been treated as Actions. So if you are creating a method and if you do not want to use it as an action method then the method has to be decorated with \"NonAction\" attribute as shown below:\n\n```csharp\n[NonAction]\npublic void TestMethod()\n{\n   // Method logic\n}\n```\n\n**Source:** _stackoverflow.com_\n\n#### Q13: Can a view be shared across multiple controllers? If Yes, How we can do that? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q14: What is the difference between ViewBag and ViewData in MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q15: What is the difference between ViewResult() and ActionResult() in ASP.NET MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q16: What are HTML Helpers in MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q17: Can you explain the page life cycle of MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q18: What is Attribute Routing in MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q19: What is PartialView in MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q20: Can you explain RenderBody and RenderPage in MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q21: Explain the methods used to render the views in MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q22: Explain ASP.NET WebApi vs MVC? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q23: What are some of the advantages of using ASP.Net MVC vs Web Forms? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q24: What is the \"HelperPage.IsAjax\" Property? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q25: What is RouteConfig.cs in MVC 4? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q26: Why to use Html.Partial in MVC? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q27: What are Validation Annotations? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q28: Explain TempData in MVC? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q29: How route table has been created in ASP.NET MVC? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q30: Explain Dependency Resolution? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q31: What is Separation of Concerns in ASP.NET MVC? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q32: What are AJAX Helpers in MVC? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q33: What is Html.RenderPartial? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n## [[⬆]](#toc) \u003ca name=ASP.NETWebAPI\u003eASP.NET Web API\u003c/a\u003e Interview Questions\n#### Q1: What is ASP.NET Web API? ⭐\n**Answer:**\nASP.NET Web API is a framework that simplifies building HTTP services for broader range of clients (including browsers as well as mobile devices) on top of .NET Framework.\n\nUsing ASP.NET Web API, we can create non-SOAP based services like plain XML or JSON strings, etc. with many other advantages including:\n\n*   Create resource-oriented services using the full features of HTTP\n*   Exposing services to a variety of clients easily like browsers or mobile devices, etc.\n\n**Source:** _codeproject.com_\n\n#### Q2: Which status code used for all uncaught exceptions by default? ⭐⭐\n**Answer:**\n**500** – Internal Server Error\n\nConsider:\n```csharp\n[Route(\"CheckId/{id}\")]\n[HttpGet]\npublic IHttpActionResult CheckId(int id)\n{\n    if(id \u003e 100)\n    {\n        throw new ArgumentOutOfRangeException();\n    }\n    return Ok(id);\n}\n```\nAnd the result:\n\u003cdiv class=\"text-center\"\u003e\n\u003cimg src=\"https://www.exceptionnotfound.net/content/images/2015/09/checkid_invalid.png\" class=\"img-fluid\" style=\"max-width: 500px\"/\u003e\n\u003c/div\u003e\n\n**Source:** _docs.microsoft.com_\n\n#### Q3: What are the Advantages of Using ASP.NET Web API? ⭐⭐\n**Answer:**\nUsing ASP.NET Web API has a number of advantages, but core of the advantages are:\n\n*   It works the HTTP way using standard HTTP verbs like `GET`, `POST`, `PUT`, `DELETE`, etc. for all CRUD operations\n*   Complete support for routing\n*   Response generated in JSON or XML format using `MediaTypeFormatter`\n*   It has the ability to be hosted in IIS as well as self-host outside of IIS\n*   Supports Model binding and Validation\n*   Support for OData\n\n**Source:** _codeproject.com_\n\n#### Q4: What New Features are Introduced in ASP.NET Web API 2.0? ⭐⭐\n**Answer:**\nMore new features introduced in ASP.NET Web API framework v2.0 are as follows:\n\n*   Attribute Routing\n*   External Authentication\n*   CORS (Cross-Origin Resource Sharing)\n*   OWIN (Open Web Interface for .NET) Self Hosting\n*   `IHttpActionResult`\n*   Web API OData\n\n**Source:** _codeproject.com_\n\n#### Q5: What exactly is OAuth (Open Authorization)? ⭐⭐\n**Answer:**\n**OAuth** (Open Authorization) is an open standard for access granting/deligation protocol. It used as a way for Internet users to grant websites or applications access to their information on other websites but without giving them the passwords. It does not deal with authentication.\n\nBasically there are three parties involved: oAuth Provider, oAuth Client and Owner.\n\n* oAuth Client (Application Which wants to access your credential)\n* oAuth Provider (eg. facebook, twitter...)\n* Owner (the person with facebook,twitter.. account )\n\n**Source:** _stackoverflow.com_\n\n#### Q6: Explain the usage of HttpResponseMessage? ⭐⭐\n**Answer:**\n`HttpResponseMessage` works with HTTP protocol to return the data with status/error. \n\n**Source:** _c-sharpcorner.com_\n\n#### Q7: What is the difference between ApiController and Controller? ⭐⭐\n**Answer:**\n* Use **Controller** to render your normal views. \n* **ApiController** action only return data that is serialized and sent to the client.\n\nConsider:\n```csharp\npublic class TweetsController : Controller {\n  // GET: /Tweets/\n  [HttpGet]\n  public ActionResult Index() {\n    return Json(Twitter.GetTweets(), JsonRequestBehavior.AllowGet);\n  }\n}\n```\nor\n```csharp\npublic class TweetsController : ApiController {\n  // GET: /Api/Tweets/\n  public List\u003cTweet\u003e Get() {\n    return Twitter.GetTweets();\n  }\n}\n```\n\n**Source:** _stackoverflow.com_\n\n#### Q8: What are main return types supported in Web API? ⭐⭐\n**Answer:**\nA Web API controller action can return following values:\n\n*   Void – It will return empty content\n*   HttpResponseMessage – It will convert the response to an HTTP message.\n*   IHttpActionResult – internally calls ExecuteAsync to create an HttpResponseMessage\n*   Other types – You can write the serialized return value into the response body\n\n**Source:** _career.guru99.com_\n\n#### Q9: What are the differences between WebAPI and WebAPI 2? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q10: How to Restrict Access to Web API Method to Specific HTTP Verb? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q11: What is Attribute Routing in ASP.NET Web API 2.0? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q12: Name types of Action Results in Web API 2 ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q13: Compare WCF vs ASP.NET Web API? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q14: Explain the difference between WCF RESTful Service vs ASP.NET Web API? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q15: Is it True that ASP.NET Web API has Replaced WCF? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q16: What's the difference between REST \u0026 RESTful? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q17: Explain the difference between MVC vs ASP.NET Web API ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q18: Why are the \"FromBody\" and \"FromUri\" attributes needed in ASP.NET Web API`? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q19: What is ASP.NET Web API OData? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q20: Explain briefly CORS(Cross-Origin Resource Sharing)? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q21: Can we use Web API with ASP.NET Web Form? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q22: How Can We Provide an Alias Name for ASP.NET Web API Action? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q23: What is Delegating Handler? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q24: How to register exception filter globally? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q25: What's the difference between OpenID and OAuth? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q26: How to Return View from ASP.NET Web API Method? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q27: Explain advantages/disadvantages of using HttpModule vs DelegatingHandler? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q28: Could you clarify what is the best practice with Web API error management? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q29: What is difference between OData and REST web services? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q30: Explain briefly OWIN (Open Web Interface for .NET) Self Hosting? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q31: Explain the difference between WCF, Web API, WCF REST and Web Service? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q32: Why should I use IHttpActionResult instead of HttpResponseMessage? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q33: What is difference between WCF and Web API and WCF REST and Web Service? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n## [[⬆]](#toc) \u003ca name=AWS\u003eAWS\u003c/a\u003e Interview Questions\n#### Q1: What is AWS? ⭐\n**Answer:**\n**AWS** stands for Amazon Web Services and is a platform that provides database storage, secure cloud services, offering to compute power, content delivery, and many other services to develop business levels.\n\n**Source:** _onlineinterviewquestions.com_\n\n#### Q2: Explain the key components of AWS? ⭐\n**Answer:**\n* **Simple Storage Service (S3)**: S3 is most widely used AWS storage web service.\n* **Simple E-mail Service (SES)**: SES is a hosted transactional email service and allows one to fluently send deliverable emails using a RESTFUL API call or through a regular SMTP.\n* **Identity and Access Management (IAM)**: IAM provides improved identity and security management for AWS account.\n* **Elastic Compute Cloud (EC2)**: EC2 is an AWS ecosystem central piece. It is responsible for providing on-demand and flexible computing resources with a “pay as you go” pricing model.\n* **Elastic Block Store (EBS)**: EBS offers continuous storage solution that can be seen in instances as a regular hard drive.\n* **CloudWatch**: CloudWatch allows the controller to outlook and gather key metrics and also set a series of alarms to be notified if there is any trouble.\n\n**Source:** _whizlabs.com_\n\n#### Q3: What is buckets in AWS? ⭐\n**Answer:**\nAn Amazon S3 bucket is a public cloud storage resource available in Amazon Web Services' (AWS) Simple Storage Service (S3), an object storage offering. Amazon S3 buckets, which are similar to file folders, store objects, which consist of data and its descriptive metadata.\n\nBy default, you can create up to 100 buckets in each of your AWS accounts. If you need more buckets, you can increase your bucket limit by submitting a service limit increase.\n\n**Source:** _whizlabs.com_\n\n#### Q4: What is AWS Cloudfront? ⭐⭐\n**Answer:**\nAmazon **CloudFront** is a content delivery network (CDN) offered by Amazon Web Services. Content delivery networks provide a globally-distributed network of proxy servers which cache content, such as web videos or other bulky media, more locally to consumers, thus improving access speed for downloading the content.\n\n**Source:** _en.wikipedia.org_\n\n#### Q5: What do you mean by AMI? What does it include? ⭐⭐\n**Answer:**\n**AMI** stands for the term **Amazon Machine Image**.  It’s an AWS template which provides the information (an application server, and operating system, and applications) required to perform the launch of an instance. This AMI is the copy of the AMI that is running in the cloud as a virtual server.  You can launch instances from as many different AMIs as you need. AMI consists of the followings:\n\n* A root volume template for an existing instance\n* Launch permissions to determine which AWS accounts will get the AMI in order to launch the instances\n* Mapping for block device to calculate the total volume that will be attached to the instance at the time of launch\n\n**Source:** _whizlabs.com_\n\n#### Q6: How can I download a file from EC2? ⭐⭐\n**Answer:**\nUse scp:\n\n```sh\nscp -i ec2key.pem username@ec2ip:/path/to/file .\n```\n\n**Source:** _stackoverflow.com_\n\n#### Q7: Is it possible to clone a EC2 instance data? ⭐⭐\n**Answer:**\nYou can make an AMI of an existing instance, and then launch other instances using that AMI.\n\n**Source:** _stackoverflow.com_\n\n#### Q8: What is AWS Data Pipeline? ⭐⭐\n**Answer:**\n**AWS Data Pipeline** is a web service that you can use to automate the movement and transformation of data. With AWS Data Pipeline, you can define data-driven workflows, so that tasks can be dependent on the successful completion of previous tasks.\n\n**Source:** _docs.aws.amazon.com_\n\n#### Q9: Explain the features of Amazon EC2 services ⭐⭐\n**Answer:**\nAmazon EC2 services have following features:\n\n* Virtual Computing Environments\n* Proffers Persistent storage volumes\n* Firewall validating you to specify the protocol\n* Pre-configured templates\n* Static IP address for dynamic Cloud Computing\n\n**Source:** _whizlabs.com_\n\n#### Q10: What is the connection between AMI and Instance? ⭐⭐\n**Answer:**\nMany different types of *instances* can be launched from one *AMI*. The type of an instance generally regulates the hardware components of the host computer that is used for the instance. Each type of instance has distinct computing and memory efficacy.\n\nOnce an instance is launched, it casts as host and the user interaction with it is same as with any other computer but we have a completely controlled access to our instances. AWS developer interview questions may contain one or more AMI based questions, so prepare yourself for the AMI topic very well.\n\n**Source:** _whizlabs.com_\n\n#### Q11: Are S3 buckets region specific? ⭐⭐\n**Answer:**\nYes, buckets exist in a specific region and you need to specify that region when you create a bucket. Amazon S3 creates bucket in a region you specify. You can choose any AWS region that is geographically close to you to optimize latency, minimize costs, or address regulatory requirements.\n\n**Source:** _stackoverflow.com_\n\n#### Q12: What is AWS Direct Connect? ⭐⭐\n**Answer:**\n**AWS Direct Connect** bypasses the public Internet and establishes a secure, dedicated connection from your infrastructure into AWS. With established connectivity via AWS Direct Connect, you can access your Amazon VPC and all AWS services.\n\n**Source:** _coresite.com_\n\n#### Q13: What is AWS EBS? ⭐⭐\n**Answer:**\n**Amazon Elastic Block Store** (Amazon EBS) provides persistent block storage volumes for use with Amazon EC2 instances in the AWS Cloud. Each Amazon EBS volume is automatically replicated within its Availability Zone to protect you from component failure, offering high availability and durability.\n\n**Source:** _aws.amazon.com_\n\n#### Q14: What is AWS Lambda? ⭐⭐\n**Answer:**\n**AWS Lambda** is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security.\n\n**Source:** _aws.amazon.com_\n\n#### Q15: What is AWS DynamoDB? ⭐⭐\n**Answer:**\n**Amazon DynamoDB** is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. With DynamoDB, you can create database tables that can store and retrieve any amount of data, and serve any level of request traffic.\n\n**Source:** _docs.aws.amazon.com_\n\n#### Q16: What is AWS EMR? ⭐⭐\n**Answer:**\n**Amazon Elastic MapReduce (EMR)** is an Amazon Web Services (AWS) tool for big data processing and analysis. Amazon EMR offers the expandable low-configuration service as an easier alternative to running in-house cluster computing.\n\nAmazon EMR is based on Apache Hadoop, a Java-based programming framework that supports the processing of large data sets in a distributed computing environment. MapReduce is a software framework that allows developers to write programs that process massive amounts of unstructured data in parallel across a distributed cluster of processors or stand-alone computers.\n\n**Source:** _searchaws.techtarget.com_\n\n#### Q17: Is data stored in S3 is always encrypted? ⭐⭐\n**Answer:**\nBy default data on S3 is not encrypted, but all you could enable server-side encryption in your object metadata when you upload your data to Amazon S3. As soon as your data reaches S3, it is encrypted and stored.\n\n**Source:** _aws.amazon.com_\n\n#### Q18: Can we attach single EBS to multiple EC2s same time? ⭐⭐\n**Answer:**\nNo. After you create a volume, you can attach it to any EC2 instance in the same Availability Zone. An EBS volume can be attached to **only one EC2 instance at a time**, but multiple volumes can be attached to a single instance.\n\n**Source:** _docs.aws.amazon.com_\n\n#### Q19: What is AWS API gateway? ⭐⭐\n**Answer:**\nAmazon **API Gateway** is an AWS service that enables developers to create, publish, maintain, monitor, and secure APIs at any scale. You can create APIs that access AWS or other web services, as well as data stored in the AWS Cloud.\n\n**Source:** _aws.amazon.com_\n\n#### Q20: What is AWS Direct Connect? ⭐⭐\n**Answer:**\nUsing **AWS Direct Connect**, you can establish private connectivity between AWS and your datacenter, office, or colocation environment, which in many cases can reduce your network costs, increase bandwidth throughput, and provide a more consistent network experience than Internet-based connections.\n\n**Source:** _aws.amazon.com_\n\n#### Q21: What are the security best practices for Amazon EC2 instances? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q22: Can I automatically start and terminate my Amazon instance using Amazon API?  ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q23: Can we still continue working on EBS while creating snapshot of it? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q24: What is AWS Auto Scaling? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q25: What is AWS Auto Scaling group? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q26: What is the maximum size of a single S3 object? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q27: What is AWS bucket policy? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q28: Does AWS has the option for vertical \"auto\" scaling of EC2 instance? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q29: What is AWS WAF? What are the potential benefits of using WAF? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q30: How to get the instance id from within an EC2 instance? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q31: What is AWS Cloudwatch? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q32: What is the difference between Amazon EC2 and AWS Elastic Beanstalk? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q33: How many storage options are there for EC2 Instance? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q34: What is AWS Route 53? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q35: How would you implement vertical auto scaling of EC2 instance? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q36: What is Amazon Kinesis? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q37: How to find a region from within an EC2 instance? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q38: Where are EC2 snapshots stored? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q39: When should one use the following: Amazon EC2, Google App Engine, Microsoft Azure and Salesforce.com? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q40: When to use Amazon CloudFront and when S3? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q41: Our EC2 micro instance occasionally runs out of memory. Other than using a larger instance size, what else can be done? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q42: What is difference between Lightsail and EC2? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q43: What is the underlying hypervisor for EC2? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q44: How to safely upgrade an Amazon EC2 instance from t1.micro to large? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n## [[⬆]](#toc) \u003ca name=Agile\u0026Scrum\u003eAgile \u0026 Scrum\u003c/a\u003e Interview Questions\n#### Q1: What is ASP.NET MVC? ⭐\n**Answer:**\nASP.NET MVC is a web application Framework. It is light weight and highly testable Framework. MVC separates application into three components — Model, View and Controller.\n\n**Source:** _medium.com_\n\n#### Q2: What is Scrum? ⭐\n**Answer:**\n**Scrum** is one of the most popular frameworks for implementing *Agile*. Many people think scrum and agile are the same thing but they're not.\n\nWith scrum, the product is built in a series of fixed-length iterations called sprints that give teams a framework for shipping software on a regular cadence.\n\n**Source:** _atlassian.com_\n\n#### Q3: What is sprint in Scrum? ⭐\n**Answer:**\nIn the Scrum methodology a **sprint** is the basic unit of development. Scrum sprints correspond to Agile iterations. \n\nEach sprint starts with \n* a **planning meeting**, where the tasks for the sprint are identified and an estimated commitment for the **sprint goal** is made. \n\nA Sprint ends with \n* a **review or retrospective meeting** where the progress is reviewed and lessons for the next sprint are identified. During each sprint, the team creates finished portions of a product.\n\n**Source:** _stackoverflow.com_\n\n#### Q4: Name roles in Scrum ⭐\n**Answer:**\nThree essential roles for scrum success are:\n* **The Product Owner** are the champions for their product. They are focused on understanding business and market requirements, then prioritizing the work to be done by the engineering team accordingly.\n* ** The Scrum Master** are the champion for scrum within their team. They coach the team, the product owner, and the business on the scrum process and look for ways to fine-tune their practice of it.\n* **The Scrum Team** are the champions for sustainable development practices. Scrum teams are cross-functional, \"the development team\" includes testers, designers, and ops engineers in addition to developers. \n\n**Source:** _atlassian.com_\n\n#### Q5: What is User Stories? ⭐\n**Answer:**\n**User stories** are features customers might want to see in their software. They are written on index cards to encourage face-to-face communication. Typically no more than a couple days work, they form the basis of our Agile plans.\n\n#### Q6: What is an epic, user stories and task? ⭐\n**Answer:**\n**Epic:** A customer described software feature that is itemized in the product backlog is known as epic. Epics are sub-divided into stories.\n\n**User Stories:** From the client perspective user stories are prepared which defines project or business functions, and it is delivered in a particular sprint as expected.\n\n**Task:** Further down user stories are broken down into different task\n\n**Source:** _career.guru99.com_\n\n#### Q7: Explain what is Refactoring? ⭐\n**Answer:**\nTo improve the performance, the existing code is modified; this is re-factoring. During re-factoring the code functionality remains same.\n\n**Source:** _career.guru99.com_\n\n#### Q8: What is an Agile iteration? ⭐\n**Answer:**\nAn Agile **iteration** is a short one to two week period where a team takes most important user stories,  builds them completely and deliver as running-tested-software to the customer. Analysis, design, coding, testing happen during an iteration.\n\n#### Q9: Name some types of meetings or ceremonies in Scrum ⭐⭐\n**Answer:**\nScrum calls for four ceremonies that bring structure to each sprint:\n\n* **Sprint planning**: A team planning meeting that determines what to complete in the coming sprint.\n* **Daily stand-up**: Also known as a daily scrum, a 15-minute mini-meeting for the software team to sync.\n* **Sprint demo**: A sharing meeting where the team shows what they've shipped in that sprint.\n* **Sprint retrospective**: A review of what did and didn't go well with actions to make the next sprint better.\n\n\n**Source:** _atlassian.com_\n\n#### Q10: If a timebox plan needs to be reprioritized who should re-prioritise it? ⭐⭐\n**Answer:**\nIf a timebox plan needs to be reprioritized it should include whole team, product owner, and developers.\n\n**Source:** _career.guru99.com_\n\n#### Q11: Mention the key difference between sprint backlog and product backlog? ⭐⭐\n**Answer:**\n* **Product backlog**: It contains a list of all desired features and is owned by the product owner\n\n* **Sprint backlog**: It is a subset of the product backlog owned by development team and commits to deliver it in a sprint. It is created in Sprint Planning Meeting\n\n**Source:** _career.guru99.com_\n\n#### Q12: What is Agile? ⭐⭐\n**Answer:**\n**Agile** is a time boxed, **iterative approach (framework) to software delivery** that builds software incrementally from the start of the project, instead of trying to deliver it all at once near the end.\n\nIt works by breaking projects down into little bits of user functionality called **user stories**, prioritizing them, and then continuously delivering them in short two week cycles called **iterations**.\n\nAgile refers to any process that aligns with the concepts of the [Agile Manifesto](http://agilemanifesto.org/). \n\n**Source:** _agilemanifesto.org_\n\n#### Q13: Explain in Agile, burn-up and burn-down chart? ⭐⭐\n**Answer:**\nTo track the project progress burnup and burn down, charts are used\n\n* Burnup Chart: It shows the progress of stories done over time\n* Burndown Chart: It shows how much work was left to do overtime\n\n**Source:** _career.guru99.com_\n\n#### Q14: What is Sprint Planning? ⭐⭐\n**Answer:**\nThe work to be performed in the Sprint is planned at the **Sprint Planning**. This plan is created by the collaborative work of the entire Scrum Team.\n\nSprint Planning answers the following:\n\n* What can be delivered in the Increment resulting from the upcoming Sprint?\n* How will the work needed to deliver the Increment be achieved?\n\nThe Sprint Goal is an objective set for the Sprint that can be met through the implementation of Product Backlog. \n\n**Source:** _scrum.org_\n\n#### Q15: Explain difference between a Product and a Sprint Backlog ⭐⭐\n**Answer:**\n* The **Product Backlog** is an ordered list of everything that is known to be needed in the product. It is the single source of requirements for any changes to be made to the product.\n\n* The **Sprint Backlog** is the set of Product Backlog items selected for the Sprint during the Sprint Planning, plus a plan for delivering the product Increment and realizing the Sprint Goal. \n\n**Source:** _scrum.org_\n\n#### Q16: What is story points/efforts/ scales? ⭐⭐\n**Answer:**\nIt is used to discuss the difficulty of the story without assigning actual hours. The most common scale used is a Fibonacci sequence (1, 2, 3, 5, 8,1 3,….100) although some teams use linear scale (1, 2, 3, 4….), Powers of 2 (1, 2, 4, 8……) and cloth size (XS, S ,M, L, XL)\n\n**Source:** _career.guru99.com_\n\n#### Q17: How is Agile different from other software delivery aproaches? ⭐⭐\n**Answer:**\n* Analysis, design, coding, and testing are continuous activities\n* Development is iterative\n* Planning is adaptive\n* Roles blur\n* Scope can vary\n* Requirements can change\n* Working software is the primary measure of success\n\n\n\n#### Q18: Have you ever used Scrum Task Board? ⭐⭐\n**Answer:**\nIn Scrum the *task board* is a visual display of the progress of the Scrum team during a sprint. It presents a snapshot of the current sprint backlog allowing everyone to see which tasks remain to be started, which are in progress and which are done.\n\nConsider the following layout of the task board:\n- Stories\n- To Do\n- In Progress\n- Testing\n- Done\n\n**Source:** _manifesto.co.uk_\n\n#### Q19: Explain what does it mean by product roadmap? ⭐⭐\n**Answer:**\nA **product roadmap** is referred for the holistic view of product features that create the product vision.\n\n**Source:** _career.guru99.com_\n\n#### Q20: Explain what is Velocity in Agile? ⭐⭐\n**Answer:**\n**Velocity** is a metric that is calculated by addition of all efforts estimates related with user stories completed in an iteration. It figures out how much work Agile can complete in a sprint and how much time will it need to finish a project.\n\n**Source:** _career.guru99.com_\n\n#### Q21: Mention what should a burndown chart should highlight? ⭐⭐\n**Answer:**\nThe burn-down chart shows the remaining work to complete before the timebox (iteration) ends.\n\n**Source:** _career.guru99.com_\n\n#### Q22: What is test driven development? ⭐⭐\n**Answer:**\n**Test driven development (TDD)** is also known as test-driven design. In this method, developer first writes an automated test case which describes new function or improvement and then creates small codes to pass that test, and later re-factors the new code to meet the acceptable standards.\n\n**Source:** _career.guru99.com_\n\n#### Q23: Explain what is Scrum ban? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q24: What does project velocity mean? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q25: Can you explain the purpose of a burndown chart? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q26: What is the Agile Manifesto? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q27: What does the Scrum Framework consist from? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q28: What are four Agile Manifesto values? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q29: Explain the difference between Extreme programming and Scrum? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q30: What are some methodologies used to implement Agile? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q31: Mention what are the challenges involved in Agile software development? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q32: What are the qualities of a good Agile tester should have? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q33: What is a Sprint Review? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q34: What is Acceptance Criteria? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q35: Mention what are the advantages of maintaining consistent iteration length throughout the project? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q36: Mention in detail what are the role’s of Scrum Master? ⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q37: Mention what is the difference between Scrum and Agile? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q38: Mention what are the Agile quality strategies? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q39: Why Continuous Integration is important for Agile? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q40: What is a Sprint Retrospective? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q41: What are the Scrum values? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q42: What the Scrum theory is based on? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q43: When not to use Agile? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q44: In Agile mention what is the difference between the Incremental and Iterative development? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q45: Explain how you can measure the velocity of the sprint with varying team capacity? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q46: What is Scrum Increment? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q47: Explain main differences between Scrum and Agile? ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q48: Name the 12 Agile Principles ⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q49: What are the benefits of Burn Up chart? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q50: What is the Scrum's definition of \"Done\"? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q51: Provide some examples of burn-up chart ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n#### Q52: Explain what is Spike and Zero sprint in Agile? What is the purpose of it? ⭐⭐⭐⭐⭐\nRead answer on 👉 \u003ca href='https://www.fullstack.cafe'\u003eFullStack.Cafe\u003c/a\u003e\n\n## [[⬆]](#toc) \u003ca name=Android\u003eAndroid\u003c/a\u003e Interview Questions\n#### Q1: Mention the difference between RelativeLayout and LinearLayout? ⭐\n**Answer:**\n* **Linear Layout** — Arranges elements either vertically or horizontally. i.e. in a row or column.\n* **Relative Layout** — Arranges elements relative to parent or other elements.\n\n**Source:** _android.jlelse.eu_\n\n#### Q2: What is the difference between Bitmap and Drawable in Android? ⭐\n**Answer:**\n* A **Bitmap** is a representation of a bitmap image (something like java.awt.Image).\n* A **Drawable** is an abstraction of \"something that can be drawn\". It could be a Bitmap (wrapped up as a BitmapDrawable), but it could also be a solid color, a collection of other Drawable objects, or any number of other structures.\n\n**Source:** _stackoverflow.com_\n\n#### Q3: What is a difference between Spannable and String? ⭐\n**Answer:**\nA **Spannable** allows to attach formatting information like bold, italic, ... to sub-sequences (\"spans\", thus the name) of the characters. It can be used whenever you want to represent \"rich text\".\n\n**Source:** _stackoverflow.com_\n\n#### Q4: What is an Activity? ⭐\n**Answer:**\nAn **activity** provides the window in which the app draws its UI. This window typically fills the screen, but may be smaller than the screen and float on top of other windows. Generally, one activity implements one screen in an app. For instance, one of an app’s activities may implement a Preferences screen, while another activity implements a Select Photo screen.\n\n**Source:** _github.com_\n\n#### Q5: What is Armv7? ⭐⭐\n**Answer:**\nThere are 3 CPU architectures in Android:\n\n* **_ARMv7_**  is the most common as it is optimised for battery consumption.\n*  **_ARM64_**  is an evolved version of that that supports 64-bit processing for more powerful computing.\n*  **_ARMx86_**, is the least used for these three, since it is not battery friendly. It is more powerful than the other two.\n\n**Source:** _android.jlelse.eu_\n\n#### Q6: Explain activity lifecycle ⭐⭐\n**Answer:**\nAs a user navigates through, out of, and back to your app, the Activity instances in your app transition through different states in their lifecycle.\n\nTo navigate transitions between stages of the activity lifecycle, the Activity class provides a core set of six callbacks: `onCreate()`, `onStart()`, `onResume()`, `onPause()`, `onStop()`, and `onDestroy()`. The system invokes each of these callbacks as an activity enters a new state. \n\n\u003cdiv class=\"text-center\"/\u003e\n\u003cimg src=\"https://developer.android.com/guide/components/images/activity_lifecycle.png\" class=\"img-fluid\" /\u003e\n\u003c/div\u003e\n\n\n**Source:** _developer.android.com_\n\n#### Q7: How can I get the context in a fragment? ⭐⭐\n**Answer:**\nYou can use `getActivity()`, which returns the activity associated with a fragment. The activity is a context (since Activity extends `Context`).\n\nYou can also override the `onAttach` method of fragment:\n\n```java\npublic static class DummySectionFragment extends Fragment{\n...\n    @Override\n    public void onAttach(Activity activity) {\n        super.onAttach(activity);\n        DBHelper = new DatabaseHelper(activity);\n    }\n}\n```\n\n**Source:** _stackoverflow.com_\n\n#### Q8: What is View Group? How are they different from Views? ⭐⭐\n**Answer:**\n**View:** View objects are the basic building blocks of User Interface(UI) elements in Android. View is a simple rectangle box which responds to the user’s actions. Examples are EditText, Button, CheckBox etc. View refers to the `android.view.View` class, which is the base class of all UI classes.\n\n**ViewGroup:** ViewGroup is the invisible container. It holds View and ViewGroup. For example, LinearLayout is the ViewGroup that contains Button(View), and other Layouts also. ViewGroup is the base class for Layouts.\n\n**Source:** _android.jlelse.eu_\n\n#### Q9: Is it possible to implement the model–view–controller pattern in Java for Android? ⭐⭐\n**Answer:**\nIn Android you **don't have MVC**, but you have the following:\n\n* You define your user interface in  various XML files by resolution, hardware, etc.\n* You define your resources in various XML files by locale, etc.\n* You extend clases like ListActivity, TabActivity and make use of the XML file by inflaters.\n* You can create as many classes as you wish for your business logic.\n* A lot of Utils have been already written for you - DatabaseUtils, Html.\n\n**Source:** _stackoverflow.com_\n\n#### Q10: What’s the difference between onCreate() and onStart()? ⭐⭐\n**Answer:**\n*   The `onCreate()` method is called once during the Activity lifecycle, either when the application starts, or when the Activity has been destroyed and then recreated, for example during a configuration change.\n*   The `onStart()` method is called whenever the Activity becomes visible to the user, typically after `onCreate()` or `onRestart()`.\n\n**Source:** _android.jlelse.eu_\n\n#### Q11: Explain the build process in Android ⭐⭐\n**Answer:**\n1.  First step involves compiling the resources folder (/res) using the aapt (android asset packaging tool) tool. These are compiled to a single class file called R.java. This is a class that just contains constants.\n2.  Second step involves the java source code being compiled to .class files by javac, and then the class files are converted to Dalvik bytecode by the “dx” tool, which is included in the sdk ‘tools’. The output is classes.dex.\n3.  The final step involves the android apkbuilder which takes all the input and builds the apk (android packaging key) file.\n\n**Source:** _android.jlelse.eu_\n\n#### Q12: What is an Intent in Android? ⭐⭐\n**Answer:**\nAn Intent is basically a message that is passed between components (such as Activities, Services, Broadcast Receivers, and Content Providers).So, it is almost equivalent to parameters passed to API calls. The fundamental differences between API calls and invoking components via intents are:\n\n* API calls are synchronous while intent-based invocations are asynchronous.\n* API calls are compile-time binding while intent-based calls are run-time binding.\n\nTo listen for an broadcast intent (like the phone ringing, or an SMS is received), you implement a **broadcast receiver**, which will be passed the intent. To declare that you can handle another's app intent like \"take picture\", you declare an intent filter in your app's manifest file.\n\nIf you want to fire off an intent to do something, like pop up the dialer, you fire off an intent saying you will.\n\nAn Intent provides a facility for performing late runtime binding between the code in different applications. \n\n**Source:** _stackoverflow.com_\n\n#### Q13: What is the most appropriate way to store user settings in Android application? ⭐⭐\n**Answer:**\nIn general **SharedPreferences** are your best bet for storing preferences, so in general I'd recommend that approach for saving application and user settings.\n\nThe only area of concern here is what you're saving. Passwords are always a tricky thing to store, and I'd be particularly wary of storing them as clear text. The Android architecture is such that your application's SharedPreferences are sandboxed to prevent other applications from being able to access the values so there's some security there, but physical access to a phone could potentially allow access to the values.\n\n**Source:** _stackoverflow.com_\n\n#### Q14: In what situation should one use RecyclerView over ListView? ⭐⭐\n**Answer:**\n**RecyclerView** was created as a **ListView** improvement, so yes, you can create an attached list with **ListView** control, but using **RecyclerView** is easier as it:\n\n* Reuses cells while scrolling up/down - this is possible with implementing View Holder in the ListView adapter, but it was an optional thing, while in the RecycleView it's the default way of writing adapter.\n* Decouples list from its container - so you can put list items easily at run time in the different containers (linearLayout, gridLayout) with setting LayoutManager.\n\nTo conclude, **RecyclerView** is a more flexible control for handling \"list data\" that follows patterns of delegation of concerns and leaves for itself only one task - recycling items.\n\n**Source:** _stackoverflow.com_\n\n#### Q15: Explain briefly all the Android application components ⭐⭐\n**Answer:**\n**App components** are the essential building blocks of an Android app. Each component is an entry point through which the system or a user can enter your app.\n\nThere are four different types of app components:\n\n* **Activities** - An activity is the entry point for interacting with the user. It represents a single screen with a user interface.\n* **Services** - A service is a general-purpose entry point for keeping an app running in the background for all kinds of reasons. It is a component that runs in the background to perform long-running operations or to perform work for remote processes.\n* **Broadcast receivers** - A broadcast receiver is a component that enables the system to deliver events to the app outside of a regular user flow, allowing the app to respond to system-wide broadcast announcements.\n* **Content providers** - A content provider manages a shared set of app data that you can store in the file system, in a SQLite database, on the web, or on any other persistent storage location that your app can access.\n\n**Source:** _developer.android.com_\n\n#### Q16: What is 'Context' on Android? ⭐⭐\n**Answer:**\nThe documentation itself provides a rather straightforward explanation: The Context class is an “Interface to global information about an application environment\".\n\nWe may assume a **Context** is a handle to the system; it provides services like resolving resources, obtaining access to databases and preferences, and so on. An Android app has activities. Context is like a handle to the environment your application is currently running in. The activity object inherits the Context object.\n\n**Source:** _stackoverflow.com_\n\n#### Q17: What is the Dalvik Virtual Machine? ⭐⭐\n**Answer:**\nThe **Dalvik Virtual Machine (DVM)** is an android virtual machine optimized for mobile devices. It optimizes the virtual machine for memory, battery life and performance.\n\nThe Dex compiler converts the class files into the `.dex` file that run on the Dalvik VM. Multiple class files are converted into one dex file.\n\n**Source:** _www.javatpoint.com_\n\n#### Q18: Tell about Constraint Layout ⭐⭐\n**Answer:**\n**ConstraintLayout** allows you to create large and complex layouts with a flat view hierarchy (no nested view groups). It's similar to **RelativeLayout** in that all views are laid out according to relationships between sibling views and the parent layout, but it's more flexible than RelativeLayout and easier to use with Android Studio's Layout Editor.\n\nIntention of ConstraintLayout is to optimize and flatten the view hierarchy of your layouts by applying some rules to each view to avoid nesting.\n\n**Source:** _developer.android.com_\n\n#### Q19: What is ADB and what is it used for? ⭐⭐\n**Answer:**\n**ADB** is the acronym for Android Debug Bridge, which is part of the Android SDK (Software Development Kit). It uses a client-server-model (i.e. adbd, the ADB daemon, is running on the device and can be connected to), and in most cases is used via an USB connection. It is also possible to use it via WiFi (wireless adb).\n\nThere's nothing you need to install on your Android device, as the ADB daemon (adbd) is already integrated into the Android OS. It is usually accessed via a command line interface from the PC, where either the full Android SDK is installed (several 30 MB download archive currently), or a massively stripped-down version for \"non-developers\", sometimes referred to as \"Mini ADB\" or \"ADB essentials\" (for Linux, this is only the adb executable; for Windows it's adb.exe plus two or three .dll files).\n\n**Source:** _developer.android.com_\n\n#### Q20: What is Dalvik? ⭐⭐\n**Answer:**\n**Dalvik** is a Just In Time (JIT) compiler. By the term JIT, we mean to say that whenever you run your app in your mobile device then that part of your code that is needed for execution of your app will only be compiled at that moment and rest of the code will be compiled in the future when needed. The JIT or Just In Time compiles only a part of your code and it has a smaller memory footprint and due to this, it uses very less physical space on your device.\n\n**Source:** _blog.mindorks.com_\n\n#### Q21: What types of Context do you know? ⭐⭐\n**Answer:**\nThe are mainly two types of context:\n\n* **Application Context**: It is a","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faershov24%2Ffull-stack-interview-questions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faershov24%2Ffull-stack-interview-questions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faershov24%2Ffull-stack-interview-questions/lists"}