Showing posts with label Microsoft Apps. Show all posts
Showing posts with label Microsoft Apps. Show all posts

Thursday, June 13, 2013

What's New in the .NET Framework 4.5?

This topic contains a summary of key new features and improvements in the following areas of the .NET Framework 4.5. This topic does not provide comprehensive information and is subject to change. For general information about the .NET Framework, see Getting Started with the .NET Framework. For supported platforms, see System Requirements. For download links and installation instructions, see Installing the .NET Framework 4.5.



.NET for Windows Store apps

Windows Store apps are designed for specific form factors and leverage the power of the Windows operating system. A subset of the .NET Framework 4.5 is available for building Windows Store apps for Windows by using C# or Visual Basic. This subset is called .NET for Windows Store apps and is discussed in an overview in the Windows Dev Center.


Portable Class Libraries

The Portable Class Library project in Visual Studio 2012 enables you to write and build managed assemblies that work on multiple .NET Framework platforms. Using a Portable Class Library project, you choose the platforms (such as Windows Phone and .NET for Windows Store apps) to target. The available types and members in your project are automatically restricted to the common types and members across these platforms.


Core New Features and Improvements

The following features and improvements were added to the common language runtime and to .NET Framework classes:
  • Ability to reduce system restarts by detecting and closing .NET Framework 4 applications during deployment. See Reducing System Restarts During .NET Framework 4.5 Installations.
  • Support for arrays that are larger than 2 gigabytes (GB) on 64-bit platforms. This feature can be enabled in the application configuration file. See the gcAllowVeryLargeObjects element, which also lists other restrictions on object size and array size.
  • Better performance through background garbage collection for servers. When you use server garbage collection in the .NET Framework 4.5, background garbage collection is automatically enabled. See the Background Server Garbage Collection section of the Fundamentals of Garbage Collection topic.
  • Background just-in-time (JIT) compilation, which is optionally available on multi-core processors to improve application performance. See ProfileOptimization.
  • Ability to limit how long the regular expression engine will attempt to resolve a regular expression before it times out. See the Regex.MatchTimeout property.
  • Ability to define the default culture for an application domain. See the CultureInfo class.
  • Console support for Unicode (UTF-16) encoding. See the Console class.
  • Support for versioning of cultural string ordering and comparison data. See the SortVersion class.
  • Better performance when retrieving resources. See Packaging and Deploying Resources in Desktop Apps.
  • Zip compression improvements to reduce the size of a compressed file. See the System.IO.Compression namespace.
  • Ability to customize a reflection context to override default reflection behavior through the CustomReflectionContext class.
  • Support for the 2008 version of the Internationalized Domain Names in Applications (IDNA) standard when the System.Globalization.IdnMapping class is used on Windows 8.
  • Delegation of string comparison to the operating system, which implements Unicode 6.0, when the .NET Framework is used on Windows 8. When running on other platforms, the .NET Framework includes its own string comparison data, which implements Unicode 5.x. See the String class and the Remarks section of the SortVersion class.
  • Type reflection support split between Type and TypeInfo classes. See Reflection in the .NET Framework for Windows Store Apps.

Managed Extensibility Framework (MEF)

The Managed Extensibility Framework (MEF) provides the following new features:
  • Support for generic types.
  • Convention-based programming model that enables you to create parts based on naming conventions rather than attributes.
  • Multiple scopes.
  • A subset of MEF that you can use when you create Windows Store apps. This subset is available as a downloadable package from the NuGet Gallery. To install the package, open your project in Visual Studio 2012, choose Manage NuGet Packages from the Project menu, and search online for the Microsoft.Composition package.
     
Asynchronous File Operations

In the .NET Framework 4.5, new asynchronous features were added to the C# and Visual Basic languages. These features add a task-based model for performing asynchronous operations. To use this new model, use the asynchronous methods in the I/O classes. See Asynchronous File I/O.
 

Tools

