Submit Blog Login Last Submitted Blogs RSS Archive Contact  
Dotnet Interview Questions, ASP.NET, ADO.NET, AJAX
 
 
 
Dotnet Interview Questions, ASP.NET, ADO.NET, AJAX
DOTNET Interview Questions, Finalize, Dispose, serialization, Ajax, CLR,CLS,Microsoft.NET, ASP.NET, ADO.NET, OOPS, assemblies, Earn Money to read emails, Payment Gateway, Early and Late binding
Language: English
RSS Feeds for this Blog
Statistics
Unique Visitors: 0
Total Unique Visitors: 0
Visitors Out: 2462
Total Visitors Out: 2462
 
 
Articles
Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
2008-07-17 23:16:58
The tracing dumps can be quite verbose. For applications that are constantly running you run the risk of overloading the machine and the hard drive. Five levels range from None to Verbose, allowing you to fine-tune the tracing activities....
 
What are three test cases you should go through in unit testing?
2008-07-17 23:15:08
1.Positive test cases (correct data, correct output).2. Negative test cases (broken or missing data, proper handling).3. Exception test cases (exceptions are thrown and caught properly)....
 
What Features Are in Silverlight?
2008-07-13 23:47:40
Silverlight combines multiple technologies into a single development platform that enables you to select the right tools and the right programming language for your needs. Silverlight offers you the following features:WPF and XAML. Silverlight includes Windows Presentation Foundation (WPF) technology, which greatly extends the elements in the browser for creating UI. WPF lets you create immersive graphics, animation, media, and other rich client features, extending browser-based UI beyond what is available with HTML alone. Extensible Application Markup Language (XAML) provides a declarative markup syntax for creating WPF elements.See Creating User Interfaces with Silverlight for more information.Extensions to JavaScript. Silverlight provides extensions to the universal browser scripting la...
 
What Is Silverlight?
2008-07-13 23:46:06
Silverlight enables you to create a state-of-the-art application that has the following features:It is a cross-browser, cross-platform technology. It runs in all popular Web browsers, including Microsoft Internet Explorer, Mozilla Firefox, and Apple Safari, and on Microsoft Windows and Apple Mac OS X.It provides a consistent experience no matter where it runs.It is supported by a very small download that installs in seconds.It streams video and audio. It scales video quality to everything from mobile devices to desktop browsers to 720p HDTV video modes.It includes compelling graphics that users can manipulate—drag, turn, zoom—directly in the browser.It reads data and updates the display, but it doesn't interrupt the user by refreshing the whole page.Silverlight-based application with r...
 
SMTP and POP3 Mail server Setting
2008-07-08 23:56:54
Yahoo! Mail SettingsYahoo Incoming Mail Server (POP3) - pop.mail.yahoo.com (port 110)Yahoo Outgoing Mail Server (SMTP) - smtp.mail.yahoo.com (port 25)Yahoo Incoming Mail Server (POP3) - plus.pop.mail.yahoo.com (SSL enabled, port 995)Yahoo Outgoing Mail Server (SMTP) - plus.smtp.mail.yahoo.com (SSL enabled, port 465)Google GMail SettingsGoogle Gmail Incoming Mail Server (POP3) - pop.gmail.com (SSL enabled, port 995)Google Gmail Outgoing Mail Server - use the SMTP mail server address provided by your local ISP or smtp.gmail.com (SSL enabled, port 465)Lycos Mail SettingsLycos Mail Incoming Mail Server (POP3) - pop.mail.lycos.com (port 110)Lycos MailOutgoing Mail Server - smtp.mail.lycos.com or use your local ISP SMTP mail serve...
 
Using COM components in .NET and How to add a reference to a COM component?
2008-07-03 23:23:06
The .NET does not encourage the use of COM component directly inside the managed application! Although, the .NET framework contains utilities that enable COM components to be used inside the .Net applications seamlessly. How it is done? The .NET utilities like TlbImp generates the wrapper .NET assembly for the COM component which provides the same calling interface to the client as exposed by the COM component. Inside the wrapper methods, it calls the actual methods of the COM component and returns the result back to the caller. The generated wrapper .NET assembly is called the ‘Runtime Callable Wrapper’ or RCW. To use a COM component in your Visual Studio.NET project, you need to add a reference of the COM component in the Reference node of the pr...
 
