What is Worker Processor

Posted by Gg under ASP.NET on 10/4/2011 | Points: 10 | Views : 1714 | Status : [Member] | Replies : 2
Hi,

Can any give me explanation to my below Queries?

1) What is Worker Processor ?
2) What are way we can debug our project?
3) What is the different between collection and Generic List?
4) What is proxy class? and What are ways we can create proxy class in WCF?
5) What is Dictionary?

Thanks,
gg.




Responses

Posted by: Ndebata on: 10/5/2011 [Member] Starter | Points: 25

Up
0
Down
1.
A worker process is user-mode code whose role is to process requests, such as processing requests to return a static page, invoking an ISAPI extension or filter.

In a worker process, an HTTP request passes through several ordered steps, called events, in the Web Server Core. At each event, a native module processes part of the request, such as authenticating the user or adding information to the event log. If a request requires a managed module, the native ManagedEngine module creates an AppDomain, where the managed module can perform the necessary processing, such as authenticating a user with Forms authentication. When the request passes through all of the events in the Web Server Core, the response is returned to HTTP.sys. attached shows an HTTP request entering the worker process.

refenence:http://learn.iis.net/page.aspx/101/introduction-to-iis-architecture/
http://learn.iis.net/page.aspx/164/managing-worker-processes-and-appdomains-in-iis-7-with-wmi/

2.Appart from the obivious tool MS Visual Studio
you can go for Command Line Debugger,DbgClr ,WinDbg etc

3.Collection is something like a container where you can keep a number of items and it can contain any type of items.
For example a pastic bag for carrying vegetables you can add any thing to it.
But a generic list a customerised container where you can keep only specific type that it has been designed for.
Lets say in cardholder you can only keep cards of some specific type.

4.
http://www.tech-archive.net/Archive/DotNet/microsoft.public.dotnet.framework.webservices/2007-08/msg00165.html
http://www.codeproject.com/KB/WCF/CodeProxyGeneration.aspx

5.
http://www.dotnetperls.com/dictionary

 Download source file

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Saranram on: 10/12/2011 [Member] Starter | Points: 25

Up
0
Down
Hi gg,

1.What is Worker Processor ?
A worker process is user-mode code whose role is to process requests, such as processing requests to return a static page, invoking an ISAPI extension or filter, or running a Common Gateway Interface (CGI) handler.
for further ref :
http://www.codeproject.com/KB/aspnet/aspwp.aspx

2.What are way we can debug our project?
Manual Debugging using Debugger,DbgClr ,WinDbg etc

3.What is the different between collection and Generic List?

Collections are enumerable data structures that can be assessed using indexes or keys.Using generic collection classes provides increased type-safety and in some cases can provide better performance, especially when storing value types. For more information see:http://blogs.msdn.com/b/jeremykuhne/archive/2005/07/22/generic-collections-i.aspx


4.What is proxy class? and What are ways we can create proxy class in WCF?
Proxy class is an intermediate class between Client and Service.
The class is used to communicate with service that generate SOAP Request and Read SOAP Respone
from the Service.
The class can be created with use SVCUtil.exe manually or Automatically.
ex: svcutil.exe /language:cs /out:generatedProxy.cs /config:app.config http://localhost:8000/ServiceModelSamples/service

5.Dictionary
Dictionary provides fast lookup of elements. It is used when you have many different elements. It is found in the System.Collections.Generic namespace. You must specify the types of its keys and values.
Ex: Dictionary<string,int> dic= new Dictionary<string, int>();


Saran

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response