<<

IJSRD - International Journal for Scientific Research & Development| Vol. 2, Issue 02, 2014 | ISSN (online): 2321-0613

Comparative Study on Various Version of .Net Framework

Yogesh S. Patil 1 Abhijit P. Ingale2 Rahul . Singh 3 Rahul P. Chaudhari 4 Rammohan A. Agrawal5 1, 2, 3, 4, 5 Department of Computer Science & Engineering 1, 2, 3, 4, 5 SSGBCOET, Bhusawal, India

Abstract---.NET Framework is a software framework deployment, Security, Portability. Custom attributes are one developed by that runs primarily on Microsoft of the most innovative features of the .NET framework [2]. Windows. It includes a large and provides language The Fig 1 shows the .Net Framework stack. interoperability (each language can use code written in other languages) across several programming languages. II. NET FRAMEWORK 2.0 FEATURES Programs written for .NET Framework execute in a software environment, known as the A. ADO.NET (CLR), an application virtual machine that provides services New features in ADO.NET include support for user-defined such as security, memory management, and exception types (UDT), asynchronous database operations, XML data handling. The class library and the CLR together constitute types, large value types, snapshot isolation, and new .NET Framework. When the new versions of .Net attributes that allow applications to support multiple active framework are release it overcomes the problem of early result sets (MARS) with SQL 2005. .NET framework version and add new features in its which provide better is a rather radical approach to make the development of usability of it. Windows more component-oriented [4]. Keywords: Framework, Compatibility, Extensibility, B. ASP.NET ADO.Net, Interoperability. The Microsoft .NET Framework 2.0 includes significant enhancements to all areas of ASP.NET. For Web page I. INTRODUCTION development, new controls make it easier to add commonly .NET Framework's Base Class Library provides user used functionality to dynamic Web pages. New data controls interface, data access, database connectivity, cryptography, make it possible to display and edit data on an ASP.NET web application development, numeric algorithms, and Web page without writing code. An improved code-behind network communications. model makes developing ASP.NET pages easier and more robust. Caching features provide several new ways to cache pages, including the ability to build cache dependency on tables in a SQL Server database. It is possible to use Frame Oriented Programming in Metadata [3]. ASP.NET accommodates a wide variety of browsers and devices. By default, controls render output that is compatible with XHTML 1.1 standards. You can use device filtering to specify different property values on the same control for different browsers. C. .NETRemoting .NET Framework Remoting now supports IPv6 addresses and the exchange of generic types. The classes in the System.Runtime.Remoting.Channels.Tcp namespace support authentication and encryption using the Security Support Provider Interface (SSPI). Classes in the new System.Runtime.Remoting.Channels.Ipc namespace allow applications on the same computer to communicate quickly Fig. 1: .NET Framework Stack Structure. without using the network. Finally, you can now configure Programmers produce software by combining their own the connection cache time-out and the number of method source code with .NET Framework and other libraries. retries, which can improve the performance of network load- balanced remote clusters. .NET Framework is intended to be used by most new applications created for the Windows platform. Microsoft D. XML also produces an integrated development environment The new System.Xml.XmlReaderSettings class allows largely for .NET software called Visual Studio. The feature specification of the type of verifications to be done when of reflection is provided in .Net Framework [1]. The General using a subclass of XmlReader to read XML data. It is now Design features that are provided in .Net Framework’s are possible to partially validate a DOM tree loaded within an Interoperability, Common Language Runtime engine, instance of XmlDocument. It is now possible to modify a Language independence, Base Class Library, Simplified

All rights reserved by www.ijsrd.com 384 Comparative Study on Various Version of .Net Framework (IJSRD/Vol. 2/Issue 02/2014/105)

DOM tree stored in an XmlDocument instance through the WCS (originally called Info Card) helps keep track XPathNavigator cursor API. of their digital identities as distinct information cards. If a Web site accepts WCS logins, users attempting to log in to III. NET FRAMEWORK 3.0/3.5 FEATURES that site will see a WCS selection. By choosing a card, users also choose a digital identity that will be used to access this

