Difference
between Web site and Web application
S.No
|
Web
site
|
Web
application
|
1
|
Can
mix vb and c# page in single website.
|
We
can't include c# and vb page in single web application.
|
2
|
Can
not establish dependencies.
|
We
can set up dependencies between multiple projects.
|
3
|
Edit
individual files after deployment.
|
Can
not edit individual files after deployment without recompiling.
|
4
|
Right
choice when one developer will responsible for creating and
managing entire website.
|
Right
choice for enterprise environments where multiple developers work
unitedly for creating,testing and deployment.
|
i.e.,In
web site development, decoupling is not possible.
|
i.e.,In
Web application, different different groups work on various
components independently like one group work on domain layer,
other work on UI layer.
|
|
5
|
Web
site is easier to create than Web application
|
Web
application is more difficult to create than a Web site
|
Difference
between Local storage and cookies
S.No
|
Local
storage
|
Cookies
|
1
|
Good
to store large amount of data, up to 4MB
|
Good
for small amount of data, up to 4KB
|
2
|
Easy
to work with the JavaScript
|
Difficult
to work with JavaScript
|
3
|
Local
storage data is not sent to the server on every request (HTTP
header) as it is purely at the client side
|
All
data is transferred to and from server, so bandwidth is consumed
on every request
|
4
|
No
way to specify the time out period as the Cookies have
|
Can
specify timeout period so that cookies data are removed from
browser
|
Difference
between Session and Cache
S.No
|
Session
|
Cache
|
1
|
Ssession
retains state per user
|
Cache
is used for retaining state for application scoped items.
|
2
|
Items
put into a session will stay there, until the session ends
|
Items
in the cache can expire (will be removed from cache) after a
specified amount of time. And also there is no guaranty that
objects will not be removed before their expiration times as
ASP.NET remove items from cache when the amount of available
memory gets small. This process is called as Scavenging.
|
3
|
The
session state can be kept external (state server, SQL server) and
shared between several instances of our web app (for load
balancing).
|
This
is not the case with the cache.
|
Difference
between Datalist and Repeater
S.No
|
Datalist
|
Repeater
|
1
|
Datalist
supports multiple columns displaying and using repeat columns
property
|
Repeater
doesn't support multiple columns display,no repeat columns
property
|
2
|
Datalist
supports styles for formating templates data[headerstyle,...]
|
Repeater
does not provide styles
|
3
|
Datalist
rendering output[html content]will be slow compare with repeater.
|
Repeater performanace is better than Datalist |
Summary:
If
the requirement can achieve using repeater and datalist,choose
repeater for better performance
No comments:
Post a Comment