Resource File Generator (Resgen.exe) enables you to create a .resw file for use in Windows Store apps from a .resources file embedded in a .NET Framework assembly. For more information, see Resgen.exe (Resource File Generator).
Managed Profile Guided Optimization (Mpgo.exe) enables you to improve application startup time, memory utilization (working set size), and throughput by optimizing native image assemblies. The command-line tool generates profile data for native image application assemblies. See Mpgo.exe (Managed Profile Guided Optimization Tool).


Parallel Computing

The .NET Framework 4.5 provides several new features and improvements for parallel computing. These include improved performance, increased control, improved support for asynchronous programming, a new dataflow library, and improved support for parallel debugging and performance analysis. See the entry What’s New for Parallelism in .NET 4.5 in the Parallel Programming with .NET blog.


Web

ASP.NET 4.5 includes the following new features:
  • Support for new HTML5 form types.
  • Support for model binders in Web Forms. These let you bind data controls directly to data-access methods, and automatically convert user input to and from .NET Framework data types.
  • Support for unobtrusive JavaScript in client-side validation scripts.
  • Improved handling of client script through bundling and minification for improved page performance.
  • Integrated encoding routines from the AntiXSS library (previously an external library) to protect from cross-site scripting attacks.
  • Support for WebSockets protocol.
  • Support for reading and writing HTTP requests and responses asynchronously.
  • Support for asynchronous modules and handlers.
  • Support for content distribution network (CDN) fallback in the ScriptManager control.

Networking

The .NET Framework 4.5 provides a new programming interface for HTTP applications. For more information, see the new System.Net.Http and System.Net.Http.Headers namespaces.
Support is also included for a new programming interface for accepting and interacting with a WebSocket connection by using the existing HttpListener and related classes. For more information, see the new System.Net.WebSockets namespace and the HttpListener class.
In addition, the .NET Framework 4.5 includes the following networking improvements:
  • RFC-compliant URI support. For more information, see Uri and related classes.
  • Support for Internationalized Domain Name (IDN) parsing. For more information, see Uri and related classes.
  • Support for Email Address Internationalization (EAI). For more information, see the System.Net.Mail namespace.
  • Improved IPv6 support. For more information, see the System.Net.NetworkInformation namespace.
  • Dual-mode socket support. For more information, see the Socket and TcpListener classes.


Windows Presentation Foundation (WPF)

In the .NET Framework 4.5, Windows Presentation Foundation (WPF) contains changes and improvements in the following areas:
  • The new Ribbon control, which enables you to implement a ribbon user interface that hosts a Quick Access Toolbar, Application Menu, and tabs.
  • The new INotifyDataErrorInfo interface, which supports synchronous and asynchronous data validation.
  • New features for the VirtualizingPanel and Dispatcher classes.
  • Improved performance when displaying large sets of grouped data, and by accessing collections on non-UI threads.
  • Data binding to static properties, data binding to custom types that implement the ICustomTypeProvider interface, and retrieval of data binding information from a binding expression.
  • Repositioning of data as the values change (live shaping).
  • Ability to check whether the data context for an item container is disconnected.
  • Ability to set the amount of time that should elapse between property changes and data source updates.
  • Improved support for implementing weak event patterns. Also, events can now accept markup extensions.

Windows Communication Foundation (WCF)

