Sunday, July 15, 2012

Different Versions of ASP.net

Different Versions of ASP.net 

Hi Guys,
Many developers are confused to understand different Asp.net version features.So here I am trying to explain new features associated with versions as Microsoft has introduced.


Versions

New Asp.net features

       Remarks

1.0 • Object-oriented Web application development supporting inheritance, polymorphism and other standard OOP features
• Developers are no longer forced to use Server.CreateObject(...), so early-binding and type safety are possible.
• Based on Windows programming; the developer can make use of DLL class libraries and other features of the Web server to build more robust applications that do more than simply rendering HTML (e.g. exception handling)
JAN2002,First version with Visual Studio .NET
1.1 • Mobile controls
• Automatic input validation
APR2003, with Visual Studio .NET 2003
2.0 • New data controls (GridView, FormView, DetailsView)
• New technique for declarative data access (SqlDataSource, ObjectDataSource, XmlDataSource controls)
• Navigation controls
• Master pages
• Login controls
• Themes
• Skins
• Web parts
• Personalization services
• Full pre-compilation
• New localization technique
• Support for 64-bit processors
• Provider class model
NOV2005, with Visual Studio 2005 and Visual Web Developer Express
and SQL Server 2005
3.0 • Windows Presentation Foundation (WPF)
• Windows Workflow Foundation (WF)
• (WCF) Windows Communication Foundation which can use ASP.NET to host services.
• Windows CardSpace which uses ASP.NET for login roles.
NOV2006,Version 2.0+WCF+WPF+WWF+Card Space
3.5 • New data controls (ListView, DataPager)
• ASP.NET AJAX included as part of the framework
• Support for HTTP pipelining and syndication feeds.
• WCF support for RSS, JSON, POX and Partial Trust
• All the .NET Framework 3.5 changes, like LINQ etc.
• Incorporation of ASP.NET Dynamic Data
• Support for controlling browser history in an ASP.NET AJAX application
• Ability to combine multiple JavaScript files into one file for more efficient downloading
• New namespaces System.Web.Abstractions and System.Web.Routing
NOV2007, with Visual Studio 2008 and Windows Server 2008 and SQL Server 2008
4.0 • Parallel Extensions to improve support for parallel computing, which target multi-core or distributed systems. To this end, technologies like PLINQ (Parallel LINQ) a parallel implementation of the LINQ engine, and Task Parallel Library, which exposes parallel constructs via method calls are included.
• New Visual Basic .NET and C# language features, such as implicit line continuations, dynamic dispatch, named parameters, and optional parameters.
• Support for Code Contracts.
• Inclusion of new types to work with arbitrary-precision arithmetic (System.Numerics.BigInteger) and complex numbers (System.Numerics.Complex).

APR2010,with Visual Studio 2010
4.5  ASP.NET Core Runtime and Framework
• Asynchronously Reading and Writing HTTP Requests and Responses
• Improvements to HttpRequest handling
• Asynchronously flushing a response
• Support for await and Task-Based Asynchronous Modules and Handlers
• Asynchronous HTTP modules
• Asynchronous HTTP handlers
• New ASP.NET Request Validation Features
• Deferred ("lazy") request validation
• Support for unvalidated requests
• AntiXSS Library
• Support for WebSockets Protocol
• Bundling and Minification
 Performance Improvements for Web Hosting
• Key Performance Factors
• Requirements for New Performance Features
• Sharing Common Assemblies
• Using multi-Core JIT compilation for faster startup
• Tuning garbage collection to optimize for memory
• Prefetching for web applications
 ASP.NET Web Forms
• Strongly Typed Data Controls
• Model Binding
• HTML Encoded Data-Binding Expressions
• Unobtrusive Validation
• HTML5 Updates
• ASP.NET MVC 4
• ASP.NET Web Pages 2
 Visual Studio 2012 Release Candidate
• Project Sharing Between Visual Studio 2010 and Visual Studio 2012 Release Candidate (Project Compatibility)
• Configuration Changes in ASP.NET 4.5 Website Templates
• Native Support in IIS 7 for ASP.NET Routing
 HTML Editor
• Smart Tasks
• WAI-ARIA support
• New HTML5 snippets
• Extract to user control
• IntelliSense for code nuggets in attributes
• Automatic renaming of matching tag when you rename an opening or closing tag
• Event handler generation
• Smart indent
• Auto-reduce statement completion
 JavaScript Editor
• Code outlining
• Brace matching
• Go to Definition
• ECMAScript5 support
• DOM IntelliSense
• VSDOC signature overloads
• Implicit references
 CSS Editor
• Auto-reduce statement completion
• Hierarchical indentation.
• CSS hacks support
• Vendor specific schemas (-moz-,-webkit)
• Commenting and uncommenting support
• Color picker
• Snippets
• Custom regions
 Page Inspector
 Publishing
• Publish profiles
• ASP.NET precompilation and merge
MAY2012,withVisual Studio 2012

Friday, July 13, 2012

Differences between C# versions


Basic differences between C#  versions:

Hi  Guys,

I am going to explain what are the basic differences between C# versions  from C# 1.0 to C# 4.5


C# 1.0 C# 2.0 C# 3.0 C# 4.0 C# 5.0
Array List Generics Implicitly typed
local variables
Dynamic binding
(Late Binding)
Asynchronous methods
Partial types Object and collection initializers Named and optional arguments Compiler as a service
Anonymous methods Auto-Implemented properties Generic  Covariance and contravariance Caller Information
Iterators Anonymous types
Nullable types Extension methods
Private setters (properties) LINQ(Query expressions)
Method group conversions (delegates) Lambda expressions
Expression trees
CLR VERSION 1.0 CLR VERSION 2.0 CLR VERSION
2.0 (Updated)
CLR VERSION 4.0 CLR VERSION 5.0
.NET  FREMWORK VERSION 1.0
.NET FREMWORK VERSION 2.0
.NET FREMWORK VERSION 3.0 AND 3.5 .NET FREMWORK VERSION 4.0 .NET FREMWORK VERSION 4.5

Wednesday, July 11, 2012

Difference between VSS (Visual Source Safe) and TFS (Team Foundation Server)

Difference between VSS (Visual Source Safe) and TFS (Team Foundation Server)

Hi All ,


Here I am going to summarise what are basic differences between VSS and TFS.

Basically it depends on project requirement to choose VSS or TFS. But now TFS has more advantages than VSS.

 1. Visual Source Safe (VSS) and Team Foundation Server (TFS).

2. When you want to control only your Solution Explorer then it is better to choose VSS whereas TFS supports control over documenting, auditing and Solution Explorer.

3. To Use VSS no extra tools are needed whereas for TFS need IIS, Sql Server.

4. Multiple Check in are allowed for the same file in TFS whereas it is not possible in VSS.
<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->
5. Visual SourceSafe does not store the merge history between two branches of files or folders. However, Team Foundation source control does have support for merge history.

6. Scalability is the main difference for VSS. VSS can support a team about 20 peoples whereas TFS supports around 2000 People.

<!--[if !supportLineBreakNewLine]-->
<!--[endif]-->