Monday, February 8, 2010

Samsung Corby Mobile Phone

Samsung Corby Mobile Phone

Samsung Electronics Co. Ltd, is a leading mobile phone provider in India. They hold the second largest share in the mobile manufacturing industry in India. Samsung is known for its sleek and stylish mobile phones. They have mobile phones in slider, clamshell, classic candy bar and flip phones. Samsung has recently launched Samsung Corby mobile phone targeted towards today’s youth. It is a trendy mobile phone for college goers who want to stay connected and want an affordable phone loaded with features.

 

The Samsung Corby Mobile Phone helps you stay connected as it supports social networking sites like Facebook, Twitter and MySpace. This enhanced multimedia features ensure that the user stay connected easily with friends and family. The user can easily upload their latest pictures, messages and video’s online. The Samsung Corby Mobile Phone supports communities like YouTube, Flickr, Picasa and Photobucket. The user can easily upload photos and videos to these sites through this Communities solution. The Samsung Corby mobile phone is available in bold colors like Jamaican Yellow, Cupid Pink, Minimal White, and Festival Orange.

 

The Samsung Corby Mobile Phone supports innovative multimedia capabilities. The Samsung Corby supports a 2.8-inch QVGA screen with 262 K Color TFT display. It is a quad band WAP 2 enabled phone. The Samsung Corby weighs just 93.2 grams with sleek dimensions of 103 x 56.5 x 12 mm. The Samsung Corby Mobile Phone is equipped with a 2 MP Camera with digital zoom. It also has an inbuilt video recorder and player, so you can download and play all your favorite videos. The Samsung Corby Mobile Phone has an inbuilt music player and FM Radio.

 

The Samsung Corby Mobile Phone offers connectivity options like Bluetooth, WAP and internet HTML Browser helping you stay connected and easily share all your videos, music, pictures etc. The Samsung Corby offers quad band connectivity and supports EDGE networks so that the user can stay connected anywhere in the world. The Samsung Corby Mobile Phone has an embedded user memory of 68 MB and has an expandable memory of 8GB with the help of a MicroSD Card. The Samsung Corby Mobile Phone has the easy unlock feature and helps you access the menu quickly with Smart Unlock. You can utilize the smart Unlock feature in three ways, like the Simple unlock, unlock and speed dial and lastly unlock and run an application.

 

For the latest Samsung Corby Mobile Phone prices and the best deals check consumermate.com.

Posted via email from fenildesai's posterous

VS2010 RC2 Available for download

VS2010 RC2 Available for download
Much Awaited VS2010 RC2 ia available for download now.
This is only available to MSDN subscribers and will be available to public by February 10th 2010. This RC includes go-live license for deployment in production environments.
Seems that performance issues are improved as per developers feedback.But we need to download ,install,check and see
how fast it is.Seems that MS VS2010 Product team working closely with 3rd party companies that have popular Visual Studio add-ins
(such as Resharper, CodeRush, Whole Tomato, etc) to make sure the environment works well.
VS2010 RC2 comes with ASP.NET MVC but it don't include ASP.NET MVC R2.
If you want to work with ASP.NET MVC R2 ,you have to install it seperately.

Posted via email from fenildesai's posterous

Saturday, February 6, 2010

Of tons and thousands

Of tons and thousands
Jacques Kallis scored his 34th Test hundred against India in the first Test, to draw level with two retired legends of the game - Sunil Gavaskar and Brian Lara.

Only two players are ahead of him now in the list of top century makers in Test cricket: Sachin Tendulkar and Ricky Ponting.

For a long time, Sunil Gavaskar held the record for the most Test hundreds, and his mark of 34 tons was thought to be nigh impregnable. However, the burgeoning of cricket, the increasing number of matches and the special talents of Sachin Tendulkar all combined at the right time for Gavaskar's mark to be overtaken.

