Skip to main content

Don't Attend Interview Without Knowing Answers for This 10 .NET Interview Questions

dot net
Life cycle of an ASP .NET page.

  • Stage Events/Method
  • Page Initialization Page_Init
  • View State Loading LoadViewState
  • Postback data processin LoadPostData
  • Page Loading Page_Load
  • PostBack Change Notification RaisePostDataChangedEvent
  • PostBack Event Handling RaisePostBackEvent
  • Page Pre Rendering Phase Page_PreRender
  • View State Saving SaveViewState
  • Page Rendering Page_Render
  • Page Unloading Page_UnLoad



1) Explain the .NET architecture.
a) All .Net supported Languages
b) Common Language specification
c) Windows forms / web pages
d) ADO.Net / web services
e) Base class library
f) Common language runtime
g) Operating system.

2) How does u create multiple inheritances in c# and .net?Multiple inheritances are created by using interfaces.

3) When web.config is called ?Web.config is an xml configuration file.this never gets called directly unless we need to retrieve the configuration setting.

4) How many weg.configs a application can haveone.

5) How does u set language in weg.configa) set the ‘defaultlanguage’ attribute.

6) What does connection string consists ofa) connection string consist of : server name, userid , password , database name.

7) Where do u store connection stringa) connection string can stored in web.config file under configuration / connection string tab.

8) What is abstract class?Abstract class is a class which cannot be instantiated but inherited by derived classes. This class contains abstract as well as non-abstract methods and members.

9) What is diff b/w interface inheritance and class inheritanceA class can have multiple interface inheritance, but only one.
In interface inheritance : Inherited class must implement all the methods define in that interface. Class inheritance : inherited class may or may not implement all methods of that base class.

10) What are the collection classes?1) Array list
2) Hash table
3) stack
4) Dictionary
5) Queue

Comments

Popular posts from this blog

Central Pollution Control Board(CPCB) Recruitment 2020 (48 LDC,Data entry operator, Scientist)

Required Job Items Details Job Role / Position Scientist-B and Junior Scientific Assistant Hiring Company Central Pollution Control Board Job Description Central Pollution Control Board (CPCB) is a Statutory Organization under Ministry of Environment, Forest & Climate Change. Due to the pandemic situation by the speared of Coronavirus COVID-19 and the lockdown in the country, online applications are invited from the eligible and suitable Indian Nationals for direct recruitment to various posts on regular basis through open competition on all India basis. All Applicants should register and submit their applications online following the link available at page ‘jobs’ at CPCB website cpcb.nic.in Number of Posts 1. Scientist–‘B’:13 Posts 2.Junior Scientific Assistant: 02 Posts 3. Senior Technician: 06 Posts 4.Data Entry Operator (Grade-II): 02 Posts 5. Junior Technician: 02 Posts 6.Junior Laboratory Assistant: 07 Posts 7. Lower Division Clerk: 13 Posts 8.Attendant (MTS): 03 Posts Edu...

Telangana State Public Service Commission Recruitment

8 High Paying jobs in Software Engineering Are you an IT Person? Do you have all these apps in your phone? Have you heard of these books. best for data science? Bitcoin related job opportunities 5 Best Career Choice for the next 10 Years The below job is expired. Required Job Items Details Job Role / Position Manager (Engineering) in Hyderabad Metropolitan Water Supply Hiring Company TELANGANA STATE PUBLIC SERVICE COMMISSION: HYDERABAD Job Description Applications are invited Online from qualified candidates through the proforma Application to be made available on Commission’s WEBSITE (www.tspsc.gov.in) to the post of Manager (Engineering) in Hyderabad Metropolitan Water Supply and Sewerage Board Engineering Service in the State of Telangana Number of Posts 1. Manager (Engineering) in Hyderabad Metropolitan Water Supply and Sewerage Board (Civil Engg. branch) : 79 Post 2. Manager (Engineering) in Hyderabad Metropolitan Water Supply and Sewerag...

Here is the next gen technology with greater career opportunities

Enhancing your skills in sustainability and green technologies is a great way to stay at the forefront of a growing field that combines technology, innovation, and environmental impact. As more industries look to adopt greener practices, software developers who understand sustainable technologies will be in high demand. Here are some strategies you can use to deepen your expertise in sustainability and green technologies: Gain a Strong Foundation in Sustainability Concepts, Learn About Green Technologies, Focus on Software Development for Sustainability,  Develop Practical Skills in Green Software Development, Network and Collaborate, Stay Updated on Industry Trends. As sustainability-focused technologies often require specialized tools and methods, gaining hands-on experience is crucial. Here are some skills you can focus on: a. Green Software Development Practices Learn about the carbon footprint of software. Explore how software can be optimized for lower energy consumption, r...