1.One-way binding:
The data flows from the source to the target,each time a change is made on the source
2.One-time binding:
Sends data from source to the target, however it does this only when the application is
started or when the datacontext changes
3.One-way-to-source binding:
sends data from the target to source
4.Two-way binding:(Default)
Sends the source to the target and if there are changes in the target, those values will
be sent back to the source.
What are the panels in WPF?
1.CANVAS - Explicitly positioning of controls
2.DOCKPANEL - Similar to windows form docking application
3.GRID - Can arrange child controls with rows and columns
4.STACKPANEL - Used to organize child controls either horizontally or vertically
5.WRAPPANEL - Can arrange child controls from left to right one after the other as
long as they fit in to next line
What are the Resources, Styles and Triggers?
Style - element containing setter elements.
Triggers - used to change the look and feel of the controls dynamically.
Resources - Styles and Triggers are stored in the resources
Static Resources - resources are searched at load time
Dynamic Resources - If the resource changes while the program is running
What is CLR Property?
CLR properties are really just safe wrappers around a Private member variable, such
that the correct access modifiers can be applied to the property, so we could have a
Read or a Read/Write or just a Write property. But basically that's it. This is all CLR
properties really do for us.
they are defined like this
private int x;
public int X
{
get { return x; }
set { x = value; }
}
What is dependency property in WPF?
WPF elements are classes with methods, properties and events. Nearly every property
of a WPF element is a dependency property. Dependency properties are used with
databinding, animation, resources and styles.
Only a class that derive from base class DependencyObject can include dependency
properties. For Example
<Canvas>
<Button Canvas.Top="35" Canvas.Left="45">
Click Me!
</Button>
</Canvas>
What is Property Invalidation?
Its used to update the custom control whenever the property changes.Adding property
invalidation callbacks to a custom control is as easy as adding a
PropertyChangedCallback object to a PropertyMetadata object and add this
PropertyMetadata object to Register() or RegisterAttached() methods.
What are templates?
A template is similar to a style, and two different kinds are available:
Data templates: allow using XAML's DataTemplate element to specify a group of
characteristics for how data should be displayed. Colors, alignment, and more can be
defined once in a data template, then used elsewhere in an application's user interface.
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
Title="Window1" Height="300" Width="300">
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
xmlns:x=http://schemas.microsoft.com/winfx/2006/xaml
Title="Page1">
LINQ defines a set of query operators that can be used to query and filter data in
-arrays
-enumerable classes
-XML
-relational database
What is BizTalk?
BizTalk is a business process management (BPM) server that enables companies to
automate and optimize business processes. This includes powerful, familiar tools to
design, develop, deploy, and manage those processes.
Everything you need for easy installation is included integrated management tools,
support for Web services, and a new business activity monitoring (BAM) portal. In
addition, BizTalk Server 2006 includes 23 application and technology adapters in the
box for connecting to legacy systems (mainframe and mid-range) and line-of-business
applications (SAP, Siebel, PeopleSoft, Oracle, and JD Edwards).
What is XSL?
XSL consists of three parts:
XSLT - a language for transforming XML documents
XPath - a language for navigating in XML documents
XSL-FO - a language for formatting XML documents
What is Service-Oriented Architecture (SOA)?
In this changing business climate, where globalization and demanding customers
require agility and flexibility, retailers' IT systems are not helping them in meeting
these expectations. Most of the legacy retail systems were built following tightly
coupled point-to-point integration principles. Service orientation offers great benefits
in moving from these legacy systems to more flexible and agile systems.
(b)Time-Based Caching
Another technique for caching is based on time. For example, the cache can expire on
a certain date, or it will only be available for a certain period of time. There are two
ways in which you can use time-based caching:
--Absolute Expiration. The cache is set to expire on a particular date and time.
--Sliding Expiration. The cache is set to expire after a certain period of inactivity.
For example, if you have:
'===Absolute expiration===
Cache.Insert("News", ds, null, DateTime.Now.AddMinutes(2),
Cache.NoSlidingExpiration);
The cache is set to expire exactly two minutes after the user has retrieved the data.
This will cause the cache to be cleared if the user does not reload the page within one
minute. If the user reloads the page within the one-minute time frame, the data in the
cache will be valid for another minute.
1234