However, achieving the landmark of scoring 34 Test hundreds is still an extremely special event for any cricketer, and the exclusivity of the club that have scored that many - Tendulkar, Ponting, Lara, Gavaskar and Kallis - shows how tough it is to get into.

Here is a list of the top century makers in Test cricket:

PlayerMatchesInningsRunsCenturiesInns per 100AverageCenturies total% of Runs from 100s
Sachin Tendulkar 165*26813234455.9655.37655549.53%
Ricky Ponting14224011859396.1555.675634 47.51%
Jacques Kallis136*22910799346.7455.37455542.18%
Sunil Gavaskar12521410122 346.2951.12480247.44%
Brian Lara13123211953346.8252.88588949.27%
Steve Waugh 16826010927328.1351.06434239.74%
Matthew Hayden1031848625306.1350.734092 47.44%
Donald Bradman52806996292.7699.94539377.09%
Rahul Dravid13924011395 298.2853.75439138.53%

Each batsman on the list has several traits in common - they are all without a doubt, all-time greats of the game, they have all scored mountains of runs for their countries, and they've all averaged over 50 over their careers - the hallmark of a great batsman.

Sir Donald Bradman is, of course, in a different league, but it is interesting to note that most of the other batsmen seem to average 6 to 7 innings per century. The only two who are above 8 innings per century are Dravid and Steve Waugh, and not surprisingly, they hold the record for the most nineties in Tests, having scored 10 each. Had a few of those nineties been converted to centuries, they would have been in the same bracket as the others.

Also not surprising is the fact that there is a direct inverse correlation between the number of innings a batsman takes to score a century and the percentage of his total runs that have come through centuries. The Don is once again in a league of his own, but for the others, some interesting conclusions can be drawn.

From the numbers above, it seems that amongst the great batsmen, roughly half of the total runs they score in their careers come in roughly one seventh of their innings. That is roughly 50% of their runs are scored in 15% of their innings.

However, bowlers would do well to exercise restraint before breaking out into a jig at the numbers, thinking that these great batsmen are susceptible to inconsistency. The thing is, each one of them has scored such a mountain of runs that even half of what they have scored, at the averages they score, is a not inconsiderable total.

Trivia stat of the day: The number 34 was doubly special for Jacques Kallis in this match. Not only did he score his 34th Test hundred, he also became the 34th player to reach the milestone of scoring 1000 runs against India in Test matches.

Posted via email from fenildesai's posterous

Thursday, February 4, 2010

નવા નવા લગ્ન બાદ અને લગ્નના એક વર્ષ પછી...

નવા નવા લગ્ન બાદ અને લગ્નના એક વર્ષ પછી...
નવા નવા લગ્ન બાદ અને લગ્નના એક વર્ષ પછી... પતિ-પત્ની વચ્ચેનો સંવાદ...
 
લગ્નના એક-બે દિવસ બાદ:
 
પતિ: તો હવે શેની રાહ જોવે છે? 
 
પત્ની: શું તમે એવું ઈચ્છો છો કે હું જતી રહું ?

 પતિ: નારે ના! એવું તો હું વિચારી પણ ન શકું.

 પત્ની: શું તમે મને પ્રેમ કરો છો?
 
પતિ: હા! એક નહી હજાર વખત!!
 
પત્ની: શું તમે મને ક્યારેય દગો આપ્યો છે?
 
પતિ: ક્યારેય નહી! એતો તું સારી રીતે જાણે છે, છતાં પૂછે છે?
 
પત્ની: હવે તમે મારા મુખને ચૂમસો ?
 
પતિ: અરે એના માટે તો હું કોઈપણ તક નહી છોડું.
 
પતિ: શું તમે મને મારશો?
 
પતિ: મને શું હડકાયું કૂતરું કરડ્યું છે તો હું એવું કરીશ.
 
પત્ની: શું તમે મારા પર વિશ્વાસ કરો છો?
 
પતિ: હાં!
 
પત્ની: ઓહ ડાર્લિંગ!!!
 
