Tuesday, November 30, 2010

.Net Framework 4.0 – What’s new

What are the major improvements provided by the common language runtime and the base class libraries?

Brief about the Improvements -

Diagnostics and Performance - Starting with the .NET Framework 4, you can get processor usage and memory usage estimates per application domain. 

Garbage Collection - This feature replaces concurrent garbage collection in previous versions and provides better performance.

Code Contracts - Code contracts let you specify contractual information that is not represented by a method's or type's signature alone. The new System.Diagnostics.Contracts namespace contains classes that provide a language-neutral way to express coding assumptions in the form of preconditions, postconditions, and object invariants.

Design-Time-Only Interop Assemblies - You no longer have to ship primary interop assemblies (PIAs) to deploy applications that interoperate with COM objects. In the .NET Framework 4, compilers can embed type information from interop assemblies, selecting only the types that an application (for example, an add-in) actually uses.

Dynamic Language Runtime - The dynamic language runtime (DLR) is a new runtime environment that adds a set of services for dynamic languages to the CLR. The DLR makes it easier to develop dynamic languages to run on the .NET Framework and to add dynamic features to statically typed languages. To support the DLR, the new System.Dynamic namespace is added to the .NET Framework. 

Covariance and Contravariance - Several generic interfaces and delegates now support covariance and contravariance.

BigInteger and Complex Numbers - The new System.Numerics.BigInteger structure is an integer data type that can store fairly large number as it has no upper and lower bound values.Complex types represents a complex number of form a + bi. IT supports arithmetic and trigonometric operations with complex numbers.

Tuples - The .NET Framework 4 provides the System..::.Tuple class for creating tuple objects that contain structured data.

File System Enumeration Improvements - You can now enumerate directories and files by using methods that return an enumerable collection of strings of their names.ou can also use methods that return an enumerable collection of DirectoryInfo, FileInfo, or FileSystemInfo objects. 

Memory-Mapped Files - A memory-mapped file contains the contents of a file in virtual memory and is an application’s logical address space. So You can use memory-mapped files to edit very large files and to create shared memory for interprocess communication.

64-Bit Operating Systems and Processes - You can identify 64-bit operating systems and processes with the Environment.Is64BitOperatingSystem and Environment.Is64BitProcess properties.

Pasted from <http://www.dotnetcodes.com/dotnetcodes/code/Articles-55-Net-framework-40-major-improvements.aspx>

Monday, November 15, 2010

My 2 hour weekend experience after the weekend

My weekend is generally busier than the whole week. My lovely endearing little princess keeps me on my toes through out Saturday and Sunday. Actually she literally wants to be on my lap all the time.

I have already given up doing tasks that I consider NECESSARY, however to finish out "THE ABSOLUTELY NECESSARY" tasks of the day like brushing my teeth, taking bath etc I get up early on the weekend so that I am done by the time she is awake.

By being so demanding of me, she actually makes me feel so very special. All she wants is her MOMMMYYYY and I feel so loved so much wanted for and so nice :). And so Sunday night I am totally exhausted, my left forearm, the region near Ulna gets swollen and my feet are on fire.

No doubt the Monday blues get worse for me. And I really need lot of will to start for office. Today was no different "Monday" and my hubby down with fever adding to the "BLUES". On my way to office an inner voice told me hey Super Women (I consider all working mothers super women) you need a break too!!!! You deserve a VACATION. And I was like OKK!!!... but is there something that can give me a VACATION experience in 2 hrs (an affordable time I could be out of office)??.....Inner voice answers - A SUPERB SPA ......My heart jumped and my car took a left turn for the parlor.... A WOW Experience :).....

A message to all superb women ... Listen to your inner voice, find time for yourself and get a WOW experience :)