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

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

Free Softwares 09 July 09

JDownloader JDownloader, open source and platform independent, can help download files from file hosters like Rapidshare.com, Megaupload.com and others. JDownloader can be used by both kinds of users - those who have a premium account and those who don't pay. Features: Support for many file hosting sites, decrypt plug-ins for many services. e.g. sj.org, UCMS, WordPress, skips the limits of Filehosting websites, downloads in multiple paralell streams, download with multiple connections, captcha recognition, automatical file extraction, Can download Youtube, Vimeo, clipfish video, and Mp3 files; 24-hour support, integrates with Firefox, no installation needed, and more. The 15.6 MB JDownloader, v.0.6.193, cross-platform - works on Windows, Linux and Mac OS X, can be downloaded at http://jdownloader.en.softonic.com/download Runs on Java 1.5 or higher. jGnash jGnash is a free personal finance manager with many features available in commercial versions. Main Features

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 co

Free softwares

AutoHotkey AutoHotkey is a free, open-source utility for Windows. automate almost anything by sending keystrokes and mouse clicks. A tutorial at http://www.autohotkey.com/docs/Tutorial.htm  The 1704 KB AutoHotkey v.1.0.44.08 can be downloaded at http://www.autohotkey.com/download/AutoHotkeyInstall.exe (Source: Linda Bee) Advanced WindowsCare Advanced WindowsCare's Personal Edition and Professional editions promise a new way to maintain your computer with just a click each day. No need to be an IT expert or geek! You are invited to try out the v2 Beta 3.02 (July 27, '06) at  https://www.iobit.com/en/advancedsystemcarefree.php (Source: FreewareFiles Express) ShortText "ShortText.com: A brilliant idea and a great find say BBC World. What is ShortText? It's a convenient way to create your own instant webpage , for free. Just paste a block of text into the text editor on the  site to receive a custom URL. Now ShortText is not there. Alternatives are 

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 *