In the .NET Framework 4.5, the following features have been added to make it simpler to write and maintain Windows Communication Foundation (WCF) applications:
  • Simplification of generated configuration files.
  • Support for contract-first development.
  • Ability to configure ASP.NET compatibility mode more easily.
  • Changes in default transport property values to reduce the likelihood that you will have to set them.
  • Updates to the XmlDictionaryReaderQuotas class to reduce the likelihood that you will have to manually configure quotas for XML dictionary readers.
  • Validation of WCF configuration files by Visual Studio as part of the build process, so you can detect configuration errors before you run your application.
  • New asynchronous streaming support.
  • New HTTPS protocol mapping to make it easier to expose an endpoint over HTTPS with Internet Information Services (IIS).
  • Ability to generate metadata in a single WSDL document by appending ?singleWSDL to the service URL.
  • Websockets support to enable true bidirectional communication over ports 80 and 443 with performance characteristics similar to the TCP transport.
  • Support for configuring services in code.
  • XML Editor tooltips.
  • ChannelFactory caching support.
  • Binary encoder compression support.
  • Support for a UDP transport that enables developers to write services that use "fire and forget" messaging. A client sends a message to a service and expects no response from the service.
  • Ability to support multiple authentication modes on a single WCF endpoint when using the HTTP transport and transport security.
  • Support for WCF services that use internationalized domain names (IDNs).
 

Windows Workflow Foundation (WF)

Several new features have been added to Windows Workflow Foundation (WF) in the .NET Framework 4.5. These new features include:
  • State machine workflows, which were first introduced as part of the .NET Framework 4.0.1 (.NET Framework 4 Platform Update 1). This update included several new classes and activities that enabled developers to create state machine workflows. These classes and activities were updated for the .NET Framework 4.5 to include:
    • The ability to set breakpoints on states.
    • The ability to copy and paste transitions in the workflow designer.
    • Designer support for shared trigger transition creation.
    • Activities for creating state machine workflows, including: StateMachine, State, and Transition.
  • Enhanced Workflow Designer features such as the following:
    • Enhanced workflow search capabilities in Visual Studio, including Quick Find and Find in Files.
    • Ability to automatically create a Sequence activity when a second child activity is added to a container activity, and to include both activities in the Sequence activity.
    • Panning support, which enables the visible portion of a workflow to be changed without using the scroll bars.
    • A new Document Outline view that shows the components of a workflow in a tree-style outline view and lets you select a component in the Document Outline view.
    • Ability to add annotations to activities.
    • Ability to define and consume activity delegates by using the workflow designer.
    • Auto-connect and auto-insert for activities and transitions in state machine and flowchart workflows.
  • Storage of the view state information for a workflow in a single element in the XAML file, so you can easily locate and edit the view state information.
  • A NoPersistScope container activity to prevent child activities from persisting.
  • Support for C# expressions:
    • Workflow projects that use Visual Basic will use Visual Basic expressions, and C# workflow projects will use C# expressions.
    • C# workflow projects that were created in Visual Studio 2010 and that have Visual Basic expressions are compatible with C# workflow projects that use C# expressions.
  • Versioning enhancements:
    • The new WorkflowIdentity class, which provides a mapping between a persisted workflow instance and its workflow definition.
    • Side-by-side execution of multiple workflow versions in the same host, including WorkflowServiceHost.
    • In Dynamic Update, the ability to modify the definition of a persisted workflow instance.
  • Contract-first workflow service development, which provides support for automatically generating activities to match an existing service contract.

Saturday, June 1, 2013

Windows 8.1 Blue, a Deep Preview

Microsoft launched Windows 8 on last August, with a freshly designed user for the touch-based devices. Just after eight months, Microsoft is now keen to talk about some upcoming changes in Windows 8.1, entitled as Windows Blue, it sets the pace for changes to Microsoft's software that will continue in the future for both the x86 and RT versions of the OS.

Lets see some new and improved features of Windows 8.1 codenamed as Windows Blue.

Windows Start Button

The most important up-gradation in Windows Blue is the coming back of Windows Start Button in the left-hand corner of the Windows 8.1 to make it easier for non-touch screen users, Microsoft already got so many complaints and reports regarding the missing start button feature.
In addition to the start button, users will also be able to set and rename apps in “All Apps screen” (where Windows listed all installed applications on your system) as the default instead of the Start Screen. More details given below

All App screen (Default start screen)