લગ્નના એક વર્ષ બાદના વાર્તાલાપ માટે કૃપા કરી નીચેથી ઉપર વાંચો...

Posted via email from fenildesai's posterous

Tuesday, February 2, 2010

Web Service Vs WCF

Web Service Vs WCF

Introduction

ASP.NET Web services were developed for building applications that send and receive messages by using the Simple Object Access Protocol (SOAP) over HTTP. The structure of the messages can be defined using an XML Schema, and a tool is provided to facilitate serializing the messages to and from .NET Framework objects. The technology can automatically generate metadata to describe Web services in the Web Services Description Language (WSDL), and a second tool is provided for generating clients for Web services from the WSDL.

WCF is for enabling .NET Framework applications to exchange messages with other software entities. SOAP is used by default, but the messages can be in any format, and conveyed by using any transport protocol. The structure of the messages can be defined using an XML Schema, and there are various options for serializing the messages to and from .NET Framework objects. WCF can automatically generate metadata to describe applications built using the technology in WSDL, and it also provides a tool for generating clients for those applications from the WSDL.

Protocol Support

WCF Supports following protocol: HTTP, TCP, Named Pipes, MSMQ, Custom, UDP.

Web Service Support only HTTP Protocol.

Hosting Support

Web Service can be hosted only with Http Runtime on IIS. WCF component can be hosted in any kind of environment in .NET 3.0, such as a console application, Windows application, or IIS.

WCF services are known as ’services’ as opposed to web services because you can host services without a web server.

Self-hosting the services gives you the flexibility to use transports other than HTTP.

Backwards Compatibility

The purpose of WCF is to provide a unified programming model for distributed applications.

WCF takes all the capabilities of the existing technology stacks while not relying upon any of them.

Applications built with these earlier technologies will continue to work unchanged on systems with WCF installed.

Existing applications are able to upgrade with WCF

Integration

WCF can use WS-* or HTTP bindings to communicate with ASMX pages

Advantage of WCF or Limitations of ASMX

An ASMX page doesn’t tell you how to deliver it over the transports and to use a specific type of security. This is something that WCF enhances quite significantly.

ASMX has a tight coupling with the HTTP runtime and the dependence on IIS to host it. WCF can be hosted by any Windows process that is able to host the .NET Framework 3.0.

ASMX service is instantiated on a per-call basis, while WCF gives you flexibility by providing various instancing options such as Singleton, private session, per call.

ASMX provides the way for interoperability but it does not provide or guarantee end-to-end security or reliable communication.

Reference : http://msdn.microsoft.com/en-us/library/aa702755.aspx

Posted via email from fenildesai's posterous

How to check SMTP is working or not.

How to check SMTP is working or not.
For testing SMTP server functionality, we have to follow some steps to identify that whether SMTP configured or not. Below are the steps we need to follow to check SMTP server functionality. We are using the command prompt telnet to test the server.

1. open command prompt and type :
telnet <servername> 25
Note: 25 is the port used by SMTP and <servername> is the SMTP server name.
After you hit enter you will get some output like
220 <servername> Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at
Tue, 22 Jan 2008 09:10:27 -0600
It means you got response from the SMTP server and it's the clue that SMTP is setup on the server.

2. For testing response say helo to it.
Type :
helo <servername>
output:
250 <servername> Hello [IP Adress]

3. Now we need to enter the From address of the mail.
Type :
mail from: admin@domain.com
output:
250 2.1.0 admin@domain.com….Sender OK

4. It's time to enter the recepient email address.
Type : rcpt to: someID@domain.com
output:
250 2.1.5 someID@domain.com

5. Now we are left with the data of the email. i.e. subject and body.
Type : data
output:
354 Start mail input; end with <CRLF>.<CRLF>

6. Type:
subject: this is a test mail
Hi
This is test mail body
I am testing SMTP server.

