<< < 16 17 18 19 20 21 22 23 24 25 26 > >>   Sort: Date

How can we add relation’s between table in a DataSet
How can we add relation’s between table in a DataSet ? Dim objRelation As DataRelation objRelation=New DataRelation("CustomerAddresse s",objDataSet.Tables("Customer ").Columns("Custid"),objDataSet.Tables("Addresses" ).Columns("Custid_fk"))objDataSet.Relations.Add(objRe lation)Relations can be added b...
2007-10-24, 4936👍, 0💬

What are the various ways of authentication techniques in ASP.NET
What are the various ways of authentication techniques in ASP.NET? Selecting an authentication provider is as simple as making an entry in the web.config file for the application. You can use one of these entries to select the corresponding built in authentication provider: ã &lt;authentication...
2007-10-24, 4934👍, 0💬

How do we enable tracing
How do we enable tracing ? &lt;%@ Page Trace="true" %>
2007-10-24, 4931👍, 0💬

What are the different types of joins? What is the difference between them
What are the different types of joins? What is the difference between them ? INNER JOIN Inner join shows matches only when they exist in both tables.Example, in the below SQL there are two tables Customers and Orders and the inner join in made on Customers Customerid and Orders Customerid.So this SQ...
2007-10-25, 4930👍, 0💬

How to add and remove an assembly from GAC?
.NET INTERVIEW QUESTIONS - How to add and remove an assembly from GAC? There are two ways to install .NET assembly in GAC:- * Using Microsoft Installer Package. You can get download of installer from http://www.microsoft.com. * Using Gacutil. Goto “Visual Studio Command Prompt” and type “gacutil –i...
2010-03-23, 4926👍, 0💬

what are the important principles of SOA
what are the important principles of SOA (Service oriented Architecture)? WCF is based on SOA. All big companies are playing big bets on SOA. So how can Microsoft remain behind? So in order to implement SOA architecture easily you need to use WCF. SOA is based on four important concepts: Boundaries ...
2007-11-04, 4924👍, 0💬

How can we make a thread sleep for infinite period
How can we make a thread sleep for infinite period ? You can also place a thread into the sleep state for an indeterminate amount of time by calling Thread.Sleep (System.Threading.Timeout.Infi nite).To interrupt this sleep you can call the Thread.Interrupt method.
2007-10-22, 4923👍, 0💬

What are the various modes of storing ASP.NET session ?
.NET INTERVIEW QUESTIONS - What are the various modes of storing ASP.NET session ? * InProc:- In this mode Session state is stored in the memory space of the Aspnet_wp.exe process. This is the default setting. If the IIS reboots or web application restarts then session state is lost. * StateServer:-...
2009-06-02, 4921👍, 0💬

What is Object Oriented Programming
What is Object Oriented Programming ? It is a problem solving technique to develop software systems. It is a technique to think real world in terms of objects. Object maps the software model to real world concept. These objects have responsibilities and provide services to application or other objec...
2007-10-23, 4917👍, 0💬

How can we save all data from dataset
How can we save all data from dataset ? Dataset has “AcceptChanges” method which commits all the changes since last time “Acceptchanges” has been executed.
2007-10-24, 4915👍, 0💬

How will implement Page Fragment Caching
How will implement Page Fragment Caching ? Page fragment caching involves the caching of a fragment of the page, rather than the entire page. When portions of the page are need to be dynamically created for each user request this is best method as compared to page caching. You can wrap Web Forms use...
2007-10-23, 4915👍, 0💬

What is ViewState
What is ViewState ? Viewstate is a built-in structure for automatically retaining values amongst the multiple requests for the same page. The viewstate is internally maintained as a hidden field on the page but is hashed, providing greater security than developer-implemented hidden fields do.
2007-10-23, 4913👍, 0💬

