Skip to main content

Privado.com - A Private Search Engine

https://www.privado.com/ Your searches should be private. We make sure they really are.  Private Search in Action  We don’t track you  We don’t store your searches in any identifiable way  We don’t store your IP address in our services Your privacy is important.  There are no traces of your activities and personal identity in our servers.  You can learn more about privacy in our blog  We don't like cookies!   https://www.privado.com/

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 • Reusability What are Design Patterns? A Design Pattern essentially consists of a problem in a software design and a solutio

Curam Software Interview Questions

Hi Friends, This is an interview questions for a 4 Years experienced Java/J2EE person with Curram Softwares. First Round: 1) Basic HR Questions 2) Why you want to shift your company 3) Some more.... Second Round: 1) Basics of java 2) Threads (Multi –Threading, synchronization) 3) Write a sample program for generics 4) About Design patterns 5) What is Iterator  and write a small program 6) XML Parsing – DOM and SAX Parser - differences 7) Inheritance & Abstraction & encapsulation & Polymorphism 8) write a Program which satisfies all mentioned in Question 7 9) Exception hierarchy 10) They give Sample programs – and ask for outputs 11) Implicit objects in jsp 12) Session management 13) Requestdispatcher vs sendredirect 14) Struts flow 15) Some more questions… Third Round: 1) About your projects 2) SQL database queries 3) SQL index, normalization, cursors,  stored procedures, joins 4) Design patterns – singleton (why we need this?) 5) UML questions –

500 Years Calendar download

500 Years Calendar

OFFICE 2010 or OFFICE 14

The next edition of Microsoft's Office software will include an online version which doesn't need to be installed on computers. It's a clear rival to other cloud services, such as Google Docs.     There aren't many official details available on the online version yet, but it appears the system will work on several browsers: not just Internet Explorer but also Firefox, Safari and the iPhone browser.   Users who want to do more than simply edit a simple document at once will likely have to install Silverlight, Microsoft's take on Adobe's Flash. This will allow users to upload and collaborate on multiple documents at once. (Source: theregister.co.uk )   There have been suggestions a web version of Office would include advertising, but this isn't yet confirmed.   The web edition will follow shortly after the release of the full desktop edition of Office 2010, due out in the first half of next year.   Microsoft claims Office 2010 will be m

Freewares / Free Softwares 17 Sep 09

Fotobounce Fotobounce can help download your Facebook Photo albums or that of your friends. It's a free Windows-only utility to help manage photos in your Facebook and Flickr accounts, right from the desktop. You can download old photos, upload new ones to the web or simply view your existing photo albums as a slideshow without downloading them locally. Fotobounce also includes built-in face recognition to quickly tag photos on the desktop and upload them on to Facebook. Fotobounce can help share photo albums with family members who aren't very active on social sites. Just download a local copy of your Facebook albums and send them as email attachments or burn a DVD. You can browse your photo library on the go from your BlackBerry, iPhone, or iPod Touch, too. And, if ever you decide to close your Facebook account Fotobounce can be a handy tool to move your albums to another photo sharing website, like Flickr. You can find more details and download Fotob

Contact Form

Name

Email *

Message *