7. Hit Enter, then . and then Enter.
output:
250 2.6.0 <<servername>C8wSA00000006@<servername>> Queued mail for delivery

8. Type: quit
output:
221 2.0.0 <servername> Service closing transmission channel

If you did everything as explained, you will get a mail soon.

Posted via email from fenildesai's posterous

Must Have ASP.NET AJAX Question Set

Must Have ASP.NET AJAX Question Set

AJAX

AJAX stands for Asynchronous Javascript & XML.

It’s a web technology which works on partial postback. Instead of a complete postback,

a partial postback is triggered by the Javascript’s XmlHttpRequest object.

AJAX- Is the ASP.NET AJAX Control Toolkit(AjaxControlToolkit.dll) installed in the Global Assembly Cache?

No. You must copy the AjaxControlToolkit.dll assembly to the /Bin folder in your application.

 Those were some frequently asked questions you should have knowledge about.

 

UpdatePanel It can be used to update content in a page by using Partial-page rendering. By using Partial-page rendering, you can refresh only a selected part of the page instead of refreshing the whole page with a PostBack.

 

AJAX- What are the requirements to run ASP.NET AJAX applications on a server?

You would need to install ‘ASP.NET AJAX Extensions’ on your server. If you are using the ASP.NET AJAX Control toolkit, then you would also need to add the AjaxControlToolkit.dll in the /Bin folder.

Note: ASP.NET AJAX 1.0 was available as a separate downloadable add-on for ASP.NET 2.0. With ASP.NET 3.5, the AJAX extensions have been integrated into ASP.NET.

 

AJAX- Which is the current version of ASP.NET AJAX Control Toolkit?

As of this writing, the toolkit version is

Version 1.0.20229 - (if you are targeting Framework 2.0, ASP.NET AJAX 1.0 and VS- 2005) and

Version 3.0.20229 (if targeting .NET Framework 3.5 and Visual Studio 2008).

AJAX Extensions

·         ScriptManager

·         ScriptManagerProxy

·         UpdatePanel

·         UpdateProgress

·         Timer

AJAX Toolkit

·         Accordion

·         Accordion Pane

·         AutoCompleteExtender

·         CalenderExtender

·         DragPanelExtender

·         ConfirmButtonExtender

·         ModalPopupExtender

·         NumerixUpDownExtender

·         PasswordStrength

·         TextBoxWateMarkExtender

·         ValidatorCalloutExtender etc

AJAX Q-A

Q1 - What is AJAX?

A - Ajax stands for Asynchronous Javascript & XML. It is a web technology through which a postback from a client (browser) to the server goes partially, which means that instead of a complete postback, a partial postback is triggered by the Javascript XmlHttpRequest object. In such a scenario, web-application users won't be able to view the complete postback progress bar shown by the browser. In an AJAX environment, it is Javascript that starts the communication with the web server.
Ajax technology in a website may be implemented by using plain Javascript and XML. Code in such a scenario may tend to look little complex, for which the AJAX Framework in .NET can be embedded in ASP.NET web applications.
In addition to XML & Javascript, AJAX is also based on DOM - the Document Object Model technology of browsers through which objects of the browser can be accessed through the memory heap using their address.
JSON - Javascript Object Notation is also one of the formats used in AJAX, besides XML.
So basically, in an AJAX-based web application, the complete page does not need to reload, and only the objects in context of ajaxification are reloaded.
Ajax technology avoids the browser flickering.

 

Q2 - Can Ajax be implemented in browsers that do not support the XmlHttpRequest object?

A - Yes. This is possible using remote scripts.

Q3 - Can AJAX technology work on web servers other than IIS?

A - Yes, AJAX is a technology independent of web server the web application is hosted on. Ajax is a client (browser) technology.

Q4 - Which browsers support the XmlHttpRequest object?

A - Internet Explorer 5.0+, Safari 1.2, Mozilla 1.0/Firefox, Opera 8.0 +, Netscape 7

 

