Get More on http://www.ManzoorTheTrainer.com
This eBook contains 109 important interview questions along with answers that any web developer looking for a job on MS.Net platform needs to know. This eBook starts with two articles one of which talks about why most of the engineers are jobless and the other say the solution for it. As a technical part I have covered the following MS.Net technologies ASP.Net, C#.Net & ADO.Net and MS SQL Server.
Second edition is also on the way with focus on at least one real time example on each question.
Key features: Point to point | Simple language
C# is an elegant and type-safe object-oriented language that enables developers to build a variety of secure and robust applications that run on the .NET Framework. You can use C# to create Windows client applications, XML Web services, distributed components, client-server applications, database applications, and much, much more. Visual C# provides an advanced code editor, convenient user interface designers, integrated debugger, and many other tools to make it easier to develop applications based on the C# language and the .NET Framework.
Learn C#.Net in simplified way.
Top 20 Asp.net interview Question and answersw3asp dotnet
It is about .net interview question and answers.W3asp.net is a site which provide you the information regarding asp.net like c# ,asp.net, SQLSERVER,XML,Winforms. w3asp.net also organize quizzes and job.
Top 20 c# interview Question and answersw3asp dotnet
This presentation contains interview question and answers . www.w3asp.net provide you the information, knowledge, job, practices and tranings regarding asp.net.
C# is an elegant and type-safe object-oriented language that enables developers to build a variety of secure and robust applications that run on the .NET Framework. You can use C# to create Windows client applications, XML Web services, distributed components, client-server applications, database applications, and much, much more. Visual C# provides an advanced code editor, convenient user interface designers, integrated debugger, and many other tools to make it easier to develop applications based on the C# language and the .NET Framework.
Learn C#.Net in simplified way.
Top 20 Asp.net interview Question and answersw3asp dotnet
It is about .net interview question and answers.W3asp.net is a site which provide you the information regarding asp.net like c# ,asp.net, SQLSERVER,XML,Winforms. w3asp.net also organize quizzes and job.
Top 20 c# interview Question and answersw3asp dotnet
This presentation contains interview question and answers . www.w3asp.net provide you the information, knowledge, job, practices and tranings regarding asp.net.
A simple document emphasizing the reasons behind evolution of .Net technology and how it simplified the yester-decade's technology issues. This document is simplified and teaches a lame man as why & how .net framework gained importance and how it is ruling the roost.
***** Enroll here [MVC 3-Tier (50% Off)] :http://goo.gl/iMulis
Thanks for your all time support.
Finally... this is what I was doing for past one month...
Do you want to see a live web app built on 3-Tier arch using Asp.Net MVC, jQuery, Bootstrap, C#.Net, Entity Framework and MS SQL Server?
Here it is http://linkhub.manzoorthetr...
Are you really excited to learn how to develop this 3-tier web app on Asp.Net MVC and Entity Framework?
Then you are going to learn it here with me from scratch..
In this course we are going to learn how to break requirements into objects and find relation among them. We will then learn designing database out of this objects and relationships. Moving forward we will also see how to design arch. of the project and implement various layers.
We are going to learn implementation of business object layer using Entity Framework and data access layer using repository design pattern and Entity Framework.
For user interface we will see Asp.Net MVC, jQuery and Bootstrap. We will learn how bootstrap makes our application responsive.We will also see how to implement custom sorting and paging. Moving ahead you will learn forms validations and business rules validations as well. We are going to secure our app using custom membership provider and role provider and publish it on web.
In Advance operations we will try to understand how to implement transactions, bind multiple models to single view and Ajaxyfyi our Asp.Net web App. Finally we will also see few optimization techniques.
in this tutorial we will discuss about
exception handling in C#
Exception class
creating user-defined exception
throw keyword
finally keyword
with examples'
Interface in java By Dheeraj Kumar Singhdheeraj_cse
In Java,
An interface is a way through which unrelated objects use to interact with one another.
Using interface, you can specify what a class must do, but not how it does it.
It is not a class but a set of requirements for classes that implement the interface.
A simple document emphasizing the reasons behind evolution of .Net technology and how it simplified the yester-decade's technology issues. This document is simplified and teaches a lame man as why & how .net framework gained importance and how it is ruling the roost.
***** Enroll here [MVC 3-Tier (50% Off)] :http://goo.gl/iMulis
Thanks for your all time support.
Finally... this is what I was doing for past one month...
Do you want to see a live web app built on 3-Tier arch using Asp.Net MVC, jQuery, Bootstrap, C#.Net, Entity Framework and MS SQL Server?
Here it is http://linkhub.manzoorthetr...
Are you really excited to learn how to develop this 3-tier web app on Asp.Net MVC and Entity Framework?
Then you are going to learn it here with me from scratch..
In this course we are going to learn how to break requirements into objects and find relation among them. We will then learn designing database out of this objects and relationships. Moving forward we will also see how to design arch. of the project and implement various layers.
We are going to learn implementation of business object layer using Entity Framework and data access layer using repository design pattern and Entity Framework.
For user interface we will see Asp.Net MVC, jQuery and Bootstrap. We will learn how bootstrap makes our application responsive.We will also see how to implement custom sorting and paging. Moving ahead you will learn forms validations and business rules validations as well. We are going to secure our app using custom membership provider and role provider and publish it on web.
In Advance operations we will try to understand how to implement transactions, bind multiple models to single view and Ajaxyfyi our Asp.Net web App. Finally we will also see few optimization techniques.
in this tutorial we will discuss about
exception handling in C#
Exception class
creating user-defined exception
throw keyword
finally keyword
with examples'
Interface in java By Dheeraj Kumar Singhdheeraj_cse
In Java,
An interface is a way through which unrelated objects use to interact with one another.
Using interface, you can specify what a class must do, but not how it does it.
It is not a class but a set of requirements for classes that implement the interface.
The working architecture of node js applications open tech week javascript ...Viktor Turskyi
We launched more than 60 projects, developed a web application architecture that is suitable for projects of completely different sizes. In the talk, I'll analyze this architecture, will consider the question what to choose “monolith or microservices”, will show the main architectural mistakes that developers make.
Object-Oriented Programming (OOP) is a fundamental paradigm in software development that allows for modular, reusable, and efficient code. Whether you’re preparing for an interview or seeking to enhance your programming skills, understanding OOP is crucial. In this comprehensive guide, we’ll explore the essential topics and concepts of OOP, equipping you with the knowledge to write clean and maintainable code.
In this series on Object-Oriented Programming (OOP), we have curated a comprehensive set of slides that cover each topic in detail. These slides not only provide a clear explanation of the concepts but also contain the latest and tricky interview questions related to each topic. They serve as a valuable resource to help you prepare for interviews and strengthen your understanding of OOP.
Preparing for an interview? These slides will not only equip you with the knowledge required but also familiarize you with the interview questions that frequently arise in OOP discussions. By practicing these questions, you’ll gain confidence and be well-prepared to showcase your OOP expertise during interviews.
Unlock the power of OOP by exploring these slides, which encompass both the fundamentals and advanced concepts. Whether you’re a beginner or an experienced developer, this series is designed to enhance your OOP skills and make you a more proficient programmer
Top interview questions in c is the extensive list of questions we have created for students.
These questions are helpful for students who are looking for most common asked questions in language c with answers.
Question cover from basic level to advance level
These are theory questions which are also asked in examinations.
Find me on facebook https://www.facebook.com/iwpiww/
Find me on twitter https://twitter.com/seth_avinash
Subscribe me on youtube https://www.youtube.com/c/avinashsethwpnww?sub_confirmation=1
Your learning partner - visionard.com
An introduction to Test-First Behavior-Driven Development, and acceptance testing with Gherkin, with some real-life Gherkin examples. Content created for C# code, but the principles do apply to other languages/environments.
How to ace your .NET technical interview :: .Net Technical Check TuneupBala Subra
This session is just not a brain dump of a technical interview on Microsoft technologies. It will be refresher on various pieces of the .NET, Database, OO, Process world. It will serve as a caution for interviewers to red flag their questions which are circulated on the webdom. For all the inquisitive and MCP certified brains, this will serve as a ‘whodunnit’ challenge. It will be a useful reference for the rest of us. The talk is divided into four sections. We will cover the typical BrainBench type questions to start with. Then we will attack the common problems encountered on the field and ideal solution paths to each of them. Third part will be about architectural trade-offs and ‘it depends’ scenarios. Finally, there will be discussion on best practices, books needed for interview preparation and open Q&A among the participants.
Top 50 Accenture Interview Questions and AnswersSimplilearn
This video is based on Accenture Interview for Freshers. In this video session, we will be covering various topics like Accenture core values, Accenture recruitment process, and various interview questions for freshers and experienced that will help you with your preparation. At last, we will cover some Accenture Interview Preparation Tips that will be a valuable resource for you while preparing for the interview.
🔥Explore Our Free Courses With Completion Certificate by SkillUp: https://www.simplilearn.com/skillup-f...
Accenture is a global professional services firm that specializes in consulting, technology, and outsourcing. The company was established in 1989 and is based in Dublin, Ireland. It operates in over 200 cities across 56 nations. Today it is one of the top IT firms in India and a global leader in management consulting, technology services, and outsourcing.
Accenture makes effective use of its industry knowledge and technical capabilities, identifying the most recent business and technology trends and delivering powerful solutions to help clients increase revenue. It works with 91 Fortune-100 global corporations and has been named to Fortune's "World's Most Admired Companies" list 19 times in a row.
✅Subscribe to our Channel to learn more about the top Technologies: https://bit.ly/2VT4WtH
#AccentureInterviewQuestionsAndAnswers #Accenture #AccentureInterviewForFreshers #AccentureJobs #AccentureInterview #AccentureInterviewTips #InterviewQuestions #AccentureHiring #InterviewQuestions #InterviewQuestionsAndAnswers #InterviewTips #JobInterviewQuestions #JobInterviewTips #JobInterviewPractice #TopCompanies #SoftSkills #Simplilearn
Simplilearn is one of the world’s leading certification training providers. We partner with companies and individuals to address their unique needs, providing training and coaching that helps working professionals achieve their career goals. We've helped over 1 million professionals and companies across 150+ countries get trained, acquire certifications, and upskill their employees. Our training courses are designed and updated by 2000+ renowned industry experts. Our blended learning approach combines online classes, instructor-led live virtual classrooms, project work, and 24/7 teaching assistance.
We provide online training in Machine Learning, AWS, DevOps, Big Data, Hadoop, Data Science, Artificial Intelligence, Cloud Computing, Project Management, Digital Marketing, Cyber Security and Salesforce among others, where technologies and best practices are changing rapidly and demand for qualified candidates significantly exceeds supply.
Learn more at: https://www.simplilearn.com?utm_campaign=AccentureInterviewQuestionsAndAnswers&utm_medium=Description&utm_source=youtube
For more information about Simplilearn courses, visit:
- Facebook: https://www.facebook.com/Simplilearn
- Twitter: https://twitter.com/simplilearn
- LinkedIn: https://www.linkedin.com/company/simp...
- Website: https://w
Dear All,
As we know very well that Microsoft .Net world is moving towards .Net core on a fast track and it's the right time for us to upgrade our technical skills to ASP.Net Core 2.0.
To help you out in making you remain up to date in the competitive world of IT. We will be conducting a free webinar on how to create a live project using ASP.Net Core 2.0 MVC and Entity Framework Core 2.0 Code First approach.
Complete ASP.Net MVC Course Bundle With Live Project Just for $15 : https://www.manzoorthetrainer.com/p/the-complete-asp-net-mvc-web-developer-course-bundle/?coupon_code=WEBINAR15
Live Online Training - The Complete ASP.Net Core 2.0 MVC With Live Project for $449 (Save $250) : https://www.manzoorthetrainer.com/p/live-online-training-the-complete-asp-net-mvc-5-with-live-project/?coupon_code=WEBINAR250
Kindly Leave your Reviews Here : https://bit.ly/2LTutfK
Yes! TypeScript is the base for Angular2+ , If you want to enter into the world of Angular2, 4, 5, ... then the first step is to understand TypeScript.
I am going to make it very simple for you to learn and implement it.
Q : Are you really excited to learn how to develop an n-Tier arch web application using Angularjs, Asp.Net Web API, jQuery, Bootstrap, C#.Net, Entity Framework Code First and MS SQL Server?
A: Then you are at right place and you are going to learn it here with me from scratch..
In this course we are going to learn how to break requirements into objects and find relation among them. We will then learn coding models out of this objects and relationships. Moving forward we will also see how to design arch. of the project and implement various layers.
We are going to learn implementation of business object layer using POCO and data access layer using repository design pattern and Entity Framework Code First. We will use C#.Net to implement our business logic layer and wrap it up with Asp.Net Web API so that it can be consumed by any client. We are also going to secure our web apis.
For user interface we will see Angularjs, jQuery and Bootstrap. We will learn how bootstrap makes our application responsive.We will also see how to implement custom sorting and paging. Moving ahead you will learn forms validations and business rules validations as well. We will also learn how to publish it on web.
This project is an EIS - Employee Information System
This Web-based information system is designed to allow you to view and maintain your employee information throughout the year. You should use this system to maintain your complete information on employee record.
This is an n-tier Single Page Application (SPA) built on .Net platform using various technologies for various layers as given below
User Interface: AngularJS1 and BootStrap
Service Layer: Asp.Net Web API
Business Logic Layer: C#.Net
Data Access Layer: Entity Framework Code First
Back End: MS SQL Server 2016
Tools: Visual Studio 2015 and SQL Server Management Studio 2016
What are the requirements?(Should be good at)
MS Sql Server Any version
Entity Framework 6
Asp.Net Web APIs 2
C#.Net
AngularJS
Visual Studio 2015 or above
What am I going to get from this course?
understand how to break requirements in to objects
create entities out of objects
implement data access layer using entity framework code first approach with repository pattern
manage data migrations in entity framework
implement business logic layer using c#net
create service layer using ASP.Net web apis
create UI using angularjs, bootstrap and jquery
implement validations both client side and server side
implement authentication and authorization both on client side and sever side
What is the target audience?
This course is for the web developers who want to learn layered architecture in SPA
Who wants to upgrade their profile with another real time SPA
This course is for the web developers who want to learn layered architect.
Enroll Here --> https://goo.gl/xBJMA5 (50% OFF) Video Course
Do you know that all the web client frameworks are based on JavaScript?
Like AngularJS, ReactJS, NodeJS, etc., So, now it is the time for you to not only build a strong base in JavaScript basic programming but also to understand the basics of object oriented programming using JavaScript.
Yes, the buzzword of the market that is TypeScript and AngularJS2+ are completely based on oops through the JavaScript.
When it comes to the passing data from a client to the server then JSON formatted data is the hero, which again reminds the object or collection of objects of JavaScript.
Now no way to escape from learning JavaScript, if you want to stick to web technology with any platform whether it is Microsoft or Java or PHP or anything else.
So, no worries! we made it dam simple for you to master it :)
Enroll Here --> https://goo.gl/xBJMA5 (50% OFF) Video Course
Do you know! what ever you see on a website in your browser is purely html and css. If you are really interested in learning website development using any technology weather it is Asp.Net, Java or Php, the basic thing that you should know is HTML and CSS. More over if you want to develop your own static website with contact us form then this course teaches you the best.
In this course we will start with the concept why we need HTML then we dive into tags river and will cover comments, page information, document structure, links, text markup, lists, forms and images. We take start of css with why and goes for various types of styling techniques in web design and move ahead with various selectors and design a beautiful menu from scratch and finally end with designing and hosting a static web site.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
A tale of scale & speed: How the US Navy is enabling software delivery from l...sonjaschweigert1
Rapid and secure feature delivery is a goal across every application team and every branch of the DoD. The Navy’s DevSecOps platform, Party Barge, has achieved:
- Reduction in onboarding time from 5 weeks to 1 day
- Improved developer experience and productivity through actionable findings and reduction of false positives
- Maintenance of superior security standards and inherent policy enforcement with Authorization to Operate (ATO)
Development teams can ship efficiently and ensure applications are cyber ready for Navy Authorizing Officials (AOs). In this webinar, Sigma Defense and Anchore will give attendees a look behind the scenes and demo secure pipeline automation and security artifacts that speed up application ATO and time to production.
We will cover:
- How to remove silos in DevSecOps
- How to build efficient development pipeline roles and component templates
- How to deliver security artifacts that matter for ATO’s (SBOMs, vulnerability reports, and policy evidence)
- How to streamline operations with automated policy checks on container images
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
Epistemic Interaction - tuning interfaces to provide information for AI supportAlan Dix
Paper presented at SYNERGY workshop at AVI 2024, Genoa, Italy. 3rd June 2024
https://alandix.com/academic/papers/synergy2024-epistemic/
As machine learning integrates deeper into human-computer interactions, the concept of epistemic interaction emerges, aiming to refine these interactions to enhance system adaptability. This approach encourages minor, intentional adjustments in user behaviour to enrich the data available for system learning. This paper introduces epistemic interaction within the context of human-system communication, illustrating how deliberate interaction design can improve system understanding and adaptation. Through concrete examples, we demonstrate the potential of epistemic interaction to significantly advance human-computer interaction by leveraging intuitive human communication strategies to inform system design and functionality, offering a novel pathway for enriching user-system engagements.
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
GraphRAG is All You need? LLM & Knowledge GraphGuy Korland
Guy Korland, CEO and Co-founder of FalkorDB, will review two articles on the integration of language models with knowledge graphs.
1. Unifying Large Language Models and Knowledge Graphs: A Roadmap.
https://arxiv.org/abs/2306.08302
2. Microsoft Research's GraphRAG paper and a review paper on various uses of knowledge graphs:
https://www.microsoft.com/en-us/research/blog/graphrag-unlocking-llm-discovery-on-narrative-private-data/
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Monitoring Java Application Security with JDK Tools and JFR Events
MS.Net Interview Questions - Simplified
1.
2.
3. 109 .NET Interview Questions
1
www.ManzoorTheTrainer.com
Why are most of the CSE and IT engineers jobless?
As soon an average 10+2 student gets an
admission in any engineering college for IT
branch he feels on top of the world and spreads
the news to all his relatives that he is going to be
a software engineer soon.
He starts enjoying the engineering life. But,
slowly he feels that few lecturers are not
teaching well and don’t have few lecturers at all.
Always there will be two subjects as tough on top
of their list i.e., Maths and CDS (C and Data
Structures).........
Read more at http://goo.gl/wsRq5o
Who is responsible and what is the solution for jobless engineers?
When this question is asked to engineers they
blame lecturers, HOD and college management.
When we turn this question to lecturers, HOD
and college management they blame students
(that they haven’t attended the classes) and the
training institutions (that they haven’t taught
them well in their final sem project). When the
same question is asked to training institutions
they blame students, lecturers, HOD, college
management and they add one more object i.e.,
IT market and says IT market is down these days
due to blaa–blaa in USA.........
Read more at http://goo.gl/QhxDmd
4. 109 .NET Interview Questions
2
www.ManzoorTheTrainer.com
Table of Content
About the Author.………………………………………………………………………………………… 3
About the Technical Reviewers……………………………………………………………………... 4
Chapter 1 : MS SQL Server (Q1 – Q19) ……………….………………………………………… 5
Chapter 2 : MS.NET Framework (Q20 – Q27)……………………….…………………………. 8
Chapter 3 : C#.NET (Q28 – Q67)…………………………………………………………………. 10
Chapter 4 : ASP.NET (Q68 – Q98)……………………………………………………………….. 18
Chapter 5 : ADO.NET (Q99 – Q109) ……………………………………………………………. 25
5. 109 .NET Interview Questions
3
www.ManzoorTheTrainer.com
About the Author
ManzoorTheTrainer – MCTS, MCPD and MCT. Planning
for Ph.D in the domain of Middleware Technologies with over 14+
years of teaching and over 8+ years of Development Exp. Has an
excellent track record as one of the best IT faculty in imparting
technology. Makvin's Ace Trainer who believes in giving the real
essence of technology to the learner this uniqueness has made
me earn a strong foothold in the IT Training Industry.
Microsoft Certified Professional Profile (MCP)
Founder of ManzoorTheTrainer
6. 109 .NET Interview Questions
4
www.ManzoorTheTrainer.com
About the Technical Reviewers
I am really thankful to Almighty and all the followers of my video training portal
www.ManzoorTheTrainer.com and encouraging me to take a step of writing a technical
Interview Questions book on MS.Net i.e., “109 .NET Interview Questions”.
I am thankful to Mr. Satish Kumar Mandava, my colleague having 6+ yrs of .NET expertise for reviewing
this book and giving feedbacks for betterment.
7. 109 .NET Interview Questions
5
www.ManzoorTheTrainer.com
Chapter 1: MS-SQL Server
Q1. What is Relation in RDBMS?
Ans:
● A table in a database is called as relation.
Q2. What is Tuple?
Ans:
● A Row of a table in database is called as tuple.
Q3. What is RDBMS?
Ans:
● DBMS is a layer of abstraction between application and database.
● Application interact with the Database via DBMS using Structure Query
Language(SQL).
● If the database is logically in the form of tables i.e., relation then we call this
DBMS as RDBMS.
Q4. What is Primary Key?
Ans:
● Primary Key is a column of a table which is used to identity a row uniquely.
● Primary Key cannot have NULL values.
● Primary Key cannot have duplicate values.
Q5. What is Unique Key ?
Ans:
● Unique Key is a column in a table which does not allow duplicate values like
primary key.
● It allows one and only one NULL values.
● A table can have one and only one primary key.
● A table can have one or more unique keys.
Q6. What is Foreign key ?
Ans:
● Foreign key is a column of one table which refers to the Primary Key column of
another table.
● It allows NULL values.
● It allows Duplicate values.
8. 109 .NET Interview Questions
6
www.ManzoorTheTrainer.com
Q7. What is use of Group by clause ?
Ans:
● Group by clause is used to display data by combining or grouping one or more
columns.
● Group by clause is always is used in combination with Aggregate Functions.
● Basically Group By clause comes after Where Clause and before Having Clause.
● The typical order of clauses in a query is WGHO (W-Where, G-Group By, H-
Having, O-Order By) in most of the queries
Q8. What is Having Clause ?
Ans:
● Having clause is similar to where clause.
● Having clause is used to filter the column generated by aggregate functions.
● As where clause cannot be used with aggregate functions.
Q9. What is the use of DateDiff and DateAdd Functions ?
Ans:
● DateDiff Function is used to find the difference between two dates in terms of
years or months or days or hours or minutes or seconds or milliseconds.
● DateAdd Function is used to generate a new date from a specific date by adding
or subtracting years or months or days or hours or minutes or seconds or
milliseconds.
Q10. What is Join ?
Ans:
● Join is a Clause used to extract the data from two or more tables based on a
specific columns or Primary - Foreign Key relationship
● There are various Joins like Inner Join, Left Outer Join, Right Outer Join, Full
Outer Join,Self Join.
Q11. What is Inner Join ?
Ans:
● Inner join is a join to get data based on matched rows from left table and
matched rows from right table.
Q12. What is Left Outer Join ?
Ans:
● Left Outer join is a join to get all the rows from left table and matched rows from
right table.
9. 109 .NET Interview Questions
7
www.ManzoorTheTrainer.com
Q13. What is Right Outer Join ?
Ans:
● Right Outer join is a join to get matched rows from left rable and all rows from
right table.
Q14. What is Full Outer Join ?
Ans:
● Full Outer join is Join to get all rows from left table and all rows from right table.
Q15. What is Self Join ?
Ans:
● Self join is Join which is applied on same table.
● Joining a table with itself with different table aliasing.
Q16. What is Stored Procedure ?
Ans:
● Stored Procedure is precompiled set of one or more SQL statements which
performs some specific task.
● Store Procedure should be executed stand alone using EXEC.
● Store Procedure can return multiple parameters.
● Store Procedure can be used to implement transaction.
Q17. What is Functions ?
Ans:
● A Functions is a section of code that performs an independent task.
● Function cannot be executed stand alone, it is always used in a query like with
select clause.
● Functions can return one and only one parameter.
● We cannot implement transaction using functions.
Q18. What is Transaction?
Ans:
● Transaction is a set of operation (SQL Queries) which must be executed as a
group.
● If at all a single operation is failed then all the previous operation of that group
must be rolled back i.e., undone.
Q19. What is Scope_Identity() function?
Ans:
● Scope_Identity function returns the recent generated identity value (that is auto
incremented values) for that particular scope i.e., user.
10. 109 .NET Interview Questions
8
www.ManzoorTheTrainer.com
Chapter 2: MS.Net Framework
Q20. What is dotnet framework?
Ans.
● Dotnet framework is a language neutral platform which is used to develop any
kind of application like web application, windows application,mobile application,
web services, etc.,
● It is called as language neutral because multiple programming languages uses the
same class library which is called as frame class library or base class library.
● Latest version of .Net as on DEC 2013 is 4.5
Q21. What is CLR ?
Ans.
● CLR stands for common language runtime and it provides a runtime environment
for dotnet applications.
● It supports memory management,exception management,type safety, code
management, MSIL to native code conversion.
Q22. What is MSIL or assembly or component ?
Ans.
● MSIL stands for Microsoft Intermediate Language.
● The compiled version of c# code is called as assembly or MSIL or IL or
component.
Q23. What is the difference between exe and dll ?
Ans.
● .exe and dll are the compiled version of c# code which are also called as
assemblies.
● .exe is a stand alone executable file, which means it can executed directly.
● .dll is a reusable component which cannot be executed directly and it requires
other programs to execute it.
11. 109 .NET Interview Questions
9
www.ManzoorTheTrainer.com
Q24. What is JIT compiler?
Ans.
● JIT stands for just in time compiler.
● It is major component of CLR which is responsible for converting MSIL (microsoft
intermediate language) to native code.
● Native code is basically is a binary code which is understood by windows
operating system.
Q25. what is CLS ?
Ans.
● CLS stands for common language specification.
● It is a set of rules followed by a programming language which allow them to use
dotnet framework class library or base class library or class library.
Q26.what is CTS ?
Ans.
● CTS stands for common type system.
● These are standard data types defined for all the programming language
supported by dotnet framework It is subset of CLS.
Q27.What is GC ?
Ans.
● GC stands for garbage collection.
● It is the program or part of a program called thread that runs in background of
the application to free the memory occupied by the unused objects.
● It is also a major component of CLR.
12. 109 .NET Interview Questions
10
www.ManzoorTheTrainer.com
Chapter 3: C#.Net
Q28. What is object ?
Ans:
● Any real time entity is called as an object.
● Every object consist of state(look and feel) and behaviour(what is does).
● States are called as fields and behaviors are called as methods.
Q29. What is a class ?
Ans:
● Class is a blueprint of an object.
● It consist of fields which are not allowed to access from outside the class.
● It also consist of methods which are allowed to access from outside the class.
Q30. What are access modifiers ?
Ans.
● Access modifiers are the modifiers given to fields or methods to implement access
restrictions.
● If a member of a class (fields or methods) is declared as public it can be accessed
from outside of the class.
● If a member of a class(fields or methods) is declared as private it can not be
accessed from outside the class.
Q31. What is the difference between value type and reference type ?
Ans.
● Value type are the data type variables for which the memory is allocated at
compile time.
● This concept is also called as early binding or static binding.
● Reference type are the data type variable for which the memory is allocated at
runtime.
● This concept is also called as late binding or dynamic binding
13. 109 .NET Interview Questions
11
www.ManzoorTheTrainer.com
Q32. What is constructor?
Ans.
● Constructor is a special method which has same name as class name.
● It does not have return type, but can have parameters.
● It should be public; in some situations it can be private.
● Default Constructor of a class is without any parameters.
● Constructor is invoked automatically when we create an object.
● You cannot invoke constructor explicitly.
Q34. What is the use of constructor?
Ans:
● Constructor is used to initialize the object.
Q35: What is constructor overloading?
Ans:
● If we have more than one constructor in a class with different parameters then
we called it as constructor overloading.
Q36: What is Method overloading?
Ans:
● If in a class there is more than one method, with the same name but different
parameters then we call this as method overloading.
Q37. What is compile time or static polymorphism?
Ans:
● In method Overloading the code for the method is generated at compile time
itself. Hence it is called as static polymorphism.
Q38. What is this keyword?
Ans:
● this keyword is a default object of current class.
● In what ever class we use “this” keyword it acts like its object
Q39. What is the use of this keyword?
Ans:
● ‘this’ keyword has two uses.
● ‘this’ keyword is used to refer the members of same class.
● It is also used to invoke a constructor from another constructor of the same class.
14. 109 .NET Interview Questions
12
www.ManzoorTheTrainer.com
Q40. What is static variable?
Ans:
● Static variable is a variable which is declared by static keyword.
● Static variable is global for all the objects of that class in which it is declared.
● Memory for static variable is allocated at compile time and it is allocated only
once.
● All the objects of that class can access that variable or same memory location.
● Static variable cannot be access with the object we can access static variable
directly with the class name.
Q41. What is static constructor?
Ans:
● Static constructor is a constructor which is declared with the keyword as static.
● Static constructor is use to initialize static variables (private).
● Static constructor does not have any access modifiers (i.e,Public,Private).
● Static constructor is parameter less.
● There can be one and only one static constructor in a class.
● Static Constructor is invoked before creation of any object.
Q42. What is static method?
Ans:
● Static method is a method which is declared with the keyword static.
● There can be n number of static methods in a class.
● Static methods can access only static variables.
● Static method can access by Class name.
Q43. What is static class?
Ans:
● Static class is a class which is declared with static keyword.
● Static class should contain only static methods.
● Static class does not allow creation of class reference or object
15. 109 .NET Interview Questions
13
www.ManzoorTheTrainer.com
Q44. What is a property?
Ans:
● Properties are special kind of methods to access any field in a secured way.
● It contains two kind of methods i.e., getter and setter
● Getter method is to read the value of the private field
● Setter method is to write the value of the private field
● It looks like we are accessing the fields directly. But, internally it works as
methods where we can perform some kind of validations
Q45. What is Namespace?
Ans:
● Namespaces are logical group of classes and namespaces.
● It is used for avoiding name clashes between two sets of code.
Q46. What is inheritance?
Ans:
● Deriving a new class from an existing class is called Inheritance
● The class from which other classes derive fundamental functionality is called a
● base class.
● The class which derives functionality from a base class is called a derived class.
Q47. What is single inheritance?
Ans:
● If a derived class has a single base class then it is called as single inheritance
● i.e., A(Base) → B (Derived)
Q48. What is multi level inheritance?
Ans:
● If a class is derived from a class which is already a derived class then it is called
as multi level inheritance.
● i.e., A(Base) → B (Derived) → C(Derived)
Q49. What is multiple inheritance?
Ans:
● If a class is derived from more than one class then it is called as which is already
a derived class then it is called as multiple inheritance.
● i.e., A(Base) → B (Derived) → C(Derived)
● C# does not support multiple inheritance using classes.
16. 109 .NET Interview Questions
14
www.ManzoorTheTrainer.com
Q50. What is base keyword?
Ans:
● base keyword is a default object of its base class.
● In what ever class we use “base” keyword it acts like an object of its base class.
Q51: What is the use of base Keyword?
Ans:
● base keyword has two uses
● base keyword is used to invoke a constructor of base class from the constructor of
derived class. It is also called as constructor chaining.
● It is also used to refer the members of base class from derived class.
Q52: What is method overriding?
Ans:
● If a method in the derived class has the same signature as that of in the base
class with different implementation then we say that method in the derived class
overrides the method of base class. This process is called as Method Overriding.
● The method of the base class should be declared as virtual and method in derived
class should be declared as override.
Q53: What is a virtual method?
Ans:
● A virtual method is the method which is declared with the keyword virtual and it
can be overridden by the derived class method by using override keyword.
● Its unto the derived class weather to override it or not.
Q54: What is a sealed method?
Ans:
● A sealed method is a method which is declared with the keyword sealed and it
cannot be overridden by the derived class.
● But we can invoke this method.
● Sealed keyword is always used in combination with override keyword.
Q55: What is a sealed class?
Ans:
● A sealed class is the class which is declared with the keyword sealed and it cannot
be derived by other classes.
● But we can create the objects of sealed class.
17. 109 .NET Interview Questions
15
www.ManzoorTheTrainer.com
Q56: What is method hiding?
Ans:
● If a method in the derived class has the same signature as that of in the base
class with different implementation then we say that method in the derived class
hides the method of base class. This process is called as Method Hiding.
● The method of the base class should be not be declared as virtual and method in
derived class should be declared as new.
● We cannot implement runtime polymorphism using method Hiding.
Q57: What is abstract method?
Ans:
● An abstract method is a method which is declared with the keyword abstract.
● It does not have body.
● It should be implemented by the derived class.
● If a method is abstract then the class should be abstract.
Q58: What is abstract class?
Ans:
● It is the blue print of the problem.
● It says what to do but not how to do.
● An abstract class is the class which is declared with the keyword abstract.
● Basically it contains at least one abstract method.
● It’s object cannot be created.
● But it’s reference can be created.
● It is used to implement runtime polymorphism.
Q59: What is runtime or dynamic polymorphism?
Ans:
● Deriving the abstract class by one or more classes and overriding all the abstract
methods.
● Creating the reference of abstract class and making it an object of derived class
based on user’s input.
● And calling the method of abstract class.
● The method’s code gets generated from derived class at runtime based on user’s
input.
● This complete process is called as runtime polymorphisms.
18. 109 .NET Interview Questions
16
www.ManzoorTheTrainer.com
Q60: What is interface?
Ans:
● An interface is a pure abstract class.
● It is a reference type and it contains only abstract members.
● Interface's members can be
○ Events
○ Methods
○ Properties
○ Indexers.
● Any implementation must be placed in class that implements them.
● The interface can't contain
○ Constants
○ Data fields
○ Constructors
○ Destructors
○ Static members.
● All the member declarations inside interface are implicitly public and abstract.
● We can implement multiple inheritance using interfaces.
Q61: What is a namespace?
Ans:
● Namespaces are logical segregation of classes and namespaces.
● Namespaces allows you to organize your classes.
● They also provide assistance in avoiding name clashes between two sets of code.
Q62: What is a partial class?
Ans:
● Partial class is a class which is declared with partial keyword.
● Its implementation can be spread over multiple files i.e., multiple classes prefixed
with partial keyword with same name and different methods in different files, acts
as a single class with all the methods.
19. 109 .NET Interview Questions
17
www.ManzoorTheTrainer.com
Q63: What is a collections?
Ans:
● To store multiple fixed number of elements or objects we use arrays.
● Collection is an alternate way of storing multiple variable number of elements or
objects.
● Like Stack, Queue, List , etc., are collection classes present in System.Collection
namespace
● There is no type safety in collection classes i.e., in a collection object of a Queue
we can store few integers and few strings.
● We need to type cast the elements while accessing it.
Q64: What is generic collection class?
Ans:
● Generic collection is an alternate way of storing multiple variable number of
elements or objects.
● Like Stack, Queue, List , etc., are generic collection classes present in
System.Collection.Generic namespace
● There is type safety in generic collection classes i.e., in a generic collection object
of a Queue we cannot store few integers and few strings. Hence it is strongly
typed.
● We need not to type cast the elements while accessing it.
Q65: What is exception and how do we handle it?
Ans:
● Runtime error is called as an exception.
● Exception handling is an in built mechanism in .NET framework to detect and
handle runtime errors.
● C# provides three keywords try, catch and finally to do exception handling.
● The try encloses the statements that might throw an exception.
● The catch handles an exception if one exists.
● The finally can be used for doing any clean up process.
Q66: What is delegate?
Ans:
● A reference to a method is called as delegate.
Q67: What is event?
Ans:
● Any action performed is called as event.
● Events are handled with the help of delegates.
20. 109 .NET Interview Questions
18
www.ManzoorTheTrainer.com
Chapter 4: ASP.Net
Q68: What is Asp.Net page lifecycle?
Ans:
● When we request an ASP.NET page, the page goes through a life cycle in which it
performs a series of processing steps.
○ Page request → Checks whether a cached version of the page can be sent
in response without running the page.
○ Start → Sets the page properties such as Request, Response, IsPostBack
and UICulture.
○ Initialization → Each control's UniqueID property is set. A master page
and themes are also applied to the page if applicable.
○ Load → During load, if the current request is a postback, control properties
are loaded with information recovered from viewstate and control state.
○ Postback event handling → If the request is a postback, control event
handlers are called.
○ Rendering → Before rendering, view state is saved for the page and all
controls. During the rendering stage, the page calls the Render method for
each control.
○ Unload → The Unload event is raised after the page has been fully
rendered and page properties such as Response and Request are unloaded
and cleanup is performed.
● We have various events that a page undergoes during the above processing steps
like PreInit, Init, InitComplete, PreLoad, Load, etc.,
Q69: What is IsPostBack property?
Ans:
● It is a property which tells us whether the page is being loaded for the first time
or is being loaded in due to a postback.
● i.e.,if IsPostBack is false then it is being loaded for the first time else it is being
loaded due to a postback
21. 109 .NET Interview Questions
19
www.ManzoorTheTrainer.com
Q70: What is server control?
Ans:
● Any control with runat attribute set to “server” is a server control.
● Basically it is the job of asp.net web server to convert server control into its
equivalent html control.
Q71: What is a validation control?
Ans:
● Any control which is used to validate the fields of the form is called as a validation
control.
● i.e., RequiredFieldValidator, RangeValidater, etc.,
Q72: What is the validation control used to validate date?
Ans:
● Compare Validator by setting type property to “Date”.
● We can also achieve this at client side by setting the TextMode of a textbox to
“Date” which is an HTML5 feature.
Q73: What is authentication?
Ans:
● Checking the genuinity of a user is called as authentication.
● Like asking username and password
Q74: What is windows authentication?
Ans:
● Checking the genuinity of a user using the login credentials of windows OS is
called as windows authentication.
● i.e., there will no separate window for username and password.
● By default our web apps are set to windows authentication.
Q75: What is forms authentication?
Ans:
● Checking the genuinity of a user using separate login credentials is called as
forms authentication.
● i.e., there will be a separate form for username and password.
● We can set forms authentication by setting the mode attribute of Authentication
tag in web.config
● i.e.,<system.web> <authentication mode="Forms" /> </system.web>
22. 109 .NET Interview Questions
20
www.ManzoorTheTrainer.com
Q76: What is authorization?
Ans:
● Giving access rights to a user after authentication is called Authorization.
● It is basically achieved with the help of roles.
Q77: What is gridview and can we perform insert operation in a gridview?
Ans:
● It is visual representation of a table on web page where each column represents a
field and each row represents a record.
● The GridView control enables you to select, sort, delete and edit these items.
● It does not provide Insert operation.
Q78: What is the process or the event used to display sum of a column in a
grid footer?
● We can perform the sum while gridview is loading by writing the code in
RowDataBound event.
● GridView.RowDataBound event occurs when every row is bound to gridview.
Q79: What is the process of adding dropdown list in a gridview column?
● Gridview allows us to add template columns and we can use that to add dropdown
list, textbox, radio button list or any server control as column.
● Or we can also convert an existing column into a template column and change it
to drop down list.
Q80: What is a user control?
● Some time you may need functionality in a control that is not provided by the
built-in ASP.NET Web server controls.
● In this case you can create your own controls called as User controls.
● User controls are combination of various Web server controls and some code
implemented for it.
● You can then treat the user control as new control and use on any page by
dragging and dropping it from project folder.
Q81: What is a master page?
● A single page which contains the common content of all the pages or group of
pages.
● Like header, menu and footer is common on all the pages and can go into master
page.
23. 109 .NET Interview Questions
21
www.ManzoorTheTrainer.com
Q82: What is state management?
Ans:
● HTTP is a stateless protocol i.e., Server will not maintain the state of the client.
● In simple terms we cannot carry any value or data from one post back to another
post back on same page or different pages by default.
● To achieve this we follow some techniques called as state management
techniques.
Q83: What is client side state management?
Ans:
● To carry any value or data from one post back to another post back on same page
or different pages we store that data on client machine or computer.
● To achieve this we follow some techniques called as client side state management
techniques.
● Following are client side state management techniques Cookies, QueryStrings
(URL), Hidden fields and View State.
Q84: What is a cookie variable?
Ans:
● A cookie is a small piece of text stored on user's computer. Usually, information is
stored as name-value pairs.
● Can be used to carry the value throughout the application.
● If you want to store information use the below code
○ Response.Cookies["UserId"].Value=username;
● If you want to retrieve information use the below code
○ string username = Request.Cookies["UserId"].Value;
Q85: What advantages and disadvantages does a cookie variable has?
Ans:
● Advantages:
○ Simplicity
● Disadvantages:
○ Cookies can be disabled on user browsers.
○ Cookies are transmitted for each HTTP request/response causing overhead
on bandwidth
○ Inappropriate for sensitive data
24. 109 .NET Interview Questions
22
www.ManzoorTheTrainer.com
Q86: What is query string?
Ans:
● A query string is the part of a URL that contains data to be passed from one page
to another page.
● Can be used to carry the value from one page to another page.
● They are passed along with URL in clear text which can be encrypted.
● If you want to pass data using query string use the below code
○ Response.Redirect(“productdetails.aspx?productid=4”)
● If you want to retrieve data from query string use the below code
○ productid=Request.Params["productid"];
Q87: What advantages and disadvantages does a Query string has?
Ans:
● Advantages:
○ Simple to Implement
● Disadvantages:
○ Human Readable
○ Client browser limit on URL length
○ Easily modified by end user
Q88: What is hidden field?
Ans:
● Hidden field is just like a standard control for which you can set its properties.
● Whenever a page is submitted to server, hidden fields values are also posted to
server along with other controls on the page.
● Can be used to carry the value on the same page between different postbacks.
● As its name says, these fields are not visible on the page.
Q89: What advantages and disadvantages does a hidden field has?
Ans:
● Advantages:
○ Simple to implement for a page specific data
○ Can store small amount of data so they take less size.
● Disadvantages:
○ Inappropriate for sensitive data
○ Hidden field values can be intercepted(clearly visible) when passed over a
network
25. 109 .NET Interview Questions
23
www.ManzoorTheTrainer.com
Q90: What is viewstate variable?
Ans:
● View State is the default feature of Asp.net server controls.
● Can be used to carry the value or data on the same page between different
postbacks.
● If you want to store data in ViewState use below code
○ ViewState["myviewstate"] = myValue;
● If you want to read data from ViewState use below code
○ Response.Write(ViewState["myviewstate"]);
Q91: What advantages and disadvantages does a viewstate variable has?
Ans:
Advantages:
● Simple for page level data
● Encrypted
● Can be set at the control level
Disadvantages: –
● Overhead in encoding ViewState values
● Makes a page heavy
Q92: What is server side state management?
Ans:
● To carry any value or data from one post back to another post back on same page
or different pages we store that data on server machine or computer.
● To achieve this we follow some techniques called as server side state
management techniques.
● Following are server side state management techniques Session Variables,
Application Variables.
Q93: What is session state variable?
Ans:
● ASP.NET session state enables you to store and retrieve values for a user.
● Can be used to carry the value throughout the application.
● If you want to store data in Session State use below code
○ Session["mydata"] = myValue;
● If you want to read data from ViewState use below code
○ Response.Write(Session["mydata"]);
26. 109 .NET Interview Questions
24
www.ManzoorTheTrainer.com
Q94: What advantages and disadvantages does a session variable has?
Ans:
● Advantages:
○ Fastest mode
○ Simple configuration
● Disadvantages:
○ Session data will be lost if the worker process or application domain
recycles.
Q95: What is Application state variable or Application object?
Ans
● Application state variable is used to store data which is visible across entire
application and shared across multiple users.
● Data which needs to be persisted for entire life of application should be stored in
application object.
● It's a great place to store data which does not changes frequently.
● We should write to application variable only in Application_Start event.
● If you want to store data in Application variable use below code
○ Application.Lock();
○ Application["mydata"]="mydata";
○ Application.UnLock();
● If you want to read data from Application variable use below code
○ Response.Write(Application["mydata"]);
Q96: What advantages and disadvantages does an application variable has?
Ans:
● Advantages of using application state are:
○ Simple implementation.
○ A single copy of the information for all users to access.
● Disadvantages of using application state are:
○ Application state will be lost if the Web server process containing it is crash,
upgrade, or shutdown.
○ Application state requires server memory, which can affect the performance
of the server.
27. 109 .NET Interview Questions
25
www.ManzoorTheTrainer.com
Q97: What is global application class?
Ans:
● It is a class which contains global events of the application like Application_Start,
Application_End, Application_Error, Session_Start, Session_End, etc.,
● We can perform some specific tasks in those events.
● We can have one and only one global application class in a web application.
Q98: What is web.config file?
Ans:
● It is an xml file which contains the configuration settings of the web application
like target framework version, connection string, authentication type, providers,
smtp settings, etc.,
● We can have multiple web.config files in a web application i.e., one for each folder
to give access rights to that folder.
● We need not compile the complete project if we want the changes of web.config
file to reflect in the application.
28. 109 .NET Interview Questions
26
www.ManzoorTheTrainer.com
Chapter 5: ADO.Net
Q99: What is Ado.Net?
Ans:
● Ado stands for Active Data Objects.
● It is a data access component for .Net application.
● i.e., It contains a set of class that can be used to access data from the database
like SqlConnection, SqlCommand, etc.,
Q100: What is connection string?
Ans:
● A connection string is a string used to connect to the database.
● The major parts of connection string are
○ Data Source (i.e.,Sql Server Name)
○ Initial Catalog (i.e.,Database Name)
○ Security
■ Integrated (Uses windows authentication)
■ Sql Server (Separate User ID and Password)
Q101: What is ADO.Net data provider?
Ans:
● The ADO.NET Data Provider model provides an interface in the .NET Framework
for accessing data from various data bases.
○ For SQL Server provider is System.Data.SqlClient (Inbuilt)
○ For Oracle provider is System.Data.OracleClient (Third Party)
○ For MySql provider is System.Data.MySqlClient (Third Party) , etc.,
Q102: What is connected architectural data access?
Ans:
● The architecture in which as long as we perform the operations on the database
we keep the connection open and once operations are done then the connection is
close. Such architecture is called as connected architecture.
● SqlDataReader works on connected architecture.
Q103: What is SqlDataReader?
Ans:
● SqlDataReader is a class which works on connected architecture.
● It is used to read the data from database after executing the command.
29. 109 .NET Interview Questions
27
www.ManzoorTheTrainer.com
● It reads one row after the other in the form of stream of bytes (0s and 1s)
● It is read only (You cannot edit the record which is in datareader)
● It is forward only (You cannot read the data once it is used)
Q104: What is disconnected architectural data access?
Ans:
● The architecture in which we open the connection initially then load the data in an
object(Dataset) and close the connection. (Achieved with the help of
SqlDataAdapter).
● Now we can perform the CRUD operations on the object which is not connected to
database.
● Finally we update the object to the database after performing
operations.(Achieved with the help of SqlDataAdapter)
● Such architecture is called as disconnected architecture.
● Dataset works on connected architecture.
Q105: What is DataSet?
Ans:
● Dataset is collection on datatables and xml files.
● Tables and xml files in dataset are stored in the form of an array.
● We can perform insert, update, Delete and select operations on dataset.
● Dataset works on disconnected architecture.
Q106: What is SqlDataAdapter?
Ans:
● SqlDataAdapter is a class which is responsible for opening the connection and
loading the data in an object(Dataset) and close the connection (i.e.,Filling the
dataset).
● It is also responsible for updating the dataset to the database after performing
operations.
● SqlDataAdapter falls under connected architecture and used for implementation
disconnected architecture.
Q107: What is untyped DataSet?
Ans:
● When dataset is filled with datatable only data and table structured is copied but
constraints are not applied on it. i.e., unique key, primary key, foreign key, etc.,
● If you want you can create the constraints manually.
● Such a dataset is called as untyped dataset.
30. 109 .NET Interview Questions
28
www.ManzoorTheTrainer.com
Q108: What is typed DataSet?
Ans:
● A dataset which has all the constraints(i.e., unique key, primary key, foreign key,
etc.,) defined on it with the help of xml file i.e., xsd (xml schema definition) is
called as typed dataset.
● In other words a dataset with xsd file is called as typed dataset.
Q109: What is transaction and how do we implement transaction in Ado.net?
● Transaction is a set of operation(SQL Queries) which must be executed as a
group.
● If at all a single operation is failed then all the previous operation of that group
must be rolled back i.e.,undone.
● We can implement transactions in ado.net using SqlTransaction class by calling
BeginTransaction on the SqlConnection object.
● Committing or aborting the transactions are performed on the SqlTransaction
object.
Thanks And All The Best For Your Interviews