|
|
|
|
|
What is 1000Projects
'1000projects.com' is an educational content website dedicated to finding and realizing Final Year Projects, IEEE Projects, Engineering Projects, Science Fair Projects, Project Topics, Project Ideas, Major Projects, Mini Projects, Paper Presentations, Presentation Topics, IEEE Topics, .Net Projects, Java Projects, PHP Projects, VB Projects, SQL Projects, C & DS Projects, C++ Projects, Perl Projects, ASP Projects, Delphi Projects, HTML Projects, Cold Fusion Projects, Java Script Projects, Btech Projects, BE Projects, MCA Projects, Mtech Projects, MBA Projects, Project on Software, CBSE Projects, Testing Projects, Embedded Projects, Chemistry Projects, Electronics Projects, Electrical Projects, Science Projects, Mechanical Projects, Mba project Reports, Placement papers, Sample Resumes, Entrance Exams, Technical Faq's, Puzzles, etc
how it works?
Everything on this site is submitted by the students in this professional community. You Can submit your Projects, Project Topics & Ideas to info.1000projects{at}gmail.com after you submit your project/project Idea/Abstract/Seminar Topics, These are being verified and approved by our administrator. after approval of this project/project Idea/Abstract/Seminar Topics, It can be shown on 1000projects.com so that other users can read/discuss it.The entire content on this website is Only For Educational Purpose, Non Commercial use!
Please help us/Other Users by sending projects/project Ideas/Abstracts/Seminar Topics. Thanking You!!!!!
Category Articles
How does you handle this COM components developed in other programming languages in .NET?
Added on Fri, Jan 1, 2010
Answer1: add the component in add reference window, click .NETCOM tab. Answer1: While adding the refferences we can handle the COM components in other .Net programming languages. Read More
Can you edit data in the Repeater control
Added on Mon, Jan 4, 2010
No, We Can't Edit Data In Repeater Control Read More
What are the different types of replication? How are they used?
Added on Fri, Jan 1, 2010
Replication is used for distributing data and the execution of stored procedures across an enterprise. The replication technology allows you to make duplicate copies of your data, move those copies to different locations, and synchronize the data... Read More
Contrast OOP and SOA. What are tenets of each ?
Added on Tue, Jan 5, 2010
Service Oriented Architecture. In SOA you create an abstract layer that your applications use to access various ?services? and can aggregate the services. These services could be databases, web services, message queues or other sources. The Service... Read More
Explain about the base class library provided by Microsoft.NET?
Added on Tue, Jan 5, 2010
Base class library rightfully shares a profit for the popularity of Microsoft.NET. It provides functionality to all languages using .NET framework. It is a part of the Frame work class library. It provides classes which perform many functions such as... Read More
Using query analyzer, name 3 ways you can get an accurate count of the number of records in a table.
Added on Fri, Jan 1, 2010
Answer1. a. Select count(*) from table1 b. SELECT object_name(id) ,rowcnt FROM sysindexes WHERE indid IN (1,0) AND OBJECTPROPERTY(id, ?IsUserTable?) = 1 c. exec sp_table_validation @table = ?authors? Answer2. SELECT count( * ) as totalrecords... Read More
How do you create thread in .NET?
Added on Fri, Jan 1, 2010
1) Import System.Threading 2) Create a new thread using new Thread() and assign the address of the method 3) Use Thread.Start method to start the execution using System; using System.Threading; public class Test { static void Main() { ... Read More
How many types of cookies are there?
Added on Fri, Jan 1, 2010
There are two types of cookies: Persistant and Impersistant. Read More
Why The JavaScript Validation Not Run on the Asp.Net Button But Run SuccessFully On The HTML Button
Added on Mon, Jan 4, 2010
The Asp.Net Button Is post backed on the server & not yet Submit & when It goes to the server its states is lost So if we r using javascript in our application so we always use the Input Button in the asp Button. Read More
Can you give an example of what might be best suited to place in the application_Start and Session_Start subroutines
Added on Mon, Jan 4, 2010
Application Start - We can place code to initialize variables once during application start. (e.g, db connection string) Session Start - We can place code to initialize variables specific to the session (e.g, USER ID and other specific info... Read More
Explain about continuable exceptions?
Added on Tue, Jan 5, 2010
Continuable exception is also called as resumption model of exception handling. After taking a corrective correction to the exception generated it is permitted to return to the expression which initiated the exception. In case of a non serious... Read More
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one
Added on Tue, Jan 5, 2010
Provides module initialization and disposal events to the inheriting class.[ Visual Basic]Public Interface IHttpModule[C#]public interface IHttpModule[C++]public __gc __interface IHttpModule[JScript]public interface IHttpModule Read More
What is an interface and what is an abstract class? Please, expand by examples of using both. Explain why.
Added on Mon, Jan 4, 2010
Abstract classes are closely related to interfaces. They are classes that cannot be instantiated, and are frequently either partially implemented, or not at all implemented. One key difference between abstract classes and interfaces is that a class... Read More
If there is a calendar control to be included in each page of your application, and and we do not intend to use the Microsoft-provided calendar control, how do you develop it? Do you copy and paste the code into each and every page of your applicatio
Added on Fri, Jan 1, 2010
Create the Calendar User Control The control we will create will contain a calendar control and a label which has the corresponding date and time written Steps are:- Creating a CalenderControl 1) To begin, open Visual Studio .NET and begin a... Read More
How would one do a deep copy in .NET?
Added on Mon, Jan 4, 2010
System.Array.CopyTo() - Deep copies an Array Read More
ASP.NET Authentication Providers and IIS Security
Added on Mon, Jan 4, 2010
ASP.NET implements authentication using authentication providers, which are code modules that verify credentials and implement other security functionality such as cookie generation. ASP.NET supports the following three authentication providers: ... Read More
What are the differences between User control and Web control and Custom control?
Added on Fri, Jan 1, 2010
Answer1: Usercontrol-> control that is created as u wish. Web Control-> any control placed in web page (web application page) Custom Control-> same as user control with some difference. user control custome control 1.easy to create... Read More
Which DLL file is needed to be registered for ASP?
Added on Fri, Jan 1, 2010
The dll needed for the ASP.net is SYSTEM.WEB.dll Read More
What is the difference between a Local temporary table and a Global temporary table? How is each one used?
Added on Fri, Jan 1, 2010
Answer1: Local templrary table will have a single # (#tablename) appended with the table name.Global templrary table will have Double # (##tablename) appended with the table name. Ex:create table #table1 local temp. table will be available until... Read More
What is indexing?
Added on Fri, Jan 1, 2010
If we give proper indexes on a table so that any queries written against this table can run efficiently. As your data sets grow over time, SQL Server will continue to rebuild indexes and move data around as efficiently as possible. This property is... Read More
State and explain about Microsoft.net?
Added on Tue, Jan 5, 2010
Net framework from Microsoft revolutionized the concept of programming. It contains a huge library of pre-coded solutions. It is specifically designed to manage programs written for it and it is considered very efficient tool for windows applications... Read More
Name atleast two methods of response object other than Transfer.
Added on Fri, Jan 1, 2010
a) Response.ClearContent( ) Clears the content of the current output stream. b) Response.ClearHeaders( ) Clears the HTTP headers from the current output stream. Read More
Observations between VB.NET and VC#.NET
Added on Mon, Jan 4, 2010
Choosing a programming language depends on your language experience and the scope of the application you are building. While small applications are often created using only one language, it is not uncommon to develop large applications using... Read More
What is the difference between a.Equals(b) and a == b?
Added on Mon, Jan 4, 2010
a=b is used for assigning the values (rather then comparison) and a==b is for comparison. Or a == b is used to compare the references of two objects a.Equals(b) is used to compare two objects Or a equals b -> copies contents of b to a a... Read More
What is cts and cls?
Added on Mon, Jan 4, 2010
=>cls stands for common language specification where as cts stands for common type system. =>CLS : cls is a standard for .net . cls is small set of specification to make all languages as a .net compliant languages. cls make a use of cts... Read More
Advantages of migrating to VB.NET
Added on Mon, Jan 4, 2010
Visual Basic .NET has many new and improved language features — such as inheritance, interfaces, and overloading — that make it a powerful object-oriented programming language. As a Visual Basic developer, you can now create multithreaded... Read More
Explain how Viewstate is being formed and how it?s stored on client.
Added on Mon, Jan 4, 2010
The type of ViewState is System.Web.UI.StateBag, which is a dictionary that stores name/value pairs. ViewState is persisted to a string variable by the ASP.NET page framework and sent to the client and back as a hidden variable. Upon postback, the... Read More
What is Reflection?
Added on Mon, Jan 4, 2010
It extends the benefits of metadata by allowing developers to inspect and use it at runtime. For example, dynamically determine all the classes contained in a given assembly and invoke their methods. Reflection provides objects that encapsulate... Read More
NET is Compile Time OR RunTime Environment?
Added on Mon, Jan 4, 2010
Net?s framework has CLS,CTS and CLR.CTS checks declartion of types at the time when u write code and CLS defines some rules and restrictions.and CLR comile everything at runtime with following benefits: Vastly simplified development Seamless... Read More
What is Viewstate?
Added on Tue, Jan 5, 2010
A server control?s view state is the accumulation of all its property values. In order to preserve these values across HTTP requests, ASP.NET server controls use this property, which is an instance of the StateBag class, to store the property values. Read More
Can i change private assembly to shared assembly?How?
Added on Tue, Jan 5, 2010
Yes, You can change from Private to Shared. - Get the SN using sn. exe - Add the SN to the Assembly - Put the Assembly in GAC. Read More
What are the advantages/disadvantages of viewstate?
Added on Fri, Jan 1, 2010
Advantages - On ordinary Web Forms pages, their view state is sent by the server as a hidden variable in a form, as part of every response to the client, and is returned to the server by the client as part of a postback. However, to reduce bandwidth... Read More
What is the difference between thread and process?
Added on Mon, Jan 4, 2010
Thread - is used to execute more than one program at a time. process - executes single program Or A thread is a path of execution that run on CPU, a proccess is a collection of threads that share the same virtual memory. A process have at... Read More
What is the difference between "using System.Data;" and directly adding the reference from "Add References Dialog Box"?
Added on Mon, Jan 4, 2010
When u compile a program using command line, u add the references using /r switch. When you compile a program using Visual Studio, it adds those references to our assembly, which are added using "Add Reference" dialog box. While "using" statement... Read More
What?s the use of System.Diagnostics.Process class?
Added on Mon, Jan 4, 2010
Provides access to local and remote processes and enables you to start and stop local system processes. Or By using System.Diagnostics.Process class, we can provide access to the files which are presented in the local and remote system. Example:... Read More
Explain what a diffgram is, and a good use for one
Added on Mon, Jan 4, 2010
A DiffGram is an XML format that is used to identify current and original versions of data elements. The DataSet uses the DiffGram format to load and persist its contents, and to serialize its contents for transport across a network connection.... Read More
What are PDBs? Where must they be located for debugging to work?
Added on Mon, Jan 4, 2010
To debug precompiled components such as business objects and code-behind modules, you need to generate debug symbols. To do this, compile the components with the debug flags by using either Visual Studio .NET or a command line compiler such as Csc.... Read More
How does output caching work in ASP.NET?
Added on Mon, Jan 4, 2010
Output caching is a powerful technique that increases request/response throughput by caching the content generated from dynamic pages. Output caching is enabled by default, but output from any given response is not cached unless explicit action is... Read More
What is boxing?
Added on Tue, Jan 5, 2010
Boxing is an implicit conversion of a value type to the type object int i = 123; // A value type Object box = i // Boxing Unboxing is an explicit conversion from the type object to a value type int i = 123; // A value type object box = i; //... Read More
How do you find the error, how can you know the number of rows affected by last SQL Statement
Added on Fri, Jan 1, 2010
Answer1 @@errors->give the last error occurred in the current DB. Ans. select @@rowcount Answer2. Use @@ERROR which returns the error number for the last Transact- SQL statement executed fro knowing the error. Use @@ROWCOUNT which returns... Read More
Describe session handling in webform. How does it work and what are the limits? S
Added on Fri, Jan 1, 2010
Session management in ASP.NET can be done in two ways: Using Cookies Encoding of URLs with Session ID Read More
What are good ADO.NET object(s) to replace the ADO Recordset object?
Added on Fri, Jan 1, 2010
The differences includes In ADO, the in-memory representation of data is the Recordset. In ADO.net, it is the dataset A recordset looks like a single table in ADO In contrast, a dataset is a collection of one or more tables in ADO.net ADO is... Read More
How can you deploy an asp.net application ?
Added on Fri, Jan 1, 2010
You can deploy an ASP.NET Web application using any one of the following three deployment options. a) Deployment using VS.NET installer b) Using the Copy Project option in VS .NET c) XCOPY Deployment Read More
Name atleast three methods of response object other than Redirect.
Added on Fri, Jan 1, 2010
Answer1 a) Response.Clear( ) Clears the content of the current output stream. b) Response.Close( ) Closes the network socket for the current response. c) Response.End( ) Stops processing the current request and sends all buffered content to the... Read More
What is an execution plan? When would you use it? How would you view the execution plan?
Added on Fri, Jan 1, 2010
The Query Analyzer has a feature called Show Execution Plan. This option allows you to view the execution plan used by SQL Server?s Query Optimizer to actually execute the query. This option is available from the Query menu on the main menu of Query... Read More
Explain differences between Server.Transfer and server.execute method
Added on Fri, Jan 1, 2010
Answer1: server.transfer-> transfers the server?s control to the requested page given in the parameter. server.Execute-> executes the requested page from the current page itself, with no change in the address bar. after execution the next... Read More
Can you have two files with the same file name in GAC?
Added on Fri, Jan 1, 2010
Yes, remember that GAC is a very special folder, and while normally you would not be able to place two files with the same name into a Windows folder, GAC differentiates by version number as well, so it?s possible for MyApp. dll and MyApp.dll to co... Read More
What are the advantages and drawbacks of using ADO.NET?
Added on Mon, Jan 4, 2010
Pros ==== ADO.NET is rich with plenty of features that are bound to impress even the most skeptical of programmers. If this weren?t the case, Microsoft wouldn?t even be able to get anyone to use the Beta. What we?ve done here is come up with a... Read More
What is cyclomatic complexity and why is it important?
Added on Mon, Jan 4, 2010
Cyclomatic complexity is a computer science metric (measurement) developed by Thomas McCabe used to generally measure the complexity of a program. It directly measures the number of linearly independent paths through a program?s source code. The... Read More
What is managed code and managed data?
Added on Mon, Jan 4, 2010
Managed code is code that is written to target the services of the Common Language Runtime. In order to target these services, the code must provide a minimum level of information (metadata) to the runtime. All C#, Visual Basic .NET, and JScript ... Read More
How to clear a datagrid on a button click?
Added on Mon, Jan 4, 2010
You need to Clear the DataSource of the dadaGrid. So try this: dataSet1.Clear(); dataGrid1.DataSource = dataSet1.TableNameHere.DefaultView; or C#: dataGrid1.DataSource = null; VB: dataGrid1.DataSource = nothing Read More
Briefly explain how the server control validation controls work.
Added on Mon, Jan 4, 2010
A validation control works by evaluating the value of an input server control on the page to see whether it meets certain criteria. The input control to evaluate is specified through the validation control?s ControlToValidate attribute. You can... Read More
Briefly explain how server form post-back works (perhaps ask about view state as well).
Added on Mon, Jan 4, 2010
Post Back: The process in which a Web page sends data back to the same page on the server. View State: ViewState is the mechanism ASP.NET uses to keep track of server control state values that don't otherwise post back as part of... Read More
Describe the difference between inline and code behind - which is best in a loosely coupled solution.
Added on Mon, Jan 4, 2010
Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page Read More
With respect to security ,which one is the better choice ,.Net or J2EE? Explain.........
Added on Mon, Jan 4, 2010
As per majority programmers .NET is the best one whch have single vendor compare to ,the eace of use,more use friendly,u can send any problem ,it'll be solved. Read More
Can implement same method name in both base class And derived class with different action?
Added on Mon, Jan 4, 2010
method overloading is possible. suppose baseclass class class1 is having method called getname(string name) this method can be overloaded in derived class class2:class1 { void getmethod(int i,string name) { } } Read More
What is "Microsoft Intermediate Language" (MSIL)?
Added on Mon, Jan 4, 2010
A .NET programming language (C#, VB.NET, J# etc.) does not compile into executable code; instead it compiles into an intermediate code called Microsoft Intermediate Language (MSIL). As a programmer one need not worry about the syntax of MSIL - since... Read More
What is the difference between imperative and interrogative code?
Added on Tue, Jan 5, 2010
There are imperative and interrogative functions and I think they are talking about that. Imperative functions are the one which return a value while the interrogative functions do not return a value. Read More
What is the difference between ASP and ASP.NET?
Added on Tue, Jan 5, 2010
ASP ASP.NET ASP is interpreted. ASP.NET Compiled event base programming. Control events for text button can be handled at client javascript only. Since we have server controls events can handle at server side. More error handling. ? ASP .NET has... Read More
What is the maximum length of a varchar in SQL Server?
Added on Fri, Jan 1, 2010
Answer1 VARCHAR[(n)] Null-terminated Unicodecharacter string of length n, with a maximum of 255 characters. If n is not supplied, then 1 is assumed. Answer2 8000 Answer3 The business logic is the aspx.cs or the aspx.vb where the code is... Read More
Explain differences between ADO and DAO.
Added on Fri, Jan 1, 2010
DAO- can access only access database ADO- can access any databases Read More
What are the types of cookies are there?
Added on Fri, Jan 1, 2010
Answer1 Two type of cookeies. a) single valued eg request.cookies(?UserName?).value=?Mahesh? b)Multivalued cookies. These are used in the way collections are used. e.g. request.cookies(?CookiName?)(?UserName?)=?Mahesh? request.cookies(... Read More
What does it mean to have quoted_identifier on? What are the implications of having it off?
Added on Fri, Jan 1, 2010
SET QUOTED_IDENTIFIER ON- Causes SQL Server to follow the SQL-92 rules regarding quotation mark delimiting identifiers and literal strings. Identifiers delimited by double quotation marks can be either Transact-SQL reserved keywords or can contain... Read More
What are cursors? Name four type of cursors and when each one would be applied?
Added on Fri, Jan 1, 2010
Opening a cursor on a result set allows processing the result set one row at a time. The four API server cursor types supported by SQL Server are: a) Static cursors b) Dynamic cursors c) Forward-only cursors d) Keyset-driven cursors Read More
What is de-normalization? When do you do it and how?
Added on Fri, Jan 1, 2010
De-normalization is the process of attempting to optimize the performance of a database by adding redundant data. It?s used To introduce redundancy into a table in order to incorporate data from a related table. The related table can then be... Read More
What is CLR?
Added on Mon, Jan 4, 2010
CLR is .NET equivalent of Java Virtual Machine ( JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It... Read More
What are value types and reference types
Added on Mon, Jan 4, 2010
Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort Value types are stored in the Stack Reference type - class, delegate, interface, object, string Reference types are stored in the... Read More
What is serialization, how it works in .NET?
Added on Mon, Jan 4, 2010
Serialization is when you persist the state of an object to a storage medium so an exact copy can be re-created at a later stage. Serialization is used to save session state in ASP.NET. Serialization is to copy objects to the Clipboard in Windows... Read More
What is .NET / .NET Framework?
Added on Mon, Jan 4, 2010
It is a Framework in which Windows applications may be developed and run. The Microsoft .NET Framework is a platform for building, deploying, and running Web Services and applications. It provides a highly productive, standards-based, multi- ... Read More
Give the detail procedure of how to add different controls at runtime in VB and dot Net. The controls should be added as per the customers requirement at the customers place without intervention of the programmer. Similarly how to remove these contro
Added on Mon, Jan 4, 2010
This can be done using a Contrl array. You need to know what controls you want to allow users to add at runtime n create a control array for those controls. You would get set the other properties once you add a new control on the array and make it... Read More
What are the Types of Assemblies?
Added on Mon, Jan 4, 2010
Assemblies are of two types 1. Private Assemblies 2. Shared Assemblies Private Assemblies: The assembly is intended only for one application. The files of that assembly must be placed in the same folder as the application or in a sub folder. No... Read More
What is "Common Language Specification" (CLS)?
Added on Mon, Jan 4, 2010
CLS is the collection of the rules and constraints that every language (that seeks to achieve .NET compatibility) must follow. It is a subsection of CTS and it specifies how it shares and extends one another libraries. Read More
Explain the differences between Server-side and Client-side code?
Added on Mon, Jan 4, 2010
Server Side Code -------------------- Server side is the code that resides at web server. For every client request code is executed at server side and result is send to the client in simple HTML format. Performance is lower than client side... Read More
What is an Intermediate language?
Added on Mon, Jan 4, 2010
Assemblies are made up of IL code modules and the metadata that describes them. Although programs may be compiled via an IDE or the command line, in fact, they are simply translated into IL, not machine code. The actual machine code is not generated... Read More
What is the base class of Button control?
Added on Mon, Jan 4, 2010
System.object Or Listing from visual studio .net > Button Class System.Object System.MarshalByRefObject System.ComponentModel.Component System.Windows.Forms.Control System.Windows.Forms.ButtonBase System.Windows.Forms.Button Read More
What is "Common Language Runtime" (CLR)?
Added on Tue, Jan 5, 2010
CLR is .NET equivalent of Java Virtual Machine ( JVM). It is the runtime that converts a MSIL code into the host machine language code, which is then executed appropriately. The CLR is the execution engine for .NET Framework applications. It... Read More
What are the features of ADO.Net ?
Added on Tue, Jan 5, 2010
ADO.NET features: 1.Disconnected Data Architecture 2. Data cached in Datasets 3. Data transfer in XML format 4. Interaction with the database is done through data commands Read More
What is the difference between user control an custom control? What are the advantages/disadvantages
Added on Tue, Jan 5, 2010
Web user controls Vs Web custom controls Easier to create Vs Harder to create Limited support for consumers who use a visual design tool Vs Full visual design tool support for consumers A separate copy of the control is required in each... Read More
What is a constructor ?
Added on Tue, Jan 5, 2010
Constructor is a method in the class which has the same name as the class (in VB.Net its New()). It initialises the member attributes whenever an instance of the class is created. Read More
What is GAC?
Added on Tue, Jan 5, 2010
The global assembly cache stores assemblies specifically designated to be shared by several applications on the computer. You should share assemblies by installing them into the global assembly cache only when you need to. Assemblies deployed in... Read More
What is the difference between a Debug and Release build? Is there a significant speed difference? Why or why not?
Added on Tue, Jan 5, 2010
Debug build contain debug symbols and can be debugged while release build doesn?t contain debug symbols, doesn?t have [Contional(?DEBUG?)] methods calls compiled, can?t be debugged (easily, that is), less checking, etc. There should be a speed... Read More
What is Response object? How is it related to ASP?s Response object?
Added on Tue, Jan 5, 2010
Response object allows the server to communicate with the client(browser). It is useful for displaying information to the user (or) redirecting the client. Eg: Response.Write(?Hello World?) Read More
What is Task?
Added on Fri, Jan 1, 2010
Whenever you execute a program, the operating system creates a new task for it. The task is like an envelope for the program. It identifies the program with a task number and attaches other bookkeeping information to it. Read More
How do SQL Server 2000 and XML linked? What is SQL Server agent?
Added on Fri, Jan 1, 2010
Every Request or the Response to or from SQL Server is converted into XML format. Its purpose is to ease the implementation of tasks for the DBA, with its full-function scheduling engine, which allows you to schedule your own jobs and scripts. Read More
What is referential integrity and how can we achieve it?
Added on Fri, Jan 1, 2010
Referential integrity preserves the defined relationships between tables when records are entered or deleted. In SQL Server, referential integrity is based on relationships between foreign keys and primary keys or between foreign keys and unique... Read More
What is State?
Added on Fri, Jan 1, 2010
It is the property of the web forms. ASP.NET provides four types of state: Application state Session state Cookie state View state. Read More
What is the STUFF function and how does it differ from the REPLACE function?
Added on Fri, Jan 1, 2010
stuff- Inserts into it without removing any thing. Replace->replace the given text with the new one. Answer2: STUFF - It deletes a specified length of characters and inserts another set of characters at a specified starting point. REPLACE ... Read More
What is the purpose of UPDATE STATISTICS?
Added on Fri, Jan 1, 2010
UPDATE STATISTICS- it updates information about the distribution of key values for one or more statistics groups (collections) in the specified table or indexed view. Read More
What?s the difference between private and shared assembly?
Added on Fri, Jan 1, 2010
Private assembly is used inside an application only and does not have to be identified by a strong name. Shared assembly can be used by multiple applications and has to have a strong name. Read More
What?s a strong name?
Added on Fri, Jan 1, 2010
A strong name includes the name of the assembly, version number, culture identity, and a public key token. Read More
What is delay signing?
Added on Fri, Jan 1, 2010
Delay signing allows you to place a shared assembly in the GAC by signing the assembly with just the public key. This allows the assembly to be signed with the private key at a later stage, when the development process is complete and the component... Read More
What is "Common Type System" (CTS)?
Added on Mon, Jan 4, 2010
CTS defines all of the basic types that can be used in the .NET Framework and the operations performed on those type. All this time we have been talking about language interoperability, and .NET Class Framework. None of this is possible without... Read More
Why is catch(Exception) almost always a bad idea?
Added on Mon, Jan 4, 2010
Well, if at that point you know that an error has occurred, then why not write the proper code to handle that error instead of passing a new Exception object to the catch block? Throwing your own exceptions signifies some design flaws in the project. Read More
What Is The Difference Between ViewState and SessionState
Added on Mon, Jan 4, 2010
ViewState persist the values of controls of particular page in the client (browser) when post back operation done. When user requests another page previous page data no longer available. SessionState persist the data of particular user in the... Read More
What is strong-typing versus weak-typing? Which is preferred? Why?
Added on Mon, Jan 4, 2010
Strong type is checking the types of variables as soon as possible, usually at compile time. While weak typing is delaying checking the types of the system as late as possible, usually to run-time. Which is preferred depends on what you want. For... Read More
What is a Strong Name?
Added on Mon, Jan 4, 2010
A strong name consists of the assembly's identity — its simple text name, version number, and culture information (if provided) — plus a public key and a digital signature. It is generated from an assembly file (the file that... Read More
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?
Added on Mon, Jan 4, 2010
ComboBox.DataValueField = "ColumnName" When we use Databind method for the Combobox we set DisplayMember and DIsplayValue property to column name. Read More
Which control cannot be placed in MDI?
Added on Mon, Jan 4, 2010
The controls that do not have events. Read More
How different are interface and abstract class in .Net?
Added on Mon, Jan 4, 2010
Abstract classes can not be instantiated it can have or cannot have abstract method basically known as mustinherit as the methods are static in nature where interfaces are the declaration and r defined where they are called used for dynamic... Read More
What tags do you need to add within the asp:datagrid tags to bind columns manually?
Added on Mon, Jan 4, 2010
Inside tag in asp:Datagrid we set Text attribute to<%= #container.Eval(databinder.dataitem,"Col_Name") %> Read More
What is the Scope of public/private/friend/protected/protected friend
Added on Mon, Jan 4, 2010
Scope of public/private/friend/protected/protected friend. Visual Basic/Visual C# Public/public All members in all classes and projects. Private/private Members of the current class only. Friend/internal All members in the current project. ... Read More
What are Assemblies.
Added on Mon, Jan 4, 2010
Assemblies are similar to dll files. Both has the reusable pieces of code in the form of classes/ functions. Dll needs to be registered but assemblies have its own metadata. Or Assembly is a single deployable unit that contains information about... Read More
What tags do you need to add within the asp:datagrid tags to bind columns manually.
Added on Mon, Jan 4, 2010
<asp:BoundColumn> is the tag you usually use to add a bound column. You may also use <asp:TemplateColumn> <ItemTemplate><%#...%></ItemTemplate> </asp:TemplateColumn> to add a bound column to a datagrid. Read More
What is FullTrust? Do GAC?ed assemblies have FullTrust
Added on Mon, Jan 4, 2010
Your code is allowed to do anything in the framework, meaning that all (.Net) permissions are granted. The GAC has FullTrust because it?s on the local HD, and that has FullTrust by default, you can change that using caspol Read More
What is an Interface?
Added on Mon, Jan 4, 2010
An interface is not a class. It is an entity that is defined by the word Interface. An interface has no implementation; it only has the signature or in other words, just the definition of the methods without the body. As one of the similarities to... Read More
How can I read .doc document in ASP.Net?
Added on Mon, Jan 4, 2010
private void Button1_Click(object sender, System.EventArgs e) { string path="C:Inetpubsample.doc"; using(StreamReader rd=new StreamReader(path)) { string LineNo; while ((LineNo=rd.ReadLine())!=null) { Label1.Text+=" "+line; ... Read More
What?s wrong with a line like this ? DateTime.Parse(myString).
Added on Mon, Jan 4, 2010
The result returned by this function is not assigned to anything, should be something like var x = DateTime.Parse(myString) Read More
What is a Manifest?
Added on Mon, Jan 4, 2010
An assembly manifest contains all the metadata needed to specify the assembly's version requirements and security identity, and all metadata needed to define the scope of the assembly and resolve references to resources and classes. The... Read More
What is a Web Service?
Added on Mon, Jan 4, 2010
A web service is a software component that exposes itself through the open communication channels of the Internet. Applications running on remote machines, on potentially different platforms, can access these components in a language and platform... Read More
What is the Main difference between ASP and ASP.NET ?
Added on Mon, Jan 4, 2010
Asp supports only scripting languages,both designing & coding part is on same page,so we can't have parallel processing... in Asp.net both coding & designing part are different page....this supports parallel processing...it also... Read More
With respect to security ,which one is the better choice?.Net or J2EE? Explain.
Added on Mon, Jan 4, 2010
As per majority programmers .NET is the best one which have single vendor compare to ,the ease of use,more use friendly,you can send any problem ,it'll be solved. Read More
What is the purpose of reserved word ?using? in C#?
Added on Mon, Jan 4, 2010
A keyword that specifies that types in a particular namespace can be referred to without requiring their full qualified type names. Read More
what's ArrayList in .Net (VB.Net or C#)
Added on Mon, Jan 4, 2010
Question : what's ArrayList in .Net (VB.Net or C#) What's the advantageous using ArrayList. Answers: ArrayList is an extended managment of Arrays.... ArrayList can hold objects(custom...or...defined) ... Read More
Is string a value type or a reference type
Added on Mon, Jan 4, 2010
String is Reference Type. Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short,strut, uint, ulong, ushort Value types are stored in the Stack Reference type - class, delegate, interface, object, string Reference... Read More
What is the difference between proc. sent BY VAL and By Ref?
Added on Mon, Jan 4, 2010
BY VAL: changes will not be reflected back to the variable. By REF: changes will be reflected back to that variable.( same as & symbol in c, c++) Read More
When multiple users are working on one application, the SQL/Oracle statement gets locked when one user is working, thus another user cannot work simultaneously. How can multiple users work. Thus give me syntax for freeing SQL/Oracle queries in order
Added on Mon, Jan 4, 2010
Oracle statement does not get locked. What gets locked is the 'row' alone. Normally, single row needs to be modified by a single transaction only at a time, and oracle correctly locks the row, when it updates/deletes. For reads, i.e, '... Read More
What type of code (server or client) is found in a Code-Behind class?
Added on Mon, Jan 4, 2010
Serverside Code, since Code Behind is responsible for executing any Event which is fired by Front End Controls and Web Application is not totally stored on the client machine but it process the request of client and transfer data accordingly. Read More
What should you do to store an object in a Viewstate
Added on Mon, Jan 4, 2010
Do serialization of convert the object to string Read More
Which method do you invoke on the DataAdapter control to load your generated dataset with data?
Added on Mon, Jan 4, 2010
dataAdapter.Fill(ds). The beauty of this method is it automatically implicitly opens the connection to database and closes it once done.We dont need to worry about opening and closing the connection to the database. Read More
What are the differences between ASP and ASP .Net ?
Added on Mon, Jan 4, 2010
1. ASP: Code is Interpreted ASP.NET: Code is Compiled 2. ASP: Business Logic and Presentation Logic are in a single file ASP.NET: Business Logic and Presentation Logic are in separate files (.cs or .vb) and (.aspx) respectively. 3. ASP: No Web... Read More
What?s the difference between Response.Write() and Response.Output.Write()?
Added on Mon, Jan 4, 2010
Both Response.Write() and Response.Output.Write() are used to display output on the Screen. But Using Reponse.Output.Write() you can display formattable output while Response.Write() can only display single character line. Read More
Which template must you provide, in order to display data in a Repeater control?
Added on Mon, Jan 4, 2010
ItemTemplate.To display data in the ItemTemplate, declare one or more Web server controls and set their data-binding expressions to evaluate to a field in the Repeater control's (that is, the container control's) DataSource. Read More
What is the difference between Servers? Transfer and Response. Redirect? Why would I choose one over the other?
Added on Mon, Jan 4, 2010
Response.Redirect() needs 2 http requests or contacts with the server. whereas, Server.Transfer() needs only one..the redirection is done on the server side. Read More
What is connection pooling and how do you make your application use it?
Added on Mon, Jan 4, 2010
Opening database connection is a time consuming operation. Connection pooling increases the performance of the applications by reusing the active database connections instead of create new connection for every request. Connection pooling Behaviour... Read More
What should one do to make class serializable?
Added on Mon, Jan 4, 2010
To make a class serializable is to mark it with the Serializable attribute as follows. [Serializable] public class MyObject { public int n1 = 0; public int n2 = 0; public String str = null; } Read More
What are the two kinds of properties.
Added on Mon, Jan 4, 2010
Two types of properties in .Net: Get & Set Read More
RaiseEvent eventname[( argumentlist )]
Added on Mon, Jan 4, 2010
The required eventname is the name of an event declared within the module. It follows Visual Basic variable naming conventions. Read More
webFarm Vs webGardens
Added on Mon, Jan 4, 2010
A web farm is a multi-server scenario. So we may have a server in each state of US. If the load on one server is in excess then the other servers step in to bear the brunt. How they bear it is based on various models. 1. RoundRobin. (All servers... Read More
What is the RaiseEvent used for?
Added on Mon, Jan 4, 2010
RaiseEvent StatementTriggers an event declared at module level within a class, form, or document. Read More
Name some changes done since version 3.0?
Added on Mon, Jan 4, 2010
Some of the features which were changed since version 3 are as follows. 1) New language features in C# and VB.NET compiler 2) Expression trees which can represent high level code at any time 3) LINQ along with its providers i) LINQ to object ii)... Read More
What is a Metadata?
Added on Tue, Jan 5, 2010
Metadata is information about a PE. In COM, metadata is communicated through non-standardized type libraries. In .NET, this data is contained in the header portion of a COFF-compliant PE and follows certain guidelines; it contains information such as... Read More
What is the use of ErrorProvider Control
Added on Tue, Jan 5, 2010
The ErrorProvider control is used to indicate invalid data on a data entry form. Using this control, you can attach error messages that display next to the control when the data is invalid, as seen in the following image. A red circle with an... Read More
What do you know about ADO.NET?s objects and methods?
Added on Tue, Jan 5, 2010
ADO.NET provides consistent access to data sources such as Microsoft SQL Server, as well as data sources exposed through OLE DB and XML. Data-sharing consumer applications can use ADO.NET to connect to these different data sources and retrieve,... Read More
What are good ADO.NET object(s) to replace the ADO Recordset object
Added on Tue, Jan 5, 2010
ADO.Net dataset is a good replacement / enhancement for ADO recordsets. The advantages are 1. XML representation and scalability 2. possibility of bringing data from multiple data sources into one dataset Read More
What is a Windows Service and how does its lifecycle differ from a ?standard? EXE?
Added on Tue, Jan 5, 2010
Windows Service applications are long-running applications that are ideal for use in server environments. The applications do not have a user interface or produce any visual output; it is instead used by other programs or the system to perform... Read More
What property must you set, and what method must you call in your code, in order to bind the data from some data source to the Repeater control?
Added on Tue, Jan 5, 2010
You must set the DataMember property which Gets or sets the specific table in the DataSource to bind to the control and the DataBind method to bind data from a source to a server control. This method is commonly used after retrieving a data set... Read More
Whats MSIL, and why should my developers need an appreciation of it if at all?
Added on Tue, Jan 5, 2010
MSIL(Microsoft Intermidiate Language) is a the powerful feature used by .NET to execute the users code.As .NET support multiple language usage for code development and cross-language usability, all the code of a solution is eventually converted in to... Read More
What is the difference between an EXE and a DLL?
Added on Tue, Jan 5, 2010
An EXE can run independently, whereas DLL will run within an EXE. DLL is an in-process file and EXE is an out-process file. Read More
Explain about metadata?
Added on Tue, Jan 5, 2010
Metadata is usually created by compilers but it can also be generated by the developers through custom attributes. It is used for reflective programming capabilities and it contains information about the assembly. CIL is self describing through Meta... Read More
Explain about appdomains?
Added on Tue, Jan 5, 2010
This appdomains mechanism isolates code during process running. It has flexible options in which you can state whether you want the code to be loaded during the process or not. Security aspects can also be directed towards appdomains. Primary role is... Read More
Using COM Component in .Net
Added on Tue, Jan 5, 2010
As most of you know that .Net does not encourage the development of COM components and provides a different solution to making reusable components through Assemblies. But, there are a lot of COM components present which our .Net application might... Read More
What is the difference between a namespace and assembly name
Added on Tue, Jan 5, 2010
A namespace is a logical naming scheme for types in which a simple type name, such as MyType, is preceded with a dot-separated hierarchical name. Such a naming scheme is completely under control of the developer. For example, types MyCompany... Read More
Which method do you use to redirect the user to another page without performing a round trip to the client
Added on Tue, Jan 5, 2010
Server. Transfer() : client is shown as it is on the requesting page only, but the all the content is of the requested page. Data can be persist accros the pages using Context.Item collection, which is one of the best way to transfer data from one... Read More
What method do you use to explicitly kill a user session?
Added on Tue, Jan 5, 2010
The Abandon method destroys all the objects stored in a Session object and releases their resources.If you do not call the Abandon method explicitly, the server destroys these objects when the session times out. Syntax: Session.Abandon Read More
Explain differences between framework 1.0 and framework 1.1?
Added on Fri, Jan 1, 2010
1. Native Support for Developing Mobile Web Applications 2. Unified Programming Model for Smart Client Application Development 3. Enable Code Access Security for ASP.NET Applications 4. Native Support for Communicating with ODBC and Oracle... Read More
How do you separate business logic while creating an ASP.NET application
Added on Fri, Jan 1, 2010
There are two level of asp.net debugging 1. Page level debugging For this we have to edit the page level debugging enable the trace to true in the line in the html format of the page. %@ Page Language=?vb? trace=?true?AutoEventWireup=?false?... Read More
How do we upgrade SQL Server 7.0 to 2000?
Added on Fri, Jan 1, 2010
Run the installation of the SQL Server 2000 In the Existing Installation dialog box, click Upgrade your existing installation, and then click Next. In the Upgrade dialog box, you are prompted as to whether you want to proceed with the requested... Read More
How do u call and execute a stored procedure in .NET?
Added on Fri, Jan 1, 2010
system.Data; system.Data.SqlClient; SqlConnection sqCon = new SqlConnection(?connection string?); SqlCommand sqCmd = new SqCmd(); sqCmd.Connection = sqCon; sqCmd.CommandText = procedure_name; sqCmd.CommandType = CommandType.StoredProcedure; ... Read More
How can you deploy an asp.net application
Added on Fri, Jan 1, 2010
You can deploy an ASP.NET Web application using any one of the following three deployment options. a) Deployment using VS.NET installer b) Using the Copy Project option in VS .NET c) XCOPY Deployment Read More
Explain similarities and differences between Java and .NET?
Added on Fri, Jan 1, 2010
Comparing Java and .NET is comparing apples and oranges. Either the question needs to be to compare Java and C# or J2EE and .NET. Read More
How do you use DBCC statements to monitor various ASPects of a SQL Server installation
Added on Fri, Jan 1, 2010
Database Consistency Checker (DBCC) - Is a statement used to check the logical and physical consistency of a database, check memory usage, decrease the size of a database, check performance statistics, and so on. Database consistency checker (DBCC)... Read More
How do you declare a static variable and what is its lifetime? Give an example.
Added on Fri, Jan 1, 2010
First answer: static int Myint?The life time is during the entire application. Second answer: The static modifier is used to declare a static member, which belongs to the type itself rather than to a specific object. The static modifier can be... Read More
What does Server.MapPath do?
Added on Fri, Jan 1, 2010
Answer1 srver.mappath() maps the path given in the argument to the server?s physical path. Answer2 It returns the complete(absolute) path of the file used in parameter. Answer3 It returns a string containing the physical path in the server?s... Read More
What is the purpose of using COLLATE in a query
Added on Fri, Jan 1, 2010
Answer1. Collation refers to a set of rules that determine how data is sorted and compared. Character data is sorted using rules that define the correct character sequence, with options for specifying case-sensitivity, accent marks, kana character... Read More
Explain features of SQL Server like Scalability , Availability, Integration with Internet.
Added on Fri, Jan 1, 2010
Scalability - The same Microsoft SQL Server 2000 database engine operates on Microsoft Windows 2000 Professional, Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Windows 98, and Windows Millennium Edition. It also runs on... Read More
How can you tell the application to look for assemblies at the locations other than its own install?
Added on Fri, Jan 1, 2010
Use the directive in the XML .config file for a given application. <probing privatePath=?c:mylibs; bindebug? /> should do the trick. Or you can add additional search paths in the Properties box of the deployed application. Read More
What is the difference between ADO and ADO.NET?
Added on Mon, Jan 4, 2010
ADO uses Recordsets and cursors to access and modify data. Because of its inherent design, Recordset can impact performance on the server side by tying up valuable resources. In addition, COM marshalling - an expensive data conversion process -... Read More
How u can create XML file?
Added on Mon, Jan 4, 2010
To write Dataset Contents out to disk as an XML file use: MyDataset.WriteXML(server.MapPath("MyXMLFile.xml")) Read More
What is Web.config?
Added on Mon, Jan 4, 2010
classic ASP all Web site related information was stored in the metadata of IIS. This had the disadvantage that remote Web developers couldn't easily make Web-site configuration changes. For example, if you want to add a custom 404 error... Read More
How do you turn off cookies for one page in your site
Added on Mon, Jan 4, 2010
Use the Cookie.Discard Property which Gets or sets the discard flag set by the server. When true, thisproperty instructs the client application not to save the Cookie on the user?s hard disk when a session ends. Or it can be turned off by... Read More
What is the difference between VB and VB.NET?
Added on Mon, Jan 4, 2010
What is the difference between VB and VB.NET? Now VB.NET is object-oriented language. The following are some of the differences: Data Type Changes The .NET platform provides Common Type System to all the supported languages. This means that all... Read More
In .NET Compact Framework, can I free memory explicitly without waiting for garbage collector to free the memory?
Added on Mon, Jan 4, 2010
ya you can clear the memory using gc.collect method but it is recommanded that u should not call this coz we dont know the exact time when the gc will be called automaticle. Read More
How do you create a permanent cookie
Added on Mon, Jan 4, 2010
By setting the expiry date of the cookie to a later time (like 10 years later.) Read More
Can we run .NET in unix plateform?
Added on Mon, Jan 4, 2010
One of the disadvantages of using Visual Studio.NET and the .NET framework to develop applications has been the lack of cross-platform support. Since the introduction of the .NET framework and common language run time a few years ago, there have been... Read More
What is Machine.config?
Added on Mon, Jan 4, 2010
Machine configuration file: The machine.config file contains settings that apply to the entire computer. This file is located in the %runtime install path%Config directory. There is only one machine.config file on a computer. The Machine.Config file... Read More
Describe ways of cleaning up objects.
Added on Mon, Jan 4, 2010
The run time will maintain a service called as garbage collector.this service will take care of deallocating memory corresponding to objects.it works as a thread with least priority.when application demenads for memory the runtime will take care... Read More
Creating a Key Pair
Added on Mon, Jan 4, 2010
You can create a key pair using the Strong Name tool (Sn. exe). Key pair files usually have an .snk extension. To create a key pair At the command prompt, type the following command: sn –k <file name> In this command, file name is the... Read More
Should validation (did the user enter a real date) occur server-side or client-side? Why?
Added on Mon, Jan 4, 2010
Validation will be done in both sides i.e., at the server side and client side. Server side validation will be done even though client side validation performed on the code because of proper security reasons. Read More
Explain manifest & metadata.
Added on Mon, Jan 4, 2010
Manifest is metadata about assemblies. Metadata is machine-readable information about a resource, or ??data about data.? In .NET, metadata includes type definitions, version information, external assembly references, and other standardized... Read More
Explain about code access security?
Added on Mon, Jan 4, 2010
Code access security is used to check for permissions. If an assembly is not having required permission it stops the assembly from getting executed. It uses various procedures to determine whether a certain assembly has permissions or not. Security... Read More
Difference between Panel and GroupBox classes?
Added on Mon, Jan 4, 2010
Panel & Group box both can used as container for other controls like radio buttons & check box. the difference in panel & group box are Panel 1) In case of panel captions cannot be displayed 2) Can have scroll bars. Group box 1)... Read More
What are Attributes?
Added on Mon, Jan 4, 2010
Attributes are declarative tags in code that insert additional metadata into an assembly. There exist two types of attributes in the .NET Framework: Predefined attributes such as AssemblyVersion, which already exist and are accessed through the... Read More
How would ASP and ASP.NET apps run at the same time on the same server
Added on Mon, Jan 4, 2010
Both ASP and ASP.net can be run at same server, becuase IIS has the capability to respond/serve both ASP and ASP.NET request. Read More
Can you explain what inheritance is and an example of when you might use it?
Added on Mon, Jan 4, 2010
The process of deriving a new class from an existing class is called Inheritance. The old class is called the base class and the new class is called derived class. The derived class inherits some or everything of the base class. In Visual Basic... Read More
What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?
Added on Mon, Jan 4, 2010
The points of difference are as follows: 1. ASP.Net web forms have a code behind file which contains all event handling code. ASP does not have such facility to separate programming logic from design. 2. ASP.Net web forms inherit the class... Read More
Using ActiveX Control in .Net
Added on Mon, Jan 4, 2010
ActiveX control is a special type of COM component that supports a User Interface. Using ActiveX Control in your .Net Project is even easier than using COM component. They are bundled usually in .ocx files. Again a proxy assembly is made by .Net... Read More
Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page. Briefly describe the role of global.asax
Added on Mon, Jan 4, 2010
The Global.asax file is the central point for ASP.NET applications. It provides numerous events to handle various application-wide tasks such as user authentication, application start up, and dealing with user sessions. You should be familiar... Read More
In what order do the events of an ASPX page execute. As a developer is it important to understand these events?
Added on Mon, Jan 4, 2010
if you try to access it in Page_Load that is way earlier than Control's own Render method. See ther Page/control lifecycle goes like this for the Page and controls (being already in the controls collection, dynamic ones play catchup) ... Read More
Describe session handling in a webfarm, how does it work and what are the limits
Added on Mon, Jan 4, 2010
In ASP.NET there are three ways to manage session objects. one support the in-proc mechanism and other two's support the out-proc machanism. 1) In-Proc (By Default) 2) SQL-Server (Out-proc) - Using SQL server or any other database for... Read More
Contrast the use of an abstract base class against an interface?
Added on Mon, Jan 4, 2010
In the interface all methods must be abstract, in the abstract class some methods can be concrete. In the interface no accessibility modifiers are allowed, which is ok in abstract classes Read More
What does this do? gacutil /l | find /i ?about?
Added on Mon, Jan 4, 2010
gacutil. exe is used to install strong typed assembly in GAC. gacutil.exe /l is used to lists the contents of the global assembly cache. |(pipe) symbol is used to filter the output with another command. find /i ?about? is to find the text ... Read More
Can you give an example of what might be best suited to place in the Application Start and Session Start subroutines?
Added on Mon, Jan 4, 2010
Application Start - We can place code to initialize variables once during application start. (e.g, db connection string) Session Start - We can place code to initialize variables specific to the session (e.g, USER ID and other specific info... Read More
What are HTML controls, Web controls, and server controls.
Added on Mon, Jan 4, 2010
HTML Control - By default, HTML elements on a Web Forms page are not available to the server; they are treated as opaque text that is passed through to the browser. However, by converting HTML elements to HTML server controls, you expose them as... Read More
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
Added on Mon, Jan 4, 2010
A web service has the following characteristics: 1. It communicates using open protocols like HTTP 2. Processes XML messages framed using SOAP 3. May be described using WSDL 4. Can be discovered using UDDI Any application which is supposed... Read More
Parts
Added on Mon, Jan 4, 2010
eventname Required. Name of the event to trigger. argumentlist Optional. Comma-delimited list of variables, arrays, or expressions. The argumentlist argument must be enclosed by parentheses. If there are no arguments, the parentheses must be... Read More
How would you implement inheritance using VB.NET/C#?
Added on Mon, Jan 4, 2010
When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the .NET system class library framework, it may be part... Read More
How can you provide an alternating color scheme in a Repeater control?
Added on Tue, Jan 5, 2010
AlternatingItemTemplate Like the ItemTemplate element, but rendered for every otherrow (alternating items) in the Repeater control. You can specify a different appearancefor the AlternatingItemTemplate element by setting its style properties. Read More
What does the
Added on Tue, Jan 5, 2010
"EnableViewState" property - holds the state of the web control. View state holds the proprty details as a group of a particular web control. And can be sent via HTTPEnable view state must eb enableed for transfering throught he HTTP requests.If, the... Read More
How would you get ASP.NET running in Apache web servers - why would you even do this
Added on Tue, Jan 5, 2010
If you have the better answer, then send it to us. We will display your answer after the approval Read More
Can any object be stored in a Viewstate?
Added on Tue, Jan 5, 2010
An object that either is serializable or has a TypeConverter defined for it can be persisted in ViewState Read More
ctype(123.34,integer) - should it throw an error? Why or why not?
Added on Tue, Jan 5, 2010
It would work fine. As the runtime type of 123.34 would be double, and Double can be converted to Integer. Read More
Briefly explain how code behind works and contrast that using the inline style.
Added on Tue, Jan 5, 2010
Code-Behind: Code-behind refers to code for your ASP.NET page that is contained within a separate class file. This allows a clean separation of Our HTML from presentation logic. In-Line Code : In-line code is code that is embedded... Read More
Explain about CLR?
Added on Tue, Jan 5, 2010
Security, memory management and exception handling is provided by CLR. It also provides application virtual machine which is chiefly responsible for taking care of the CPU performance so that programmers can code without any hassles. Read More
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
Added on Tue, Jan 5, 2010
ollowing are the points of differences between ADO.Net dataset and ADO recordset. 1. DataSet is represented using XML so can travel safely over http and port 80 without concerns for a firewall etc. A recordset is an instance of a COM object and... Read More
Explain about Common language infrastructure?
Added on Tue, Jan 5, 2010
Main functionality and core aspect of Microsoft.NET lies with the efficient functioning of CLI. Implementation part of the CLI is called as the CLR. It has four primary parts they are ? Common type system ? Common language specification ? Metadata... Read More
directcast(123.34,integer) - should it throw an error? Why or why not?
Added on Tue, Jan 5, 2010
It would throw an InvalidCast exception as the runtime type of 123.34 (double) doesnt match with Integer. Read More
How can you clean up objects holding resources from within the code
Added on Tue, Jan 5, 2010
Call the dispose method from code for clean up of objects Read More
Difference between a sub and a function.
Added on Tue, Jan 5, 2010
-A Sub Procedure is a method will not return a value -A sub procedure will be defined with a ?Sub? keyword Sub ShowName(ByVal myName As String) Console.WriteLine(?My name is: ? & myName) End Sub -A function is a method that will return value... Read More
Explain about Validation?
Added on Tue, Jan 5, 2010
Validation is an important test performed by CLR. This checks whether the assembly has valid metadata and CIL. It also checks whether internal tables are correct or not. Sometimes validation over performs because of which safe code also doesn?t get... Read More
Explain about developer benefit from memory management
Added on Tue, Jan 5, 2010
Developers benefit immensely from the memory management by using Microsoft.NET. CLR does most of the memory management. An object remains in the reference whenever there is in use by CLR if it skips itself from the pool then it is called as garbage... Read More
Explain about .NET Garbage collector?
Added on Tue, Jan 5, 2010
Memory management still continues even when the object is in Garbage collector. GC deletes files only when there is need for memory or the pressure for the memory increases. GC cannot be determined it acts according to a predefined algorithm. Read More
Explain the process of GC?
Added on Tue, Jan 5, 2010
During the process of GC execution all process are stopped and it recursively enumerates objects reached by it and marks them for garbage collection. It uses metadata and reflection to detect whether the marked files are garbage or not. If they are... Read More
Explain about generation?
Added on Tue, Jan 5, 2010
Garbage collectors or GC is the main feature present in .NET FRAMEWORK and these are generational. Objects which are created newly belong to generation 0. Objects surviving the garbage collection are named as generation 1. Objects which survive one... Read More
Explain some of the disadvantages due to Microsoft.NET?
Added on Tue, Jan 5, 2010
Some of the disadvantages of Microsoft famous .NET framework is as follows: - 1) Applications tend to use much of the system resources and especially those which are running on Microsoft framework. 2) Loss of trade secrets and by passing of license... Read More
Given a server with 4 cpu's, and no databases write a pseudocode to search for the word camera in 100,000 html documents.
Added on Tue, Jan 5, 2010
Start 4 threads which do the following task: Opens every nth file (first thread will open 0th, 4th, 8th, 12th file, second thread will open 1st, 5th, 9th and so on) Scans the file for occurrences of word 'camera' and notes down line... Read More
Explain about WPF?
Added on Tue, Jan 5, 2010
Windows presentation foundation was formerly called as Avalon. This has a new interface subsystem and API based on vector graphics and XML. 3D computer graphics and Direct3D technologies are used in WPF. Read More
How will you make .NET programs work in Linux ?s
Added on Tue, Jan 5, 2010
Mono provides the necessary software to develop and run .NET client and server applications on Linux, Solaris, Mac OS X, Windows, and Unix. Sponsored by Novell, the Mono open source project has an active and enthusiastic contributing community... Read More
what i do for load testing in . net application .
Added on Tue, Jan 5, 2010
Load testing for .NET Developers and testersBy Red Gate Software Read More
What are good ADO.NET object(s) to replace the ADO Recordset object.
Added on Tue, Jan 5, 2010
ADO.Net dataset is a good replacement / enhancement for ADO recordsets. The advantages are 1. XML representation and scalability 2. possibility of bringing data from multiple data sources into one dataset Read More
True or False: To test a Web service you must create a windows application or Web application to consume this service?
Added on Tue, Jan 5, 2010
Not necessary (False). Run the web service project. It displays the <service_name>.asmx page which shows the methods (operations) supported by the web service. Clicking on an operation allows you to specify its parameters and invoke the... Read More
What is job?
Added on Fri, Jan 1, 2010
It can be defined as a task performed by a computer system. For example, printing a file is a job. Jobs can be performed by a single program or by a collection of programs. Read More
Describe session handling in webform. How does it work and what are the limits?
Added on Fri, Jan 1, 2010
Session management in ASP.NET can be done in two ways: Using Cookies Encoding of URLs with Session ID Read More
What is the use of trace utility?
Added on Fri, Jan 1, 2010
Tracing is a very important monitoring and debugging tool for distributed, multitier applications. Such applications often contain problems that can only be observed when the application is under a heavy load and the inherent randomness of a real... Read More
How many objects are there in ASP?
Added on Fri, Jan 1, 2010
Answer1 8 objects, they are request,response, server,application,session,file, dictionary, textstream. Answer2 There are 6 objects in ASP.net a) Server b) Session c) Application d) ObjectContext e) Response f) Request Read More
How do you use DBCC statements to monitor various ASPects of a SQL Server installation?
Added on Fri, Jan 1, 2010
Database Consistency Checker (DBCC) - Is a statement used to check the logical and physical consistency of a database, check memory usage, decrease the size of a database, check performance statistics, and so on. Database consistency checker (DBCC)... Read More
What do you know about .NET assemblies?
Added on Fri, Jan 1, 2010
Assemblies are the smallest units of versioning and deployment in the .NET application. Assemblies are also the building blocks for programs such as Web services, Windows services, serviced components, and .NET Remoting applications. Read More
How can you debug failed assembly binds
Added on Fri, Jan 1, 2010
Use the Assembly Binding Log Viewer (fuslogvw. exe) to find out the paths searched. Read More
How to copy the contents from one table to another table and how to delete the source table in ado.net?
Added on Fri, Jan 1, 2010
May be there is a better way, but you can generating a datatable from source and load it to destination if the process is successful, execute the drop table query. Read More
Advantages of VB.NET
Added on Mon, Jan 4, 2010
1. First of all, VB.NET provides managed code execution that runs under the Common Language Runtime (CLR), resulting in robust, stable and secure applications. All features of the .NET framework are readily available in VB.NET. 2. VB.NET is totally... Read More
What is the difference between the C#.NET and VB.NET?
Added on Mon, Jan 4, 2010
VB.NET - It didn't have the XML Documentation. - It didn't have the Operator Overloading. - It didn't have the Pointer Type variables. C#.NET - It has XML Documentation, Operator Overloading and supports Pointer... Read More
How does VB.NET/C# achieve polymorphism?
Added on Mon, Jan 4, 2010
VB.Net / C# provide polymorphism through the following mechanisms: 1. Inheritance -- base class provides overridable methods which are re-implemented in derived classes. 2. Interface -- different class can implement same interface, resulting in... Read More
What does WSDL stand for?
Added on Mon, Jan 4, 2010
WSDL stands for Web Services Description Language. It is an XML representation of the web service interface. There are two types of the operations specified in the WSDL file, as represented by the <soap:binding> attribute of the file. ... Read More
Differences between Datagrid, Datalist and Repeater?
Added on Mon, Jan 4, 2010
1. Datagrid has paging while Datalist doesnt. 2. Datalist has a property called repeat. Direction = vertical/horizontal. (This is of great help in designing layouts). This is not there in Datagrid. 3. A repeater is used when more intimate control... Read More
Explain DataSet.AcceptChanges and DataAdapter.Update methods.
Added on Mon, Jan 4, 2010
DataAdapter.Update method Calls the respective INSERT, UPDATE, or DELETE statements for each inserted, updated, or deleted row in the DataSet. DataSet.AcceptChanges method Commits all the changes made to this row since the last time AcceptChanges... Read More
What is the difference between VB6 and VB.Net?
Added on Mon, Jan 4, 2010
VB _________________________________________ 1,Object-based Language 2,Doesnot support Threading 3,Not powerful Exception handling mechanism 4,Doesnot having support for the console based applications 5,Cannot use more than one version of... Read More
How is a property designated as read-only
Added on Mon, Jan 4, 2010
In VB.NET:Public ReadOnly Property PropertyName As ReturnType Get ?Your Property Implementation goes in hereEnd GetEnd Property. In C# if you specify a get accessor but do not specify a set accessor for a property it becomes a read only property. Read More
What are the authentication methods in .NET?
Added on Mon, Jan 4, 2010
1. WINDOWS AUTHENTICATION 2.FORMS AUTHENTICATION 3.PASSPORT AUTHENTICATION 4.NONE/CUSTOM AUTHENTICATION The authentication option for the ASP.NET application is specified by using the tag in the Web.config file, as shown below: other... Read More
How does the XmlSerializer work? What ACL permissions does a process using it require
Added on Mon, Jan 4, 2010
XmlSerializer requires write permission to the system?s TEMP directory. Read More
Where on the Internet would you look for Web services?
Added on Mon, Jan 4, 2010
UDDI.org-Universal Description,Discovery Integration Read More
What is the purpose of DOTNET
Added on Mon, Jan 4, 2010
.Net Is a collection of products like C#, ASp.Net,Vb.Net,XML. The purpose of .Net is that we can easily upgrade and degrade our programs which is written in Microsoft visual studio program.It provides user friendly environment. Read More
How many types of assemblies are there , wat are they?
Added on Mon, Jan 4, 2010
Private, Public/Shared, Satellite. A private assembly is normally used by a single application, and is stored in the application's directory. A shared assembly is normally stored in the global assembly cache, which is a repository of... Read More
Briefly explain what user controls are and what server controls are and the differences between the two.
Added on Mon, Jan 4, 2010
An ASP.NET control (sometimes called a server control) is a server-side component that is shipped with .NET Framework. A server control is a compiled DLL file and cannot be edited. It can, however, be manipulated through its public properties at... Read More
How does the lifecycle of Windows services differ from Standard EXE?
Added on Mon, Jan 4, 2010
Windows services lifecycle is managed by ?Service Control Manager? which is responsible for starting and stopping the service and the applications do not have a user interface or produce any visual output, but ?Standard executable? doesn?t require... Read More
What is the difference between Debug.Write and Trace.Write? When should each be used?
Added on Mon, Jan 4, 2010
The Debug.Write call won?t be compiled when the DEBUG symbol is not defined (when doing a release build). Trace.Write calls will be compiled. Debug.Write is for information you want only in debug builds, Trace.Write is for when you want it in release... Read More
What is Delegation?
Added on Mon, Jan 4, 2010
A delegate acts like a strongly type function pointer. Delegates can invoke the methods that they reference without making explicit calls to those methods. Delegate is an entity that is entrusted with the task of representation, assign or... Read More
Name some of the languages .NET support?
Added on Tue, Jan 5, 2010
Some of the languages that are supported by .NET 1. Visual Basic.NET 2. Visual C# 3. Visual C++ Read More
What is the Pager object
Added on Tue, Jan 5, 2010
The Pager Object tackles all the capabalities of the paging process into any ASP.NET control. Read More
What are the disadvantages of viewstate/what are the benefits
Added on Tue, Jan 5, 2010
Disadvantages - Because the view state for a given page must be kept on the server, it is possible for the current state to be out of synchronization with the current page of the browser, if the user uses the Back feature on the browser to go back in... Read More
How many types of exception handlers are there in .NET?
Added on Tue, Jan 5, 2010
How many types of exception handlers are there in .NET? 1. Unstructured Exception Handling 2. Strutured Exception Handling Or MSDN>> ?How the Runtime Manages Exceptions? http://msdn.microsoft.com/library/default.asp?url=/library/en-us... Read More
State the different levels of exceptional safety
Added on Tue, Jan 5, 2010
There are various levels of exceptional safety such as 1) Failure transparency 2) Roll back semantics 3) Basic exception safety 4) Minimal exception safety 5) No exception safety Read More
|
| ©2007, 1000projects.com, Only For Educational Purpose, Non Commercial use! |
|
 |
 |