Q5 - How to we create an XmlHttpRequest object for Internet Explorer? How is this different for other browsers?

A - For Internet Explorer, an ActiveXObject is used for declaring an XmlHttpRequest object in Javascript.

//Code as below for IE:

xmlHttpObject = new ActiveXObject("Msxml2.XMLHTTP");

//For Other browsers, code as below:

xmlHttpObject = new XMLHttpRequest();

Note that XmlHttpObject used above is simply a variable that holds the XmlHttpRequest object for the respective browsers.

 

Q6 - What are the properties of the XmlHttpRequest object? What are the different types of readyStates in Ajax?

A - i) onreadyStateChange - This function is used to process the reply from the web server.

ii) readyState - This property holds the response status of the web server. There are 5 states:

0 - request not yet initialized
1 - request now set
2 - request sent
3 - request processing
4 - request completes
iii) responseText - Has the data sent back by the web server

Code snippet below shows an example how these there properties are used to implement ajax :

xmlHttpObject.onreadystatechange=function()
{
if(xmlHttpObject.readyState==4)
{
document.Form1.time.value=xmlHttpObject.responseText;
}
}

Q7 - What is the ASP.NET Ajax Framework? What versions have been released so far?

A - ASP.NET AJAX is a free framework to implement Ajax in asp.net web applications, for quickly creating efficient and interactive Web applications that work across all popular browsers.

The Ajax Framework is powered with

1 - Reusable Ajax Controls
2 - Support for all modern browsers
3 - Access remote services and data from the browser without tons of complicated script.

Versions of Ajax release

1 - ASP.NET Ajax Framework 1.0 (earlier release to this was called the Atlas)
2 - ASP.NET Ajax Framework 1.0 was available as a separate download for ASP.NET 2.0

 

 Q8 - What are Ajax Extensions?

A - The ASP.NET Ajax Extensions are set of Ajax-based controls that work in ASP.NET 2 (or above) web based applications.

Ofcourse, they also need the Ajax runtime which is actually the Ajax Framework 1.0.

ASP.NET Ajax Extensions 1.0 have to be downloaded to run with ASP.NET 2.0

The new ASP.NET 3.5 Framework comes with the Ajax Library 3.5 (containing the Ajax Extensions 3.5). So in order to use the latest Ajax, simply download .NET 3.5 Framework.

Summary :
ASP.NET Ajax Extensions 1.0 -> For ASP.NET 2.0
ASP.NET Ajax Extensions 3.5 -> For ASP.NET 3.5

Q9 - What is the ASP.NET Control Toolkit?

A - Besides the Ajax Framework (which is the Ajax engine) and Ajax Extensions (which contain the default Ajax controls), there is a toolkit called the Ajax Control Toolkit available for use & download (for free). This is a collection of rich featured, highly interactive controls, created as a joint venture between Microsoft & the Developer Community.

Q10 - What is Dojo?

A - Dojo is a third-party javascript toolkit for creating rich featured applications. Dojo is an Open Source DHTML toolkit written in JavaScript. It builds on several contributed code bases (nWidgets, Burstlib, f(m)), which is why we refer to it sometimes as a "unified" toolkit. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development.
For more on Dojo, check this link: Click Here

Q11 - How to handle multiple or concurrent requests in Ajax?

A - For concurrent requests, declare separate XmlHttpRequest objects for each request. For example, for request to get data from an SQL table1, use something like this...

xmlHttpObject1.Onreadystatechange = functionfromTable1();

and to get data from another table (say table2) at the same time, use

xmlHttpObject2.Onreadystatechange = functionfromTable2();

Ofcourse, the XmlHttpObject needs to be opened & parameters passed too, like as shown below...