What are XML Doc comments (comments start with three slashes ///)?
2008-07-03 23:21:55
The XML Doc comments are special kind of comments that can be recognized by Document utility to automatically generate the documentation of your methods, types and regions....
 
How true it is that .NET and Java programs are quite in-efficient when compared to C++?
2008-07-03 23:20:35
The startup of managed .NET and Java programs is definitely slower than the traditional C++ programs as it involves the hosting of CLR into managed application process in .NET and starting the JVM in a new process in case of Java. The execution also is a bit slower during the initial period of program execution as the intermediate code is translated to the machine code on the fly at runtime. But as the program runs various parts repeatedly, the execution gets pace too. Since, the CLR and JVM optimizes the code more efficiently than the static C++ compilers, the execution speed of the program may actually be faster after sometime of the program startup when most of the code is translated. Hence, in the longer run, the .Net ...
 
What are the shortcomings of MS.NET platform?
2008-06-28 00:32:18
The foremost short coming of .NET platform is that it is still the propriety of Microsoft. It is more coupled with the Microsoft Windows operating system and is implemented only on Microsoft Windows successfully. MS.NET desktop applications can run only on Microsoft Windows, Web based applications and web services can only be deployed on Microsoft Internet Information Server (IIS). Since, dot net framework contains a lot of utilities, components, and framework class libraries, the size of downloadable framework is quite large (25MB compared to 5MB size of JVM). Not all types of applications can be written in .NET managed applications, for example, you can’t write CLR or Operating System in your managed applications. The managed .Net applications are so...
 
Why should one use MS.NET for software development?
2008-06-28 00:31:56
Well, most of the software development all over the world is done on and for Microsoft Windows Operating System. Dot Net is now the standard software development environment for the Microsoft Windows operating system. It dramatically simplifies the development of windows, web based, data access applications, components, controls and web services. Dot net comes with amazing features like XML configuration, reflection, and attributes to ease the overall software development life cycle. Finally, the dot net is supported by the Microsoft Visual Studio Integrated Development Environment; the best IDE available for any software development environment. Visual Studio .NET (VS...
 
What does one need to build or execute .NET applications?
2008-06-26 23:47:50
To execute a standalone .NET application (Windows or Console application), one needs to first compile all its constituent assemblies and modules including the executable assembly. Once, the constituent assemblies are compiled, one needs to make sure that the target system contains the .NET framework. The application can now be executed by running its executable assembly (the .exe file). The executable assembly (.exe) is a Win32 executable that hosts the .Net CLR (Common Language Runtime), which exists as a COM component, in its process space and initializes it. Once the CLR is hosted and initialized, the starting point of the .NET executable assembly is passed to the hosted CLR which starts the execution of the program by translating and executing the parts of the program code....
 
What is the difference between an executable assembly and a class library?
2008-06-26 23:47:22
An executable assembly exists as the .exe file while a class library exists as the .dll file. Executable assembly represent executable applications having some entry (e.g., Main() method in C#). A class library, on the other hand, contains components and libraries to be used inside various applications. A Class library can not be executed and thus it does not have any entry point....
 
What are the differences between a .NET Assembly, a Windows DLL and a COM Component?
2008-06-26 23:46:50
A Windows DLL contains library code to be used by any program running on Windows. A DLL may contain either structured or object oriented libraries. COM (Component Object Model) is the component model based on the object oriented design, which means that the components represented by the COM component exists in the form of classes and objects implementing a standard specification defined by COM. COM components can be used by any program running on Windows Operating System; be it is written with VB, C++, Java or even some .NET compliant language like C# and VB.NET. Dot NET assembly is the component standard specified by the .NET. Hence, dot net assemblies are understandable to only Microsoft.NET and can be used only in .NET managed applications....
 
What is the difference between traditional development and .NET development?
2008-06-25 23:49:21
In traditional programming languages, the source code of a program is compiled to a specific platform’s assembly language and then machine language code. Later the library code required by the program is linked to it. Finally the operating system executes the program when desired by the user. The complete process is depicted in the following figure In the presence of dot net framework, a program is not compiled to the native machine executable code; rather it gets compiled to an intermediate language code called Microsoft Intermediate Language (MSIL) or Common Intermediate Language (CIL). The Dot Net Common Language Runtime (CLR) then converts this intermediate code at runtime to the machine executable code. The optimization is carried out at runtime. A program also does not call the operating system APIs directly; rather it delegates this task to the CLR which performs the desired operations on behalf of the program and returns the results of the operations back to the program. T...
 
What about the MS.NET standardization?
2008-06-25 23:46:06
Microsoft has secured certification for both C# and CLI from ECMA and ISO/IEC as Industry standards. This is a very important step for Microsoft and .Net platform because this enhances the credibility of the newer .Net platform and allures a larger portion of technology industry into adopting .Net as their development platform. Several companies and government organizations only utilize ISO certified technologies; for example, in Australia anything ISO certified is also considered Australian standard according to the rules of the Australian government. Several academic institutions will now be interested in teaching standard C#. Another major outcome of having an open industry standard specification is .Net platform could be getting ported to other platforms like Linux and UNIX; best example is the Mono Project by Ximian- it is an open source implementation of .Net platform for UNIX and Linux based on ECMA approved Public Domain Specification of C# and CLI. Microsoft submitted the sp...
 
What is ASP.NET Futures?
2008-06-25 00:28:42
ASP.NET AJAX Futures The new release includes support for managing browser history (Back button support), selecting elements by CSS selectors or classes, and information on accessing “Astoria” Web data services. The Futures (July 2007) release adds: History support for the Safari browser, inclusion of “titles”, encoding and encrypting of server-side history state and the ability to handle history in the client without a server requirement. CSS Selectors APIs have been modified to be applicable to W3C recommendations. A script resource extraction tool that allows you to create script files on disk that originate from embedded resources in assemblies. Important: this version of the browser history feature is now outdated and should not be used. Instead, please download the ASP.NET 3.5 Extensions Preview, which contains the new version....
 
How to create an AJAX website using Visual Studio?
2008-06-16 23:43:57
Using Visual Studio Web Developer Express 2005 & versions above it, Ajax based applications may easily be created. Note that the Ajax Framework & Ajax Extensions should be installed (In case of VS 2005). If using Visual Studio 2008 Web Developer Express or above, Ajax comes along with it (so no need of a separate installation). Steps: Start Visual Studio, Click on File -> New Website -> Under Visual Studio Installed templates -> Select ASP.NET Ajax-Enabled Site. Enter a location & select OK....
 
How to handle multiple or concurrent requests in Ajax?
2008-06-16 23:43:21
For concurrent requests, declare separate XmlHttpRequest objects for each request. For example, for request to get data from an SQL table1, use something like this... xmlHttpObject1.Onreadystatechange = functionfromTable1(); and to get data from another table (say table2) at the same time, use xmlHttpObject2.Onreadystatechange = functionfromTable2(); Ofcourse, the XmlHttpObject needs to be opened & parameters passed too, like as shown below... xmlHTTPObject1.open("GET","http://"localhost// " + "Website1/Default1.aspx" true); Note that the last parameter "true" used above means that processing shall carry on without waiting for any response from the web server. If it is false, the function shall wait for a response....
 
What is Dojo?
2008-06-15 23:33:05
Dojo is a third-party javascript toolkit for creating rich featured applications. Dojo is an Open Source DHTML toolkit written in JavaScript. It builds on several contributed code bases (nWidgets, Burstlib, f(m)), which is why we refer to it sometimes as a "unified" toolkit. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development....
 
What is the ASP.NET Control Toolkit?
2008-06-15 23:32:33
Besides the Ajax Framework (which is the Ajax engine) and Ajax Extensions (which contain the default Ajax controls), there is a toolkit called the Ajax Control Toolkit available for use & download (for free). This is a collection of rich featured, highly interactive controls, created as a joint venture between Microsoft & the Developer Community....
 
What are Ajax Extensions?
2008-06-15 23:32:04
The ASP.NET Ajax Extensions are set of Ajax-based controls that work in ASP.NET 2 (or above) based applications.Ofcourse,they also need the Ajax runtime which is actually the Ajax Framework 1.0.ASP.NET Ajax Extensions 1.0 have to be downloaded to run with ASP.NET 2.0The new ASP.NET 3.5 Framework comes with the Ajax Library 3.5 (containing the Ajax Extensions 3.5). So in order to use the latest Ajax, simply download .NET 3.5 Framework. Summary :ASP.NET Ajax Extensions 1.0 -> For ASP.NET 2.0ASP.NET Ajax Extensions 3.5 -> For ASP.NET 3.5...
 
What is the ASP.NET Ajax Framework? What versions have been released so far?
2008-06-15 23:29:25
ASP.NET AJAX is a free framework to implement Ajax in asp.net web applications, for quickly creating efficient and interactive Web applications that work across all popular browsers.The Ajax Framework is powered with1 - Reusable Ajax Controls2 - Support for all modern browsers3 - Access remote services and data from the browser without tons of complicated script. Versions of Ajax release1 - ASP.NET Ajax Framework 1.0 (earlier release to this was called the Atlas)2 - ASP.NET Ajax Framework 1.0 was available as a separate download for ASP.NET 2.0...
 
What Is LINQ?
2008-06-13 00:25:06
LINQ is a uniform programming model for any kind of data. LINQ enables you to queryand manipulate data with a consistent model that is independent from data sources.LINQ is just another tool for embedding SQL queries into code.LINQ is yet another data abstraction layer.LINQ is a methodology that simplifies and unifies the implementation of any kind of dataaccess. LINQ does not force you to use a specific architecture; it facilitates the implementationof several existing architectures for accessing data. As with every tool, it can be used in bothgood and in bad ways. To get the most out of LINQ, you will have to master it. ...
 
LINQ to SQL
2008-06-12 01:55:03
•Provides object-to-relational mapping within the .NET Framework for Microsoft SQL Server databases•Access relational data as strongly typed objects using LINQ query expressions•Language integrated data access–Tables and rows to classes and objects–Builds on ADO.NET and .NET Transactions•Mapping–Encoded in attributes or external XML file–Relationships map through properties•Persistence–Automatic change tracking–Updates through SQL or stored procedures...
 
Language INtegratedQuery (LINQ)
2008-06-12 01:54:34
•New programming model for data access that integrates query support directly within the .NET languages•Designed to reduce the complexity when working with data•Query operators can be used against any collection–Built-in examples: Select, Where, GroupBy, Join, etc.–Extensibility model supports extending/replacing these•Benefits–Work with data in a consistent way, regardless of the type of data–Interact with data as objects–Better integration with programming languages–Improved productivity through IntelliSense in Visual Studio...
 
What does a Web Part Consists of?
2008-06-09 00:00:29
1. The Web Part Assembly file (.dll): which is nothing but a .dll file which contains the entire logic that you, as a developer writes for that web part. It could be a web part that contains a DataGrid and displays the number of users signed in or a simple DropDownList that populates another DropDownList within the Web Part.2. The Web Part Description file (.dwp): This contains the default settings stored in XML format for the Web Part which can be utilized to customize and change Web Part properties. This is not mandatory though it is required while importing from a site or exporting to another site. Note that if your company has around 10,000 employees where each employee may also turn out to be your company's SharePoint site's user, then they can access say, with one particular SPS Site...
 
What kind of a framework does a Web Part possess?
2008-06-05 23:54:56
A beautiful one thanks to the level of extensibility that is heavily based on the ASP.Net framework so much so that a Web Part web pages are nothing but ASP.Net web pages while Web Parts are, as mentioned above custom ASP.Net server controls. Remember that Web Parts inherit from the System.Web.UI.WebControls class....
 
. Is there a difference between a Web Part and a Server side control?
2008-06-05 23:54:18
Yes. ASP.Net controls are added to your application during design time while Web Parts are added to an SPS Site (your application in this case) at design time or even at run-time by a user. Further, users can also customize settings during run time....
 
Where are Web Parts placed on an SPS site?
2008-06-05 23:53:18
An SPS Site consists of Zones. Web Parts can be grouped by placed them in these zones usually called Web Part Zones....
 
What's the relation between WSS and Web Parts?
2008-06-04 00:26:55
Nothing but pure relation. WSS is the engine for all SharePoint services, remember? Without WSS, there won't be any SPS sites and without an SPS Site, you won't have an Web Part Zone and without Zones, you can't place Web Parts. Further, WSS is central to all SharePoint services without which, there won't be any way to store user specific Web Part customization parameters, no mechanism for proper administration procedures such as backups, restores and configurations. No mechanism to support web farms and scalability and no mechanism to manage users, their roles and assignments to particular SPS site groups. WSS is the heart of the SharePoint Service engine and a Web Part is just a tiny subset of the whole picture but yet makes a powerful difference to the whole user experience....
 
Who are the users of a Web Part?
2008-06-04 00:25:57
Developers: You need someone to expose the Microsoft.SharePoint namespace and this is where .Net developers come from. You give them the requirements and they customize your Web Part to perform the appropriate functionality.Web Page Designers / Authors: These guys would be responsible for setting up SharePoint sites via Front Page 2003 and after developers have created their Web Parts, Web Page Designers or Authors would drag and drop required Web Part components onto the SharePoint Site.End Users: Could be anyone looking forward to getting information or using a Web Part for a particular purpose like reading reports. The end user can further customize his Web Part during run-time....
 
What is a Web Part?
2008-06-04 00:24:56
A Web Part, in the context of an SPS site is a component that can be customized and easily placed onto an SPS site akin to a plug'n play mechanism. Further, the end user, apart from the developer, can modify the individual properties of the Web Part. But for a developer, a Web Part is nothing but a server side ASP.Net control. The Web Part class can be found within the Microsoft.SharePoint.WebPartPages namespace which is the base class that Web Parts inherit from. The WebPartPages class inherits from the same parent class as normal ASP.Net Server controls (the System.Web.UI.WebControls class) and you therefore inherit all the properties, methods and anything else exposed by WebPart base class....
 
Where can I get help and support for Visual C++ 2008 Express Edition?
2008-05-28 23:45:31
The Express Editions include forum support. Please go to the Visual C++ 2008 Express Forum to post your question....
 
Does Visual C++ 2008 Express include the "optimizing compiler"?
2008-05-28 23:44:58
Yes, Visual C++ 2008 Express Edition includes the same core optimizing compiler that will be included with all other Visual Studio 2008 editions. Some new expanded optimization features, including Profile Guided Optimizations, will be available only in the Standard and above editions of Visual Studio 2008....
 
What types of application can I build with Visual C++ 2008 Express?
2008-05-28 23:44:31
With Visual C++ 2008 Express you can build both native and managed applications. Included is the Windows Platform SDK which you can build applications that take full advantage of the Win32 API....
 
For whom is Visual C++ 2008 Express intended?
2008-05-28 23:43:55
Visual C++ 2008 Express is designed for hobbyists, first-time developers, and students looking for a fun and easy way to build Windows applications....
 
If I create a Web site with Visual Web Developer 2008 Express, will I be able to continue editing the project if I upgrade to VS 2008 Standard Edition
2008-05-22 23:33:45
Absolutely. The Web site layout and file formats are 100% compatible between Visual Web Developer 2008 Express and Visual Studio 2008 Standard Edition....
 
Can I use Visual Web Developer 2008 Express to edit Web projects I created with Visual Web Developer 2005 Express?
2008-05-22 23:32:03
When you open a Visual Web Developer 2005 Web project in Visual Web Developer 2008 Express, the project is converted to the new, simpler project layout used with Visual Web Developer 2008 Express. The conversion process also converts existing .aspx pages, .ascx files and other files into a new format. Note that the conversion process creates a backup of your project before the conversion begins....
 
Do I need IIS to build applications with Visual Web Developer 2008 Express?
2008-05-22 23:31:33
No. Visual Web Developer 2008 Express comes with a built-in Web development server that enables you to build and test applications without a dependency on IIS. The server only accepts local requests and is only for build and test. Web applications built with Visual Web Developer can easily be deployed to IIS or your favorite hoster using the built-in copy Web tool....
 
What programming languages are supported by Visual Web Developer 2008 Express?
2008-05-22 23:31:01
Visual Web Developer 2008 Express supports development with Visual Basic and Visual C#. Visual Web Developer 2008 Express also includes rich editors for HTML, XML, JavaScript and Cascade Style Sheets (CSS)....
 
 
 
 
eXTReMe Tracker