A. Windows Presentation Foundation (WPF) site. CardSpace and the new supporting technologies will Windows Presentation Foundation (WPF) is a next- change how you authenticate into an application, whether it generation presentation system for building Windows client sits on the Web, , or your desktop. applications. The core of WPF is a resolution-independent and vector-based rendering engine that is built to take E. Core New Features and Improvements advantage of modern graphics hardware. Some core new features and improvements are implemented WPF extends the core with a comprehensive set of in .Net 3.0/3.5; they are: application-development features that include Extensible 1. Auto Implemented Property Application Markup Language (XAML), controls, data 2. Implicit Typed local variable binding, layout, 2-D and 3-Dgraphics, animation, styles, 3. Implicitly Typed Arrays templates, documents, media, text, and typography. WPF is 4. Anonymous Types included in the Microsoft .NET Framework, so you can 5. Extension Methods (3.5 new feature) build applications that incorporate other elements of the 6. Object and Collection Initializers .NET . 7. Lambda Expressions To support some of the more powerful WPF capabilities and to simplify the programming experience, WPF includes IV. NET FRAMEWORK 4.0 FEATURES additional programming constructs that enhance properties A. Application Compatibility and Deployment and events: dependency properties and routed events. The .NET Framework 4 is highly compatible with B. Windows Communication Foundation (WCF) applications that are built with earlier .NET Framework Windows Communication Foundation (WCF) is Microsoft's versions, except for some changes that were made to unified programming model for building service-oriented improve security, standards compliance, correctness, applications. WCF allows you to build many kinds of reliability, and performance. distributed applications including "traditional" Web Services The .NET Framework 4 does not automatically use its so that your services support SOAP and will therefore be version of the common language runtime to run applications compatible with older .NET (and other) technologies. WCF that are built with earlier versions of the .NET Framework. is not just about pure SOAP over the wire - you can work To run older applications with .NET Framework 4, you must with an Info set, and create a binary representation of your compile your application with the target .NET Framework SOAP message that can then be sent along with your choice version specified in the properties for your project in Visual of protocol. This is for those who are particularly concerned Studio, or you can specify the supported runtime with the about performance and have traditionally turned to .NET Element in an application remoting. configuration file. C. Windows Workflow Foundation (WWF) B. Core New Features and Improvements Windows Workflow Foundation, a core component of .NET Some new features are introduced in .Net framework 4.0. Framework 3.0, provides a programming model, run-time The following sections describe new features and engine, and tools for building workflow applications. improvements provided by the common language runtime A workflow is created and maintained by the workflow run- and the base class libraries. time engine. There can be several workflow engines within 1. BigInteger and Complex Numbers an , and each workflow engine can 2. Tuples support multiple workflows running concurrently. The run- 3. Covariance and Contravariance time enables idle workflows to be unloaded from memory, 4. persisted to a store, and reloaded whenever input is received. C. Managed Extensibility Framework Workflows can be authored in code, XAML markup, or a combination of both, known as code-separation, which is The Managed Extensibility Framework (MEF) is a new similar to the ASP.NET mode. library in the .NET Framework 4 that helps you build extensible and composable applications. MEF enables you D. Windows CardSpace (WCS) to specify points where an application can be extended, to Windows CardSpace (InfoCard) is a Digital Identity to expose services to offer to other extensible applications and online services. Digital Identity is how a user will be to create parts for consumption by extensible applications. electronically represented. Such as for a debit/credit card, It also enables easy discoverability of available parts based each card has a digital identity and password. If any user on , without the need to load the assemblies for the uses the site on internet then he enters their username and parts. password, for identity, but this is not secure. WCS reduces these types of problems.

All rights reserved by www.ijsrd.com 385 Comparative Study on Various Version of .Net Framework (IJSRD/Vol. 2/Issue 02/2014/105)