xmlHTTPObject1.open("GET","http://"localhost// " + "Website1/Default1.aspx" true);

Note that the last parameter "true" used above means that processing shall carry on without waiting for any response from the web server. If it is false, the function shall wait for a response.

Q12 - How to create an AJAX website using Visual Studio?

A - Using Visual Studio Web Developer Express 2005 & versions above it, Ajax based applications may easily be created. Note that the Ajax Framework & Ajax Extensions should be installed (In case of VS 2005). If using Visual Studio 2008 Web Developer Express or above, Ajax comes along with it (so no need of a separate installation).

Steps: Start Visual Studio, Click on File -> New Website -> Under Visual Studio Installed templates -> Select ASP.NET Ajax-Enabled Site. Enter a location & select OK.

Q13 - What is the role of ScriptManager in Ajax?

A - ScriptManager class is the heart of ASP.NET Ajax. Note that ScriptManager is class and a control (both) in Ajax.

The ScriptManager class in ASP.NET manages Ajax Script Libraries, partial page rendering functionality and client proxy class generation for web applications and services. By saying client proxy class, this means an instance of the Ajax runtime is created on the browser.

This class is defined in the System.Web.Extensions.dll. You will find this DLL in your system's Global Assembly Cache at C:\Windows\Assembly (For XP)

The ScriptManager control (that we may drag on a web form) is actually an instance of the ScriptManager class that we put on a web page. The ScriptManager manages all the ASP.NET Ajax controls on a web page. Following tasks are taken care by the ScriptManager class:
1 - Managing all resources (all objects/controls) on a web page
2 - Managing partial page updates
3 - Download Ajax Script Library to the client (means to the browser). This needs to happen so that Ajax engine is accessible to the browsers javascript code.
4 - Interacting with UpdatePanel Control, UpdateProgress Control.
5 - Register script (using RegisterClientScriptBlock)
6 - Information whether Release OR Debug script is sent to the browser
7 - Providing access to Web service methods from the script by registering Web services with the ScriptManager control
8 - Providing access to ASP.NET authentication, role, and profile application services from client script after registering these services with the ScriptManager control
9 - Enable culture specific display of clientside script.
10 - Register server controls that implement IExtenderControl and IScriptControl interfaces.
ScriptManager class' EnablePartialRendering property is true by default.

 

Q14 - Can we override the EnablePartialRendering property of the ScriptManager class?

A - Yes. But this has to be done before the init event of the page (or during runtime after the page has already loaded). Otherwise an InvalidOperationException will be thrown.

 

Q15 - How to use multiple ScriptManager controls in a web page?

A - No. It is not possible to use multiple ScriptManager control in a web page. In fact, any such requirement never comes in because a single ScriptManager control is enough to handle the objects of a web page.

 

Q16 - Whats the difference between RegisterClientScriptBlock, RegisterClientScriptInclude and RegisterClientScriptResource?

A - For all three, a script element is rendered after the opening form tag. Following are the differences:
1 - RegisterClientScriptBlock - The script is specified as a string parameter.
2 - RegisterClientScriptInclude - The script content is specified by setting the src attribute to a URL that points to a script file.
3 - RegisterClientScriptResource - The script content is specified with a resource name in an assembly. The src attribute is automatically populated with a URL by a call to an HTTP handler that retrieves the named script from the assembly.

Q17 - What are type/key pairs in client script registration? Can there be 2 scripts with the same type/key pair name?

A - When a script is registered by the ScriptManager class, a type/key pair is created to uniquely identify the script.

For identification purposes, the type/key pair name is always unique for dentifying a script. Hence, there may be no duplication in type/key pair names.

 

Q18 - What is an UpdatePanel Control?

A - An UpdatePanel control is a holder for server side controls that need to be partial postbacked in an ajax cycle. All controls residing inside the UpdatePanel will be partial postbacked. Below is a small example of using an UpdatePanel.

<script runat="server">
protected void btn1_Click(object sender, EventArgs e)
{
 lb123.Text = "new";
}
</script>


<asp:ScriptManager ID="ScriptManager1" runat="server">
  </asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
  <ContentTemplate>
 <asp:Button id="btn1" runat="server" text="click"/>
<br/>
 <asp:Label id="lb123" runat="server" text="Old"/>
</ContentTemplate>
</UpdatePanel>

As you see here after running the snippet above, there wont be a full postback exhibited by the web page. Upon clicking the button, the postback shall be partial. This means that contents outside the UpdatePanel wont be posted back to the web server. Only the contents within the UpdatePanel are refreshed.

 

Q19 - What are the modes of updation in an UpdatePanel? What are Triggers of an UpdatePanel?

A - An UpdatePanel has a property called UpdateMode. There are two possible values for this property: 1) Always

