Skip to main content

ASP.NET 3.5 interview questions with answers

The IHttpHandler and IHttpHandlerFactory interfaces ?

The IHttpHandler interface is implemented by all the handlers. The interface consists of one property called IsReusable. The IsReusable property gets a value indicating whether another request can use the IHttpHandler instance. The method ProcessRequest() allows you to process the current request. This is the core place where all your code goes. This method receives a parameter of type HttpContext using which you can access the intrinsic objects such as Request and Response. The IHttpHandlerFactory interface consists of two methods - GetHandler and ReleaseHandler. The GetHandler() method instantiates the required HTTP handler based on some condition and returns it back to ASP.NET. The ReleaseHandler() method allows the factory to reuse an existing handler.

Does .NET CLR and SQL SERVER run in different process?

Dot Net CLR and all .net realtes application and Sql Server run in same process or we can say that that on the same address because there is no issue of speed because if these two process are run in different process then there may be a speed issue created one process goes fast and other slow may create the problem.

What do you mean by three-tier architecture?

The three-tier architecture was comes into existence to improve management of code and contents and to improve the performance of the web based applications. There are mainly three layers in three-tier architecture. the are define as follows

(1)Presentation
(2)Business Logic

(3)Database

(1)First layer Presentation contains mainly the interface code, and this is shown to user. This code could contain any technology that can be used on the client side like HTML, JavaScript or VBScript etc.

(2)Second layer is Business Logic which contains all the code of the server-side .This layer have code to interact with database and to query, manipulate, pass data to user interface and handle any input from the UI as well.

(3)Third layer Data represents the data store like MS Access, SQL Server, an XML file, an Excel file or even a text file containing data also some additional database are also added to that layers.

Describe the Provider Model in ASP.NET 2.0?

The Provider model in ASP.NET 2.0 is based on the Provider Design Pattern that was created in the year 2002 and later implemented in the .NET Framework 2.0.

The Provider Model supports automatic creation of users and their respective roles by creating entries of them directly in the SQL Server (May even use MS Access and other custom data sources). So actually, this model also supports automatically creating the user table's schema.

The Provider model has 2 security providers in it: Membership provider and Role Provider. The membership provider saves inside it the user name (id) and corresponding passwords, whereas the Role provider stores the Roles of the users.

For SQL Server, the SqlMembershipProvider is used, while for MS Access, the AccessMembershipProvider is used. The Security settings may be set using the website adminstration tool. Automatically, the AccessMembershipProvider creates a Microsoft Access database file named aspnetdb.mdb inside the application's App_Data folder. This contains 10 tables.

Explain about Generics?

Generics are not a completely new construct; similar concepts exist with other languages. For example, C++ templates can be compared to generics. However, there's a big difference between C++ templates and .NET generics. With C++ templates the source code of the template is required when a template is instantiated with a specific type. Contrary to C++ templates, generics are not only a construct of the C# language; generics are defined with the CLR. This makes it possible to instantiate generics with a specific type in Visual Basic even though the generic class was defined with C#.

 

Comments

Post a Comment

Popular Posts

DOT NET Interview Questions with Answers

When not to use Design Patterns?Do not use design patterns in any of the following situations.• When the software being designed would not change with time.• When the requirements of the source code of the application are unique.If any of the above applies in the current software design, there is no need to apply design patterns in the current design and increase unnecessary complexity in the design.When to use Design Patterns?Design Patterns are particularly useful in one of the following scenarios.• When the software application would change in due course of time.• When the application contains source code that involves object creation and event notification.Benefits of Design Patterns:The following are some of the major advantages of using Design Patterns in software development.• Flexibility• Adaptability to change• ReusabilityWhat are Design Patterns?A Design Pattern essentially consists of a problem in a software design and a solution to the same. In Design Patterns each pattern…

PDF Converter Ultimate - Awesome Converter

PDF Converter Ultimate 
Convert your documents to PDF, and PDF documents to Word, Excel, JPG, and more, right on your Android device. Conversions are accurate and very fast, layout is preserved, and best-on-market OCR engines will take care of your scanned files. Easy to use app, and amazing conversion quality makes this app the ultimate converter for your phone. You can convert files from your phone, or files from your favorite cloud services directly within our app. Files are being converted by our powerful servers, and after conversion is done, result is downloaded to your device and files are being deleted from our servers. This also means the app won't burden your processor or RAM, nor it will drain your battery.

• Conversions are fast and accurate
• Scanned and complex documents are converted as well 
• Immediate conversions for free users
• Several conversion types available depending on the file format needed
• No limit on file size or number of files you can convert
• Convert f…

Free Java Tutorial from Guru99

FREE JAVA TUTORIAL
Guru99 Goal is to provide Fun and Free Education for ALL.

Guru99 recently create tutorials on JAVA that took 190 hours to create with beautifully annotated screenshots, videos and is very comprehensive.

The course covers

JAVA Basics like Java Virtual Machine (JVM) and Download and Install Guide.
It also introduces Concepts of OOPs, Constructors, Inheritance, Memory Management, Exception Handling and Conditional Loops.
We also touch on advanced topics like Multithreading, Timer and Java Reflection API

Here is the Link: http://www.guru99.com/java-tutorial.html


!! LEARN NOW !!


free java tutorial, guru99, learn java online for free, java classes, java videos, java interview questions and answers, java topics.

Visual Studio 2008 - Interview Questions with answers

New Features of Visual Studio 2008 for .NET Professionals1. LINQ Support

LINQ essentially is the composition of many standard query operators that allow you to work with data in a more intuitive way regardless.

The benefits of using LINQ are significant – Compile time checking C# language queries, and the ability to debug step by step through queries.

2. Expression Blend Support


Expression blend is XAML generator tool for silverlight applications. You can install Expression blend as an embedded plug-in to Visual Studio 2008. By this you can get extensive web designer and JavaScript tool.

3. Windows Presentation Foundation

WPF provides you an extensive graphic functionality you never seen these before. Visual Studio 2008 contains plenty of WPF Windows Presentation Foundation Library templates. By this a visual developer who is new to .NET, C# and VB.NET can easily develop the 2D and 3D graphic applications.

Visual Studio 2008 provides free game development library kits for games develo…

DesignEvo - A free and easy online logo designer

DesignEvo is easy-to-use online logo design tool with millions of icons, 100+ stylish fonts, 3,000+ practical logo templates and handy editing tools. It can help people easily create appealing and effective logos for their brands, websites, blogs, social media channels, etc.

 It is really awesome and intuitive interface. Easy to design and customize. A person can easily design by selecting a pre-defined logo design and modify it on the fly.

Hardly you need 1 minute to design your new logo with minor modifications.


Its really awesome site. I suggest you to try it out.



You can discover more about DesignEvo here:
https://www.designevo.com

Learn more about Designevo @ YouTube

designevo, free logo design, logo maker, create a logo, easy logo maker, design logo free, free logo, logo designs, logo images

Contact Form

Name

Email *

Message *