Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
How can we change the default port?
Posted By :
Posted Date :
March 31, 2010
From the Network Utility TCP/IP properties -> Port number.both on client and the server.
You can also find related Interview Question to
How can we change the default port?
How to change the default page of a Silverlight application?
In a simple way we can set the default page, what we have to do is to change the default page of a silverlight application, we have to set the RootVisual property inside the Application_Startup event of the App.xaml file.
private void Application_Startup(object sender, StartupEventArgs e)
this.RootVisual = new MainPage();
What is the default port number for SQL Server
Basically, when SQL Server is enabled the server instant listens to the TCP port 1433.
The default way of passing arguments to a function is ?
A default property is called as a...
What is the default access specifier for a top level class which are not nested into other class?
C# provides a default constructor for me. I write a constructor that takes a string as a parameter, but want to keep the no parameter one. How many constructors should I write?
The answer is TWO of the above questions
What is Default value of Bool ?
0 is the defaault value of boolean in .NET
How can we change priority and what the levels of priority are provided by .NET ?
Thread Priority can be changed by using Threadname.Priority = ThreadPriority.Highest. In the sample provided look out for code where the second thread is ran with a high priority.
Following are different levels of Priority provided by .NET :-
which is the default property for all controls?
Default setting for the expires attribute of the document.cookie property?
The duration of the browser session.
Does SessionID change with every request in the asp.net 2.0 application?
For any web programmer, its obvious to think and believe that SessionId remains same through out the user session and it was right till asp.net1.1. But in asp.net2.0, this behavior has changed. In the asp.net application new sessionid is returned with the response to every request until session objects are not used.
According to MSDN the reason/solution is:
"When using cookie-based session state, ASP.NET does not allocate storage for session data until the Session object is used. As a result, a new session ID is generated for each page request until the session object is accessed. If your application requires a static session ID for the entire session, you can either implement the Session_Start method in the application's Global.asax file and store data in the Session object to fix the session ID, or you can use code in another part of your application to explicitly store data in the Session object."
By Default, ASP.NET does not allow HTML tags to be sent to server via client side due to security reason. Which property needs to be set that allows HTML tags to be processed by server?
ValidateRequest Property needs to be set to false. By default it's true so it does not allow unencoded HTML tags to be processed at server. It can be set at page level or at application level via web.config.
Which is the default Provider Name of the Providers used to access the DataBase?
What is the default size of Integer data type in VB.NET as VB.NET has Int 16, Int 32 and Int 64 also?
The default size of Integer data type is 32 bit.
Quick Links For Interview Questions Categories:
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Terms of Service
Tell A Friend