What is the difference between Router and Routing?
Router: -
Router is a device which is used to connect different network. A device or setup that finds the best route between any two networks, even if there are several networks to traverse. Like bridges, remote sites can be connected using routers over dedicated or switched lines to create WANs.
Routing: -
Process of delivering a message across one or more networks via the most appropriate path.
0 comments
Category : Exchange Server
What is Multimaster replication?
In addition to storing primary zone information in Dns we can also store it in active directory as active directory object.This integrates Dns with active directory in order to take advantage of active directory features
The benefits are :
1) zone can be modified from any domain controller within the domain and this information is automatically updated or replicated to all the other domain controllers along with the active directory replication.This replication is said to be multimaster replication.
2) We no longer face the standard dns server drawbacks.
In standard dns server only the primary server can modify the zone and then replicate the changes to other domain controllers(It was in windows NT4 before).
But when Dns gets integrated with AD .Zone can be modified and replicated from any domain controller.
3) Fault tolerance
4) Security
0 comments
Category : Exchange Server
What is the ntds.tit file default size?
40 MB
0 comments
Category : Exchange Server
What is the concept for authoritative and nonauthoritative restoration?
Non-authoriative restore: which accept the entries from other domain controller after the restoed data.
Authoritative: Not accept the entries from other domain controller.
0 comments
Category : Exchange Server
What is Rsop ?
Resultant set of policy is provided to make policy modification and trouble shooting easier. Rsop is the query object it has two mode
1.logging mode: Polls existing policies and the reports the result of the query.
2.Planning mode: The questions ask about the planned policy and the report the result of the query.
0 comments
Category : Exchange Server
In which domain functional level, we can rename domain name?
All domain controllers must be running Windows Server 2003, and the Active Directory functional level must be at the Windows Server 2003. Yes u can rename the domain in windows server 2003
google search
Saturday, October 25, 2008
Dot Net Interview Questions answers
Posted by thirupal at 11:38 PM 0 comments
Labels: dotnet
Archive for '.NET'
ASP.NET Interview Questions
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe.
What’s the difference between Response.Write() andResponse.Output.Write()?
The [...]
Posted: January 9th, 2008 under .NET.
Tags: ASP, ASP dot net, ASP Questions, DotNet Questions
Comments: 8
C# Scope
scope in C#
Simply, the scope of a type (a variable, a method, or a class) is where you can use that type in your program. In other words, the scope defines the area of the program where that type can be accessible and referenced.
When you declare a variable inside a block of code (like a [...]
Posted: December 10th, 2007 under .NET.
Tags: C Hash scope, C Scopre, C++ and C, Questions
Comments: 2
C# .NET
1) Can we have private constructor? when can I use them?
2) what is an internal specifier? what happens internally when I use access specifier Internal ?
3) DO we have inline function in C#? otherwise what is equivalent inline function in C#?
1. Explain the differences between Server-side and Client-side code?
ANS: Server side code will execute [...]
Posted: December 10th, 2007 under .NET.
Tags: C Hash, C++ and C, dot net, Interview, Questions
Comments: 2
ASP.NET interview questions
Following are some ASP.NET interview questions.
Posted: July 21st, 2007 under .NET.
Comments: 4
Basic .NET and ASP.NET interview questions
Following are some Basic .NET and ASP.NET interview questions, answer them if you can or just read and get answers.
Posted by thirupal at 11:36 PM 0 comments
Labels: dotnet
ASP.NET Interview Questions free
# Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.
inetinfo.exe is theMicrosoft IIS server running, handling ASP.NET requests among other things.When an ASP.NET request is received (usually a file with .aspx extension),the ISAPI filter aspnet_isapi.dll takes care of it by passing the request tothe actual worker process aspnet_wp.exe.
What’s the difference between Response.Write() andResponse.Output.Write()?
# The later one allows you to write formattedoutput.
# What methods are fired during the page load?
# Init() - when the pageis instantiated
# Load() - when the page is loaded into server memory
# PreRender() - the brief moment before the page is displayed to the user asHTML,
Unload() - when page finishes loading.
# Where does the Web page belong in the .NET Framework class hierarchy?
System.Web.UI.Page
# Where do you store the information about the user’s locale?
System.Web.UI.Page.Culture
# What’s the difference between Codebehind=”MyCode.aspx.cs” andSrc=”MyCode.aspx.cs”?
CodeBehind is relevant to Visual Studio.NET only.
# What’s a bubbled event?
# When you have a complex control, like DataGrid, writing an event processing
# What’s the difference between Response.Write() andResponse.Output.Write()?
Response.Output.Write() allows you to write formatted output.
# What methods are fired during the page load?
Init() - when the page is instantiated
Load() - when the page is loaded into server memory
PreRender() - the brief moment before the page is displayed to the user as HTML
Unload() - when page finishes loading.
# When during the page processing cycle is ViewState available?
After the Init() and before the Page_Load(), or OnLoad() for a control.
# What namespace does the Web page belong in the .NET Framework class hierarchy?
System.Web.UI.Page
# Where do you store the information about the user’s locale?
System.Web.UI.Page.Culture
# What’s the difference between Codebehind=”MyCode.aspx.cs” andSrc=”MyCode.aspx.cs”?
CodeBehind is relevant to Visual Studio.NET only.
# What’s a bubbled event?
When you have a complex control, like DataGrid, writing an event processing routine for each object (cell, button, row, etc.) is quite tedious. The controls can bubble up their eventhandlers, allowing the main DataGrid event handler to take care of its constituents.
# Suppose you want a certain ASP.NET function executed on MouseOver for a certain button. Where do you add an event handler?
Add an OnMouseOver attribute to the button. Example: btnSubmit.Attributes.Add(”onmouseover”,”someClientCodeHere();”);
# What data types do the RangeValidator control support?
Integer, String, and Date.
# Explain the differences between Server-side and Client-side code?
Server-side code executes on the server. Client-side code executes in the client’s browser.
# What type of code (server or client) is found in a Code-Behind class?
The answer is server-side code since code-behind is executed on the server. However, during the code-behind’s execution on the server, it can render client-side code such as JavaScript to be processed in the clients browser. But just to be clear, code-behind executes on the server, thus making it server-side code.
# Should user input data validation occur server-side or client-side? Why?
All user input data validation should occur on the server at a minimum. Additionally, client-side validation can be performed where deemed appropriate and feasable to provide a richer, more responsive experience for the user.
# What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Server.Transfer transfers page processing from one page directly to the next page without making a round-trip back to the client’s browser. This provides a faster response with a little less overhead on the server. Server.Transfer does not update the clients url history list or current url. Response.Redirect is used to redirect the user’s browser to another page or site. This performas a trip back to the client where the client’s browser is redirected to the new page. The user’s browser history list is updated to reflect the new address.
# Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Valid answers are:
· A DataSet can represent an entire relational database in memory, complete with tables, relations, and views.
· A DataSet is designed to work without any continuing connection to the original data source.
· Data in a DataSet is bulk-loaded, rather than being loaded on demand.
· There’s no concept of cursor types in a DataSet.
· DataSets have no current record pointer You can use For Each loops to move through the data.
· You can store many edits in a DataSet, and write them to the original data source in a single operation.
· Though the DataSet is universal, other objects in ADO.NET come in different versions for different data sources.
# What is the Global.asax used for?
The Global.asax (including the Global.asax.cs file) is used to implement application and session level events.
# What are the Application_Start and Session_Start subroutines used for?
This is where you can set the specific variables for the Application and Session objects.
# Can you explain what inheritance is and an example of when you might use it?
When you want to inherit (use the functionality of) another class. Example: With a base class named Employee, a Manager class could be derived from the Employee base class.
# Describe the difference between inline and code behind.
Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page.
# Explain what a diffgram is, and a good use for one?
The DiffGram is one of the two XML formats that you can use to render DataSet object contents to XML. A good use is reading database data to an XML file to be sent to a Web Service.
# Whats MSIL, and why should my developers need an appreciation of it if at all?
MSIL is the Microsoft Intermediate Language. All .NET compatible languages will get converted to MSIL. MSIL also allows the .NET Framework to JIT compile the assembly on the installed computer.
# Which method do you invoke on the DataAdapter control to load your generated dataset with data?
The Fill() method.
# Can you edit data in the Repeater control?
No, it just reads the information from its data source.
# Which template must you provide, in order to display data in a Repeater control?
ItemTemplate.
# How can you provide an alternating color scheme in a Repeater control?
Use the AlternatingItemTemplate.
# What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?
You must set the DataSource property and call the DataBind method.
# What base class do all Web Forms inherit from?
The Page class.
# Name two properties common in every validation control?
ControlToValidate property and Text property.
# Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?
DataTextField property.
# Which control would you use if you needed to make sure the values in two different controls matched?
CompareValidator control.
# How many classes can a single .NET DLL contain?
It can contain many classes.
Posted by thirupal at 11:35 PM 0 comments
Labels: dotnet
dotnet interviews
33. ASP.NET Authentication Providers and IIS Security
ASP.NET implements authentication using authentication providers, which are code modules that verify credentials and implement other security functionality such as cookie generation. ASP.NET supports the following three authentication providers:
Forms Authentication: Using this provider causes unauthenticated requests to be redirected to a specified HTML form using client side redirection. The user can then supply logon credentials, and post the form back to the server. If the application authenticates the request (using application-specific logic), ASP.NET issues a cookie that contains the credentials or a key for reacquiring the client identity. Subsequent requests are issued with the cookie in the request headers, which means that subsequent authentications are unnecessary.
Passport Authentication: This is a centralized authentication service provided by Microsoft that offers a single logon facility and membership services for participating sites. ASP.NET, in conjunction with the Microsoft® Passport software development kit (SDK), provides similar functionality as Forms Authentication to Passport users.
Windows Authentication: This provider utilizes the authentication capabilities of IIS. After IIS completes its authentication, ASP.NET uses the authenticated identity's token to authorize access.
To enable a specified authentication provider for an ASP.NET application, you must create an entry in the application's configuration file as follows:
// web.config file
34. What is the difference between ASP and ASP.NET?
ASP is interpreted. ASP.NET Compiled event base programming.
Control events for text button can be handled at client javascript only. Since we have server controls events can handle at server side.
More error handling.
ASP .NET has better language support, a large set of new controls and XML based components, and better user authentication.
ASP .NET provides increased performance by running compiled code.
ASP .NET code is not fully backward compatible with ASP.
ASP .NET also contains a new set of object oriented input controls, like programmable list boxes, validation controls.
A new data grid control supports sorting, data paging, and everything you expect from a dataset control. The first request for an ASP.NET page on the server will compile the ASP .NET code and keep a cached copy in memory. The result of this is greatly increased performance.
ASP .NET is not fully compatible with earlier versions of ASP, so most of the old ASP code will need some changes to run under ASP .NET. To overcome this problem, ASP .NET uses a new file extension ".aspx". This will make ASP .NET applications able to run side by side with standard ASP applications on the same server.
Posted by thirupal at 11:23 PM 0 comments
Labels: dotnet