D. Parallel Computing  The new Ribbon control, which enables you to The .NET Framework 4 introduces a new programming implement a ribbon user interface that hosts a Quick model for writing multithreaded and asynchronous code that Access Toolbar, Application Menu, and tabs. greatly simplifies the work of application and library  The new INotifyDataErrorInfo interface, which developers. The new model enables developers to write supports synchronous and asynchronous data validation. efficient, fine-grained, and scalable parallel code in a natural  New features for the VirtualizingPanel and Dispatcher idiom without having to work directly with threads or the classes. thread pool. The new System Threading Tasks namespace  Improved performance when displaying large sets of and other related types support this new model. grouped data, and by accessing collections on non-UI threads. E. Web ASP.NET version 4 introduces new features in the following D. Windows Workflow Foundation (WF) Features in 4.5 areas: Several new features have been added to Windows  Core services, including a new API that lets you extend Workflow Foundation (WF) in the .NET Framework 4.5. caching, support for compression for session-state data, These new features include: and a new application preload manager (autostart  State machine workflows, which were first introduced feature). as part of the .NET Framework 4.0.1 (.NET Framework  Web Forms, including more integrated support for 4 Platform Update 1). This update included several new ASP.NET routing, enhanced support for Web standards, classes and activities that enabled developers to create updated browser support, new features for data controls, state machine workflows. These classes and activities and new features for view state management. were updated for the .NET Framework 4.5 to include:  Web Forms controls, including a new Chart control.  The ability to set breakpoints on states.  MVC, including new helper methods for views, support  The ability to copy and paste transitions in the for partitioned MVC applications, and asynchronous workflow designer. controllers.  Designer support for shared trigger transition creation.  Dynamic Data, including support for existing Web E. ASP.NET 4.5 applications, support for many-to-many relationships and inheritance, new field templates and attributes, and ASP.NET 4.5 includes the following new features: enhanced data filtering.  Support for new HTML5 form types.  Microsoft Ajax, including additional support for client-  Support for model binders in Web Forms. These let you based Ajax applications in the Microsoft Ajax Library. bind data controls directly to data-access methods, and  Visual Web Developer, including improved IntelliSense automatically convert user input to and from .NET for JScript, new auto-complete snippets for HTML and Framework data types. ASP.NET markup, and enhanced CSS compatibility.  Support for unobtrusive JavaScript in client-side  Deployment, including new tools for automating typical validation scripts. deployment tasks.  Improved handling of client script through bundling and  Multi-targeting, including better filtering for features minification for improved page performance. that are not available in the target version of the .NET  Integrated encoding routines from the AntiXSS library Framework (previously an external library) to protect from cross- site scripting attacks. V. NET FRAMEWORK 4.5 FEATURES  Support for WebSockets protocol. A. .NET for Windows Store Apps CONCLUSIONS Windows Store apps are designed for specific form factors and leverage the power of the Windows . A Finally we conclude that releasing of different versions of subset of the .NET Framework 4.5 is available for building .Net framework will never stop as world is developing very Windows Store apps for Windows by using C# or Visual fast everybody wants changes as per their requirements for Basic. new ideas to be implement and change is beginning of releasing of new versions. B. Portable Class Libraries The Portable Class Library project in Visual Studio 2012 REFERENCES enables you to write and build managed assemblies that [1]. Lumpe, M., On the representation and use of Metadata, work on multiple .NET Framework platforms. Using a Second InternationalWorkshop on Composition Portable Class Library project, you choose the platforms Languages, Málaga, Spain, June 2002 (such as Windows Phone and .NET for Windows Store [2]. Richter, J., Applied Microsoft .NET Framework apps) to target. Programming, Microsoft Press, 2002. C. Windows Presentation Foundation (WPF) Features in [3]. Sauer, F., Metadata driven multi-artifact code 4.5 generation using Frame Oriented Programming, In the .NET Framework 4.5, Windows Presentation OOPSLA 2002. Foundation (WPF) contains changes and improvements in [4]. Troelsen, A., C# and the .NET Platform, Apress, 2001. the following areas:

All rights reserved by www.ijsrd.com 386 Comparative Study on Various Version of .Net Framework (IJSRD/Vol. 2/Issue 02/2014/105)

[5]. Wong, T., S. Jarzabek, M. Soe, R. Shen, H. Zhang, XML Implementation of Frame Processor, Symposium of Software Reusability, SSR’01, Toronto, Canada, May 2001, pp. 164-172.

.

All rights reserved by www.ijsrd.com 387