GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 138 of 164    Print  
What is diffrence between debug.trace and trace.write?
Where is the information of debug stored?

  
Total Answers and Comments: 2 Last Update: October 23, 2009     Asked by: Shimab 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
February 05, 2008 11:27:26   #1  
Lavanyaaru Member Since: January 2008   Contribution: 13    

RE: What is diffrence between debug.trace and trace.write?Where is the information of debug stored?
Debug.write is not compiled and they are meant only for debug builds.
Trace.write is compiled and can be used in Debug and Release builds of the Applications

 
Is this answer useful? Yes | No
October 23, 2009 02:23:46   #2  
kirangiet Member Since: June 2009   Contribution: 24    

RE: What is diffrence between debug.trace and trace.write?Where is the information of debug stored?
Debug and Trace both are used to display messages. However Debug won't work in Release mode.
Debug information stores in .pdb file.
PDB stands for Project DataBase.



 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Trace in ASP.Net is nothing but to trace error. When we use this trace, we will get complete step-by-step diagnosis of our application or site. It will also give some details of the error, so that the user can easily debug the code. ...
Read Answers (4) | Asked by : nagu

Latest Answer : You are right, in addition that it's always good to place your script in .js file with in your project so that u can place a break point and step through the code.In addition ,you can ceven attach worker process and select the 'code type' ...
Read Answers (2) | Asked by : Senthil Kumar

How can we associate a single codebehind file with two aspx pages.eg. We have two files First.aspx and Second.aspx and we have cs files codebehind.cs in which we want to write code for both files. Then how we will execute this cs file for both of the aspx file\'s events.

This is how I have done this in one of our projects:-1. First way is store image in BYTEARRAY while checking UPLOAD CONTROL and hold that image in CACHE. And then store it (bytearray) in Database while 
Latest Answer : To upload the image in to the Oracle: if you are using stored procedure then by using command instance object you and pass the image in Binary Format is Request.BinaryRead() and to display the image user the same method i.e. reponse.binarwrite() ...
Read Answers (1) | Asked by : Nidhi

One aplication have 50 pages out of 50 , 5 pages shouldn't ask user name and password other 45 should ask user name and password?how will you write the code in web.config?

Latest Answer : View state is of maintaining the state of the object until the page is destroyed. In the sense viewstate maintains the state of the object in all the postbacks. Dataset can be stored in viewstate. ...
Read Answers (5) | Asked by : Deepu94

Latest Answer : Hi,     Every control is maintained with hiddenfield property on the form. when the page is submitted to the server, the values of each control are read from the hidden fields of each control and they were reseted on postback. When ...
Read Answers (3) | Asked by : sunileswar behera

Latest Answer : User Control : A usercontrol is a templete control that provides extra behaviour to all individual control to be added to user control in GUI designer. These controls are added to the user's control Templete file .ascx. it is similar to aspx file and ...
Read Answers (4) | Asked by : sundarr

1. can we run .net application on com+ server2. max no. of column in a table3. diffrence b/w vb.net & c#
Read Answers (1) | Asked by : deepak

ViewState in ASP.NET IntroductionMicrosoft ASP.NET Web Forms pages are capable of maintaining their own state across multiple client round trips. When a property is set for a control, the ASP.NET saves 
Latest Answer : Session variables are maintained for particular session like for particular user only, so any user related information has to be saved in session variable.  While application variables are maintained for whole application. Whole application related ...
Read Answers (2) | Asked by : Shiv


 Sponsored Links

 
Related Articles

What are the differences between stored procedures and triggers?

Stored procedures are compiled collection of programs or SQL statements that live in the database. A stored procedure can access and modify data present in many tables. Also a stored procedure is not associated with any particular database object. But triggers are event-driven special procedures whi
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

How Data Is Stored Within a Data Warehouse

How Data Is Stored Within a Data Warehouse The data that is stored in the data warehouse is just as important as the data warehouse itself Having a fundamental understanding of how this data is stored can be useful in the successful implementation and utilization of a data warehouse One term that yo
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 

HR Interview - How To Succeed At HR Interviews

How To Succeed At HR Interviews There are a number of things you will need to do in order to make sure you pass the interview process Your appearance is something that you will want to pay close attention to Even if you feel that your appearance shouldn t be a factor in whether or not you re highere
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape