Thursday, April 30, 2009

What is the equivalent of date() and time() in ASP.NET?

VB.NET
System.DateTime.Now.ToShortDateString()
System.DateTime.Now.ToShortTimeString()
C#
System.DateTime.Now.ToShortDateString();
System.DateTime.Now.ToShortTimeString();

What is reflection?

All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called reflection.

What is Storyboard?

Storyboard is a Silver light class with controls animations with a timeline, and provides object and property targeting information for its child animations

Tuesday, April 28, 2009

What is XAML ?

  • Extensible Application Markup Language (XAML, pronounced zammel) is a declarative XML-based language created by Microsoft which is used to initialize structured values and objects.

Silverlight Versions

  1. Silverlight 1.0 - April 2007
  2. Silverlight 2.0 - October 2008
  3. Silverlight 2.0(Beta) - March 2009

What is an Assembly?

  1. Assembly is unit of deployment like EXE or a DLL.
  2. An assembly consists of one or more files (dlls, exe’s, html files etc.), and
    represents a group of resources, type definitions, and implementations of those types.
  3. Assembly has two types
    1. Private assembly
    2. Public assembly or Shared assembly

What is a CLR?

  1. Common Language Runtime
  2. It is the heart of the .NET framework.
  3. It maintains following things
    · Garbage Collection
    · Code Access Security
    · Code Verification
    · Intermediate language

What is an IL?

  1. Intermediate Language
  2. IL is also known as MSIL (Microsoft Intermediate Language)
  3. All .NET source code is compiled by IL.
  4. It is converted to machine code at the point where the software is installed, or at run-time by a Just-In-Time (JIT) compiler.