jquery and asp.net application development
TRANSCRIPT
-
8/11/2019 JQuery and Asp.Net Application Development
1/13
JQuery and ASP.NET
for building richweb apps
-
8/11/2019 JQuery and Asp.Net Application Development
2/13
Introduction:-
jQueryHas become the de factostandard for client-sideprogramming
Being actively added to by MS Ajax team
ASP!"# Ajax"$ectively deprecated at this point
Ajax #ool%it still available& but prefer jQuery
ASP!"# ' jQuery(or% )elltogether
-
8/11/2019 JQuery and Asp.Net Application Development
3/13
What is Serialization and De-Serialization?:-Serialization is the process of saving the state of an object in a persistent storage media by converting
the object to a linear stream of bytes. he object can be persisted to a file! a database or even in the
memory. he reverse process of serialization is "no#n as de-serialization and enables us to re-construct
the object from the previously serialized instance of the same in the persistent or non-persistent storage
media.
Serialization in .$% is provided by the System.&untime.Serialization namespace. his namespace
contains an interface called I'ormatter #hich in turn contains the methods Serialize and De-serialize that
can be used to save and load data to and from a stream. In order to implement serialization in .$%! #e
basically re(uire a stream and a formatter. While the stream acts as a container for the serialized
object)s*! the formatter is used to serialize these objects onto the stream.
he basic advantage of serialization is the ability of an object to be serialized into a persistent or a non-
persistent storage media and then reconstructing the same object if re(uired at a later point of time by
de-serializing the object. &emoting and Web Services depend heavily on Serialization and De-
serialization.
Adding jQuery to ASP.NET*sing !u+et
,an add most any version con.guration using!u+et from )ithin /S0121
3o)nloading directly from jQuerycom,an do)nload the pac%age you )ant and copy script.les locally
+enerating jQuery *4 custom pac%ages
Special feature of jQuery*4 5 generate custom6themed7 pac%ages
-
8/11/2019 JQuery and Asp.Net Application Development
4/13
jQuery.U
(idgets available in jQuery*4
-
8/11/2019 JQuery and Asp.Net Application Development
5/13
jQuery and !eb"or#s
,lient43 management
*se ,lient4dMode8xxx
Augment server-side controls )ith client
behaviors
< asp:LabelClientIDM ode= "Static" ID= "m yId"Text= "hi"runat= "server" !
-
8/11/2019 JQuery and Asp.Net Application Development
6/13
%lientd&ode
,lient43Mode lets you control client idsfor server controls
Auto43 5 same as 9:x and earlier
Static 5 )hat you type is )hat;s used Predictable 5 concatenates 43 properties of
naming containers o)Su?x
4nherit
-
8/11/2019 JQuery and Asp.Net Application Development
7/13
Using jQuery and &'%
4njecting jQuery scripts
@everaging jQuery features in M/, apps
head script src8CD*rl,ontent
-
8/11/2019 JQuery and Asp.Net Application Development
8/13
Ser(er %o##unication withjQuery
ajax
-
8/11/2019 JQuery and Asp.Net Application Development
9/13
Ser(er %o##unication
High level options
load
-
8/11/2019 JQuery and Asp.Net Application Development
10/13
Using get)* and post)*
Allo)s access to ra) LmlH##P>eFuest object
Pac%ages data into Fuery string
-
8/11/2019 JQuery and Asp.Net Application Development
11/13
Error +andling
!eed to use lo)er level ajax
-
8/11/2019 JQuery and Asp.Net Application Development
12/13
Su##ary
jQuery and jQuery*4
Huge community support
-
8/11/2019 JQuery and Asp.Net Application Development
13/13