Visual Studio 2010 is here!
Visual Studio 2010 and .NET Framework 4 mark the next generation of developer tools from Microsoft. Be sure to download the trial for Visual Studio 2010.
Trials:
· Visual Studio 2010 Downloads
· VS Team Explorer Everywhere 2010 [Eclipse plug-in and cross-platform command-line client for Visual Studio 2010 Team Foundation Server]
Virtual Machines:
Visual Studio 2010 [...]
Tags: Developer Resources, DotNet 4.0, visual studio 2010, VS 2010
Core Java Interview Questions
Q: What is the difference between an interface and an abstract class? A: An abstract class can have instance methods that implement a default behavior. An interface can only declare constants and instance methods, but cannot implement default behavior. An class is abstract if it is defined with the keyword [...]
Tags: Interview Questions & Answers, J2EE, J2EE Interview Questions, Java, Java Interview Questions
ASP.NET determines the capabilities of the browser that a user is using to browse your site by using a feature called browser capabilities. In ASP.NET version 3.5 Service Pack 1, you can define the capabilities that a browser has in the following ways: At the machine level, you create or update a .browser [...]
Tags: ASP.Net 4.0, ASP.Net 4.0 Features, ASP.Net 4.0 Webform, DotNet 4.0
One of the most complained thing in ASP.NET Webform is the growing viewstate which becomes a concern for performance. While earlier we can set the EnableViewState property to true or false, post that, all the controls, by default inherit and even if we set it to enabled at control level, the behaviour was inconsistent. [...]
Tags: ASP.Net 4.0, ASP.Net 4.0 Features, ASP.Net 4.0 View State, ASP.Net 4.0 Webform, DotNet 4.0
Page Meta Keyword & Description – Search Engine Optimization feature
Upto Visual Studio 2008, one can set the Title of the page declaratively or through program using Page.Title. However, as more and more web traffic is happening through search engines, Page’s Title, Keyword and description become more important. Although the Keyword feature was exploited and [...]
Tags: ASP.Net 4.0, ASP.Net 4.0 Features, ASP.Net 4.0 Webform, DotNet 4.0
With Visual Studio 2010 Beta 1 and .NET Framework 4.0 has many improvements for different set of scenarios such as Webforms, Dynamic Data & AJAX based web development. There are also a lot of enhancements to the core runtime that powers ASP.NET such as Caching, Session & Request/Response objects. In this article , [...]
Tags: asp.net, ASP.Net 4.0, ASP.Net 4.0 Features
Introduction ASP.NET Routing was introduced by Microsoft in .NET Framework 3.5 SP1. The purpose of ASP.NET Routing is to decouple the URL of a resource from the physical file on the web server. Here, the contents are generated by a class dynamically, based on the URL parameters. Because the URL does not [...]
Tags: ASP.Net 4.0, ASP.Net 4.0 Features, ASP.Net Routing, DotNet 4.0, Routing in ASP.Net 3.5, Routing in ASP.NET 4.0
Purpose : It returns the left-hand operand if it is not null; otherwise it returns the right operand. Eg :
int y = x ?? -1;
// y = x, unless x is null, in which case y = -1.
Remarks :
Equivalent of
If [...]
Tags: C# Tips, Null Coalescing Operator, Null Coalescing Operator in C#
Purpose : Used in Type Casting… The as operator is like a cast except that it yields null on conversion failure instead of raising an exception. Eg :
string s = myObject as string;
if (s != null)
Console.WriteLine ( “‘” + s + “‘” );
else
Console.WriteLine ( “not a string” );
[...]
Tags: as operator in c#, C# Tips, is operator vs as operator in c#
Purpose: Nullable Types are extension of basic datatypes like int, datetime, double etc… But they can also point to a null reference. Usage : Just add a ? next to the basic data type to make it nullable type Eg [...]