Can you describe IUKNOWN interface in short
Can you describe IUKNOWN interface in short ? Every COM object supports at least one interface, the IUnknown interface. All interfaces are classes derived from the base class IUnknown. Each interface supports methods access data and perform operations transparently to the programmer. For example, IU...
2007-10-22, 4910👍, 0💬

How can you use Hidden frames to cache client data ?
.NET INTERVIEW QUESTIONS - How can you use Hidden frames to cache client data ? This technique is implemented by creating a Hidden frame in page which will contain your data to be cached. &lt;FRAMESET cols="100%,*,*"> &lt;FRAMESET rows="100%"> &lt;FRAME src="/data_of_frame1.html"> &l...
2009-07-14, 4906👍, 0💬

How can you cache different version of same page using ASP.NET
How can you cache different version of same page using ASP.NET cache object ? Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header. Below is the syntax &lt;%@ OutputCache Duration="20" Location="Server" VaryByParam="state" VaryByCustom="minorversion" Var...
2007-10-23, 4906👍, 0💬

P)Can you show a simple code showing file dependency in cache
P)Can you show a simple code showing file dependency in cache ? Partial Class Default_aspx Public Sub displayAnnouncement() Dim announcement As String If Cache(“announcement”) Is Nothing Then Dim file As New _ System.IO.StreamReader _ (Server.MapPath(“announcement. txt”))announcement = file.ReadToE...
2007-10-23, 4905👍, 0💬

What are the other ways you can maintain state ?
What are the other ways you can maintain state ? Other than session variables you can use the following technique to store state : ? Hidden fields ? View state ? Hidden frames ? Cookies ? Query strings
2007-10-23, 4903👍, 0💬

What is a project baselines
What is a project baselines ? It defines a logical closure of any deliverable or cycle. Example you have completed the requirement phase with sign off from the client on the requirement document.So you put a baseline and say that further any changes to this document are change request. Versioning of...
2007-10-30, 4901👍, 0💬

What are benefits and Limitation of using Viewstate for state
What are benefits and Limitation of using Viewstate for state management? Following are the benefits of using Viewstate :- ã No server resources are required because state is in a structure in the page code. ã Simplicity. ã States are retained automatically. ã The values in view state are has...
2007-10-23, 4896👍, 0💬

What are the situations you will use a Web Service and Remoting in projects
What are the situations you will use a Web Service and Remoting in projects? Well “Web services” uses “remoting” concepts internally. But the major difference between “web service” and “remoting” is that “web service” can be consumed by clients who are not .NET platform. While remoting you need ...
2007-10-24, 4882👍, 0💬

What is Multi-threading ?
.NET INTERVIEW QUESTIONS - What is Multi-threading ? Multi-threading forms subset of Multi-tasking. Instead of having to switch between programs this feature switches between different parts of the same program. Example you are writing in word and at the same time word is doing a spell check in back...
2009-10-27, 4880👍, 0💬

Where do you specify session state mode in ASP.NET
Where do you specify session state mode in ASP.NET ? &lt;sessionState mode=”SQLServer” stateConnectionString=”tcpip=1 92.168.1.1:42424"sqlConnectionString=”data source=192.168.1.1; Integrated Security=SSPI” cookieless=”false” timeout=”20" /> Above is sample session state mode specified for SQ...
2007-10-23, 4880👍, 0💬

Security in Remoting ?
Security in Remoting ? Security is of paramount importance to any distributed application. Although the .NET Remoting infrastructure does not define any security features itself, because distributed applications are managed code they have full access to all of the .NET security features. In addition...
2009-03-24, 4878👍, 0💬

How can we call methods in remoting Asynchronously ?
.NET INTERVIEW QUESTIONS - How can we call methods in remoting Asynchronously ? All previous examples are a synchronous method calls that means client has to wait until the method completes the process. By using Delegates we can make Asynchronous method calls.
2009-09-01, 4877👍, 0💬

<< < 16 17 18 19 20 21 22 23 24 25 26 > >>   Sort: Date