2) Conditional

If the UpdateMode property is set to "Always", the UpdatePanel control’s content is updated on each postback that starts from anywhere on the webpage. This also includes asynchronous postbacks from controls that are inside other UpdatePanel controls, and postbacks from controls which are not inside UpdatePanel controls.

If the UpdateMode property is set to Conditional, the UpdatePanel control’s content is updated when one of the following is true:
1 - When the postback is caused by a trigger for that UpdatePanel control.
2 - When you explicitly call the UpdatePanel control's Update() method.
3 - When the UpdatePanel control is nested inside another UpdatePanel control and the parent panel is updated.

When the ChildrenAsTriggers property is set to true and any child control of the UpdatePanel control causes a postback. Child controls of nested UpdatePanel controls do not cause an update to the outer UpdatePanel control unless they are explicitly defined as triggers for the parent panel.

Controls defined inside a <Triggers> node have the capability to update the contents of an UpdatePanel.

If the ChildrenAsTriggers property is set to false and the UpdateMode property is set to Always, an exception is thrown. The ChildrenAsTriggers property is intended to be used only when the UpdateMode property is set to Conditional.

 

Q20 - How to control how long an Ajax request may last?

A - Use the ScriptManager's AsyncPostBackTimeout Property.

For example, if you want to debug a web page but you get an error that the page request has timed out, you may set <asp:ScriptManager id="ScriptManager1" runat="server" AsyncPostBackTimeout="9000"/>

where the value specified is in seconds.

 

Q21 - What is ASP.NET Futures?

A - ASP.NET AJAX Futures

The new release includes support for managing browser history (Back button support), selecting elements by CSS selectors or classes, and information on accessing “Astoria” Web data services. The Futures (July 2007) release adds:

History support for the Safari browser, inclusion of “titles”, encoding and encrypting of server-side history state and the ability to handle history in the client without a server requirement.

CSS Selectors APIs have been modified to be applicable to W3C recommendations.

A script resource extraction tool that allows you to create script files on disk that originate from embedded resources in assemblies. Important: this version of the browser history feature is now outdated and should not be used. Instead, please download the ASP.NET 3.5 Extensions Preview, which contains the new version.

For More: Click Here

 

Q22 - What are limitations of Ajax?

A - 1) An Ajax Web Application tends to confused end users if the network bandwidth is slow, because there is no full postback running. However, this confusion may be eliminated by using an UpdateProgress control in tandem.
2) Distributed applications running Ajax will need a central mechanism for communicating with each other

 

 Q23 - How to make sure that contents of an UpdatePanel update only when a partial postback takes place (and not on a full postback)?

A - Make use of ScriptManager.IsInAsyncPostBack property (returns a boolean value)

 

Q24 - How to trigger a postback on an UpdatePanel from Javascript?

A - Call the __doPostBack function. ASP.NET runtime always creates a javascript function named __doPostBack(eventTarget, eventArgument) when the web page is rendered. A control ID may be passed here to specifically invoke updation of the UpdatePanel.

 

Q25 - Which request is better with AJAX, Get or Post?

A - AJAX requests should use an HTTP GET request while retrieving data where the data does not change for a given URL requested. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idempotency recommendations and is highly recommended for a consistent web application architecture.

Posted via email from fenildesai's posterous