Home
|
Tutorial
|
Articles
|
Forum
|
Interview Question
|
Code Snippets
|
News
|
Fun Zone
|
Poll
|
Web Links
|
Certification
|
Search
Welcome :
Guest
Sign In
Register
Win Surprise Gifts!!!
Congratulations!!!
Top 5 Contributors of the Month
Jean Paul
satyapriyanayak
Narayanan
Karthikeyan Anbarasan
JQuery Developer
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Post New Question
Subscribe to Interview Questions
Quick Links For Interview Questions Categories:
ASP.Net
Windows Application
.NET Framework
C#
VB.Net
ADO.Net
Sql Server
SharePoint
Silverlight
OOPs
JQuery
JavaScript/VBScript
Biztalk
Patten/Practices
.IIS
WCF
WPF
WWF
Networking
Aptitude
Others
All
Interview Questions And Answers
How to have an element invoke a javascript on selection, instead of going to a new URL: ?
Author:
Jack Smith
Posted Date: October 31, 2012 Category:
JavaScript/VBScript
Points: 40
<script type="text/javascript">
function pseudoHitMe() {
alert("Ouch!");
}
</script>
<a href="javascript:pseudoHitMe()">hit me</a>
What are the benefits of using of ADO.NET in .NET 4.0
Author:
Jack Hard
Posted Date: October 31, 2012 Category:
ASP.Net
Points: 40
The following are the benefits of using ADO.NET in .NET 4.0 are as follows:
Language-Integrated Query (LINQ) - Adds native data-querying capabilities to .NET languages by using a syntax similar to that of SQL. This means that LINQ simplifies querying by eliminating the need to use a separate query language. LINQ is an innovative technology that was introduced in .NET Framework 3.5.
LINQ to DataSet - Allows you to implement LINQ queries for disconnected data stored in a dataset. LINQ to DataSet enables you to query data that is cached in a DataSet object. DataSet objects allow you to use a copy of the data stored in the tables of a database, without actually getting connected to the database.
LINQ to SQL - Allows you to create queries for data stored in SQL server database in your .NET application. You can use the LINQ to SQL technology to translate a query into a SQL query and then use it to retrieve or manipulate data contained in tables of an SQL Server database. LINQ to SQL supports all the key functions that you like to perform while working with SQL, that is, you can insert, update, and delete information from a table.
SqlClient Support for SQL Server 2008 - Specifies that with the starting of .NET Framework version 3.5 Service Pack (SP) 1, .NET Framework Data Provider for SQL Server (System.Data.SqlClient namespace) includes all the new features that make it fully compatible with SQL Server 2008 Database Engine.
How can JavaScript make a Web site easier to use?
Author:
Jack Smith
Posted Date: October 30, 2012 Category:
JavaScript/VBScript
Points: 40
JavaScript's greatest potential gift to a Web site is that scripts can make the page more immediately interactive, that is, interactive without having to submit every little thing to the server for a server program to re-render the page and send it back to the client. For example, consider a top-level navigation panel that has, say, six primary image map links into subsections of the Web site. With only a little bit of scripting, each map area can be instructed to pop up a more detailed list of links to the contents within a subsection whenever the user rolls the cursor atop a map area. With the help of that popup list of links, the user with a scriptable browser can bypass one intermediate menu page. The user without a scriptable browser (or who has disabled JavaScript) will have to drill down through a more traditional and time-consuming path to the desired content.
Advantages of the code-behind feature?
Author:
Jack Hard
Posted Date: October 30, 2012 Category:
ASP.Net
Points: 40
The code-behind feature of ASP.NET offers a number of advantages:
Makes code easy to understand and debug by separating application logic from HTML tags
Provides the isolation of effort between graphic designers and software engineers
Removes the problems of browser incompatibility by providing code files to exist on the Web server and supporting Web pages to be compiled on demand.
Difference between login controls and Forms authentication?
Author:
Jack Smith
Posted Date: October 29, 2012 Category:
ASP.Net
Points: 40
Forms authentication can be easily implemented using login controls without writing any code.
Login control performs functions like prompting for user credentials, validating them and issuing authentication just as the FormsAuthentication class.
However, all thatââ¬â¢s needs to be dne is to drag and drop the use control from the tool box to have these checks performed implicitly.
The FormsAuthentication class is used in the background for the authentication ticket and ASP.NET membership is used to validate the user credentials.
ASP.NET is in private beta testing right now. When will it be public beta testing?
Author:
Jack Hard
Posted Date: October 29, 2012 Category:
ASP.Net
Points: 40
We are working hard now at finishing up a public beta that will be available for public download. ETA is still around 6 weeks (early September) though (there are a lot of pieces in it).
Difference between sandbox solution and farm solution
Author:
abhays
Posted Date: October 24, 2012 Category:
SharePoint
Points: 40
SharePoint 2010 introduces new feature sandbox solution.Here are major difference between sandbox solution and farm solution.
1.The scope of sandbox solution is site collection where as The scope of farm level solution is farm level.
2.Sandboxed solutions, which are hosted in the SharePoint user code solution worker process (SPUCWorkerProcess.exe)Whereas Sandboxed solutions, which are hosted in the SharePoint user code solution worker process (SPUCWorkerProcess.exe)
3.Sandbox run code that can only affect the site collection of the solution.The process runs under a CAS policy that restricts programmatic access to any resource outside the sandbox.Whereas Farm Solution run code that can affect the whole farm.
4.Sandbox Never restart the IIS application pool.If you run any code it will affect only the site collection of the solution. Whereas If you deploy any feature or retract any feature the whole application pool got recycled in farm solution.
5.Sandboxed solutions are uploaded and activated whereas Farm solutions are installed and deployed.
6.we canââ¬â¢t create VISUAL web parts in Sandbox solutions whereas VISUAL web parts can be created in farm solution.
7.When the Sandboxed Solution property is set to True, selecting Build\Deploy Solution deploys the solution to the site collection Solution Gallery.whereas When the Sandboxed Solution property is set to False, selecting Build\Deploy will deploy the solution to the Farm Solution Gallery.
How is JavaScript different from Java?
Author:
Jack Hard
Posted Date: October 22, 2012 Category:
JavaScript/VBScript
Points: 40
JavaScript was developed by Brendan Eich of Netscape; Java was developed at Sun Microsystems. While the two languages share some common syntax, they were developed independently of each other and for different audiences. Java is a full-fledged programming language tailored for network computing; it includes hundreds of its own objects, including objects for creating user interfaces that appear in Java applets (in Web browsers) or standalone Java applications. In contrast, JavaScript relies on whatever environment it's operating in for the user interface, such as a Web document's form elements.
JavaScript was initially called LiveScript at Netscape while it was under development. A licensing deal between Netscape and Sun at the last minute let Netscape plug the "Java" name into the name of its scripting language. Programmers use entirely different tools for Java and JavaScript. It is also not uncommon for a programmer of one language to be ignorant of the other. The two languages don't rely on each other and are intended for different purposes. In some ways, the "Java" name on JavaScript has confused the world's understanding of the differences between the two. On the other hand, JavaScript is much easier to learn than Java and can offer a gentle introduction for newcomers who want to graduate to Java and the kinds of applications you can develop with it.
Duration attribute of @OutputCache page directive In ASP
Author:
Jack Smith
Posted Date: October 19, 2012 Category:
ASP.Net
Points: 40
The @OutputCache directiveââ¬â¢s Duration attribute determines how long the page is cached.
If the duration attribute is set to 60 seconds, the Web form is cached for 60 seconds; the server loads the response in memory and retains that response for 60 seconds.
Any requests during that time receive the cached response.
Once the cache duration has expired, the next request generates a new response and cached for another 60 seconds.
Explain the difference between cache object and application object.
Author:
Jack Smith
Posted Date: October 17, 2012 Category:
ASP.Net
Points: 40
Application Object: Application variable/object stores an Object with a scope of availability of the entire Application unless explicitly destroyed.
Caching Object: The lifetime of cache is throughout the lifetime of an application or is based upon timeouts
« Previous
1
2
….
7
8
9
10
11
12
13
….
410
411
Next »
Hall of Fame
Twitter
Terms of Service
Privacy Policy
Contact Us
Archives
Tell A Friend