What is WPF (Windows Presentation foundation )?

Thursday, August 6, 2009


Windows Presentation Foundation (WPF) provides a unified programming model for building rich Windows smart client user experiences that incorporate UI, media, and documents.


www.codecollege.NET

What is WWF or Windows Workflow Foundation ?


WWF (Windows Workflow Foundation) is a platform for designing, managing and executing workflow-enabled applications.


www.codecollege.NET

What is Windows communication foundation, WCF?


WCF (Windows Communication Foundation) offers Distributed Programming through Service Oriented Programming Model.


www.codecollege.NET

Daily Tips- Tip #28 - How to access ViewState value of the previous page in the current page ?


Previous page's information is stored in a property called PreviousPage and you can access it using the following code,
Page prePage = this.PreviousPage;
Label totalEmployees = prePage.FindControl("lblTotEmployees");
Response.Write(totalEmployees.Text);


www.codecollege.NET

What are the differences between Cache object and Application object ?






















Sno Application
Cache
1 Life of Application objects are till the end of Application
unless you destroy it.
Also provides application-wide scope but get destroyed by
expiration mechanism.
2 You have Locking mechanism in Application object Not available.
3 Not available. Has a feature called SQL Cache dependency using which you
can invalidate a cache object based on the changes to its source in the
table

What is marshalling? What are the types of marshalling?


Marshalling is the process in which the data is serialized at one application domain and deserialized at the another application domain or vice versa.
Types :
1. Marshal by value
2. Marshal by reference


www.codecollege.NET

What data type does the RangeValidator supports ?


Integer, String and Date .


www.codecollege.NET

Can Partial Classes be applied over an enumerator ?


No.


www.codecollege.NET

Can Partial Classes be applied over a Delegate ?


No.


www.codecollege.NET

On which situation Partial Classes are used ?


When multiple programmers need to work on a same class then Partial class is an obvious choice.


www.codecollege.NET

What is a Partial Class (or struct or interface)?


A partial class is a feature in which you split a class definition into two or more files. All the parts are joined together when the application is compiled.


www.codecollege.NET

Do Login Controls implement Forms Authentication ?


Yes.


www.codecollege.NET

Can we Inherit Abstract Class ?


Yes.


www.codecollege.NET

How can you provide an alternate color schema in a Repeater Control ?


You can provide an alternate color schema in a Repeater Control AlternatingItemTemplate.


www.codecollege.NET

What is the life span for items stored in ViewState ?


Items stored in ViewState exists until the page in which they are stored exists.


www.codecollege.NET

Is String Mutable or Immutable ?


Immutable


www.codecollege.NET

How will you sort an Array in descending order?


You can sort an Array in descending by the calling the following methods,
Sort();
Reverse();


www.codecollege.NET

Daily Tips- Tip #27 - How will you get the value of ASP.Net control in Javascript ?


You can call the ASP.NET control from Javascript using the document.getElementById method.
Ex:
Let txtEmployeeName be a Textbox, then
var tEmp = document.getElementById('<%=txtEmployeeName.ClientID%>');


www.codecollege.NET

Daily Tips- Tip #26 - An alternate to Javascript's document.getElementByid()?


You can use as an alternate to Javascript's document.getElementByid(), the following ASP.NET AJAX's method,
$get('nameofcontrol')
Ex:
var myctrl = $get('lblTotal')


www.codecollege.NET

What is the difference between Convert.ToInt32(string) and Int32.Parse(string) ?


Int32.Parse thorws an exception when null value is passed whereas Convert.ToInt32 returns zero . Apart from this both function in a simillar manner.


www.codecollege.NET

What is the difference between EVAL and BIND ?


Eval is readonly and used to display whereas Bind is used to both display and update .


www.codecollege.NET

What is a Sharepoint Site Collection ?


It is a group of sites built over WSS and it requires a top-level site.


www.codecollege.NET

SharePoint 2010 Technical Preview


Microsoft SharePoint Team Blog has announced SharePoint 2010 Technical Preview today.
What is SharePoint 2010 ?
Definition by Microsoft is "SharePoint 2010 is the business collaboration platform for the Enterprise & the Web that enables you to connect & empower people through an integrated set of rich features."

For more information refer the following link,
SharePoint 2010 Technical Preview


www.codecollege.NET

What is a Top-level site in Sharepoint ?


This is the root site for your sites. It will have sub-sites and i will not be a sub-site to any other site.


www.codecollege.NET

LinkWithin

Blog Widget by LinkWithin

Recommended Books