What is a Mocking Framework?

Sunday, April 4, 2010


A mock object is a simulated object that mimics the behavior of a real object in controlled ways


www.codecollege.NET

How do we configure "WebGarden"?


"Web garden" can be configured by using process model settings in "machine.config" or "Web.config" file. The configuration section is named and is shown in the following example. The process model is enabled by default enable="true"). Below is the snippet from config file.


enable="true"
timeout="infinite"
idleTimeout="infinite"
shutdownTimeout="0:00:05"
requestLimit="infinite"
requestQueueLimit="5000"
memoryLimit="80"
webGarden="false"
cpuMask="12"
userName=""
password=""
logLevel="errors"
clientConnectedCheck=”0:00:05"
/>

From the above processModel section for web garden we are concerned with only two attributes "webgarden" and "cpuMask".

webGarden : Controls CPU affinity. True indicates that processes should be affinitized to the corresponding CPU. The default is False.

cpuMask : Specifies which processors on a multiprocessor server are eligible to run ASP.NET processes. The cpuMask value specifies a bit pattern that indicates the CPUs eligible to run ASP.NET threads. ASP.NET launches one worker process for each eligible CPU. If webGarden is set to false, cpuMask is ignored and only one worker process will run regardless of the number of processors in the machine. If webGarden is set to true, ASP.NET launches one worker process for each CPU that corresponds to a set bit in cpuMask. The default value of cpuMask is 0xffffffff.

Use 1 for the processor that you want to use for ASP.NET. Use 0 for the processor that you do not want to use for ASP.NET. For example, if you want to use the first two processors for ASP.NET of a four-processor computer, type 1100.


www.codecollege.NET

What is the use of $(document).ready() in jquery?

Sunday, March 7, 2010


with it you can put all your event driven javascript in one file, making it easy to maintain and upgrade later.


www.codecollege.NET

What are the types of Web Test?

Friday, February 26, 2010


1. Recorded
2. Coded


www.codecollege.NET

Daily Tips- Tip #46- How to set the default browser in visual studio 2008?

Sunday, February 21, 2010


1. R-click on the page.
2. Select Browse with option.
3. Select IE or Firefox or anyother in the window.
4. Set as Default, Ok.


www.codecollege.NET

What is a WebTest?

Tuesday, February 16, 2010


A Web test simulates how an end user might interact with a Web application.


www.codecollege.NET

What is an iframe?


Inline frames are frames that can be placed anywhere on your page by absolute positioning


www.codecollege.NET
Blog Widget by LinkWithin