As like Windows Phone Microsoft introduced small and larger live tiles in Windows Blue.
The size of tiles depend on the frequency of usage or the information you want to get from that app tile, if you are using an app so frequently size of the tile will become extra-large and for applications like weather app, it need to display more forecast data’s. Users also can redesign the size of the tiles

And new installed apps no longer automatically pin into default start screen, users have to manually pin it.

The best feature I liked in new tiles slide is, we can create four tiles (in the screenshot we can see video, game, music and photo) in a single tile space.
SkyDrive (cloud storage)

Microsoft’s cloud storage service, SkyDrive, is far more integrated than it was even in Windows 8, files can be saved directly to SkyDrive as like in windows office 2013. Users can access make SkyDrive files offline on PC.
Background image:

In default Start Screen, now we can set mirror image of Desktop Wallpaper, this feature will makes all app screen friendlier.

More color and texture:

Windows 8.1 offers a wider variety colors themes and textures, where Windows 8 had a limited number of colors and textures.
Freshly added features in Blue. 

Search:

"The boldest totally new feature that we've done in 8.1 is the Search feature," - Harris. As he said, MS improved build-in Search a lot more powerful in Windows Blue.
Microsoft pull result from a variety of sources, including the Web Results, Documents, Apps, SkyDrive and much more.


Customizable Snap views

Windows 8.1 brings variable, continuous size of snap views. You will have more ways to see multiple apps on the screen at the same time. You can resize apps to any size you want, share the screen between two Apps, or have up to four apps on screen.
If you have multiple displays connected, you can have different Windows Store Apps running on all the displays at the same time and the Start Screen can stay open on one monitor. This makes Multi-Tasking even easier. Also in Windows 8.1, you can have multiple windows of the same app snapped together – such as two Internet Explorer Windows.
Auto Updates: 

From Windows 8.1 there won't be any manual updates for apps, all installed apps will be automatically updates when new update releases for the app.

Better Multi-Monitor Support: 

A new Settings app, with moves several functions from the desktop to the modern user-interface, includes more options for Multi-Monitor setups and allowing users to set the resolution of secondary monitors manually if they wish.

IE Improvements:
Web browsing continues to be one of the most popular activities on any device. That’s why with Windows 8.1, you also get Internet Explorer 11 (IE11).

Internet explorer 11 builds on the advancements in IE10 and is the only browser that is built for touch. IE11 will offer even better touch performance, faster page load times and several other new features we think you will enjoy. For example, you can now adjust the appearance of modern internet explorer 11 to always show the address bar and you can have as many open tabs as you like. And you can access your open tabs in sync across your other Windows 8.1 devices.

Reading List: 

In any app with content (including IE), users will be able to save that content to a Reading List. It works with news apps like The New York Times and Microsoft's home-grown ones as well as web pages.

Active Lock Screen: 

The lock screen supports an intelligent slideshow that can do things like display photos from exactly a year ago. You'll also be able to take a Skype call without unlocking the device.

Photo Editing: 

The Photos app gets basic photo editing in Windows 8.1 Blue.

New Microsoft Apps:

Windows 8.1 introduces new Microsoft apps including a Calculator, and Alarm, Food & Drink (which has a nifty hands-free recipe mode that lets you wave your hand to advance to the next step) and Health & Fitness (with a WebMD-esque symptom tracker).
Users new to Windows 8 will probably get a lot of use out of Help & Tips, which will help walk them through the finer details of the modern user-interface.

App Syncing Across Devices: 

When you log into a second Windows 8.1 device, the same apps you have on your first one will automatically download and sync. Similar to iOS, you'll be able to opt individual apps and devices out of syncing.

Apps Enhancements: 

The Xbox-branded apps for Music, Video and Games all introduce new features that bring you to the content you interact with the most. News and Sports have similar enhancements, including customized sections and making stories and stats on your favorite teams more prominent.

When I get this update ?


The new Windows 8.1 will freely available from June 26 to all genuine Windows 8 users.
Are you satisfied with new Windows 8.1, please leave your valuable comments below