Client-Side State Management in Asp.net
If your application needs to scale to thousands of users, then you should strongly consider
using the client for storing application state. Removing this burden from the server frees
up resources, allowing the server to process more user requests. ASP.NET provides several
techniques for storing state information on the client. These include the following:
■ View state ASP.NET uses view state to track values in controls between page requests.
You can also add your own custom values to the view state.
■ Control state Control state allows you to persist information about a control that is
not part of the view state. This is useful to custom control developers. If view state is
disabled for a control or the page, the control state will still function.
■ Hidden fields Like view state, HTML hidden fields store data without displaying that
data to the user’s browser. This data is presented back to the server and is available
when the form is processed.
■ Cookies A cookie stores a value in the user’s browser. The browser sends this value
with every page request to the same server. Cookies are the best way to store state
data that must be available for multiple webpages on a website.
■ Query strings A query string is a value that is stored at the end of a URL. These
values are visible to the user through his or her browser’s address bar. Use query
strings when you want a user to be able to use email or instant messaging to store
state data within a URL.
Dotnet, DotnetCore, Azure, C#,VB.net, Sql Server, WCF, MVC ,Linq, Javascript and Jquery
3 April 2012
28 March 2012
Web Application Projects VS Web Site Projects in Asp.net
Web Application Projects VS Web Site Projects in Asp.net
Area
|
Web application projects
|
Web site projects
|
Project file structure
|
A Visual Studio project file (.csproj or .vbproj) stores information about the project, such as the list of files that are included in the project, and any project-to-project references.
|
There is no project file (.csproj or .vbproj). All the files in a folder structure are automatically included in the site.
|
Compilation
|
· You explicitly compile the source code on the computer that is used for development or source control.
· By default, compilation of code files (excluding .aspx and .ascx files) produces a single assembly.
|
· The source code is typically compiled dynamically (automatically) by ASP.NET on the server the first time a request is received after the site has been installed or updated.
You can precompile the site (compile in advance on a development computer or on the server).
· By default, compilation produces multiple assemblies.
|
Namespaces
|
Explicit namespaces are added to pages, controls, and classes by default.
|
Explicit namespaces are not added to pages, controls, and classes by default, but you can add them manually.
|
Deployment
|
· You copy the assembly to a server. The assembly is produced by compiling the application.
· Visual Studio provides tools that integrate with the IIS Web deployment tool to automate many deployment tasks.
|
· You copy the application source files to a computer that has IIS installed on it.
· If you precompile the site on a development computer, you copy the assemblies produced by compilation to the IIS server.
· Visual Studio provides tools for deployment, but they do not automate as many deployment tasks as the tools available for Web application projects.
|
Difference between 32 bit and 64 bit processor
Difference between 32 bit and 64 bit processor
What is a Bit ?
A bit or binary digit is the basic unit of information in computing and telecommunications; it is the amount of information that can be stored by a digital device or other physical system that can usually exist in only two distinct states. These may be the two stable positions of an electrical switch, two distinct voltage or current levels allowed by a circuit, two distinct levels of light intensity, two directions of magnetization or polarization, etc.
What are the Advantages of a 64bit Processor?
What is a Bit ?
A bit or binary digit is the basic unit of information in computing and telecommunications; it is the amount of information that can be stored by a digital device or other physical system that can usually exist in only two distinct states. These may be the two stable positions of an electrical switch, two distinct voltage or current levels allowed by a circuit, two distinct levels of light intensity, two directions of magnetization or polarization, etc.
What is the difference between 32-bit and 64-bit versions of Windows?
The terms 32-bit and 64-bit refer to the way a computer's processor (also called a CPU), handles information. The 64-bit version of Windows handles large amounts of random access memory (RAM) more effectively than a 32-bit system.
The terms 32-bit and 64-bit refer to the way a computer's processor (also called a CPU), handles information. The 64-bit version of Windows handles large amounts of random access memory (RAM) more effectively than a 32-bit system.
What are the Advantages of a 64bit Processor?
- The 64bit processor gives more greater performance then 32bit Processor.
- Allowing for the addressing of more of RAM, 64-bit processing can improve video encoding and decoding, CAD, VMs and some other applications.
- Ability to address memory amounts over four GB, and up to 16 exabytes
What are the Disadvantages of 64bit Processor?
- You’re currently not able to take full advantage of the technology because the software vendors haven’t made the switch from 32-bit to 64-bit processors.
- Most AMD Athlon 64 bit processors are expensive, with prices sure to go down in the future.
25 March 2012
Run Commands that can be used in both “Windows Operating System:
Run Commands that can be used in both “Windows Operating System:
To open… | Run Commands… |
MSN Messenger (If installed)
|
msnmsgr
|
Accessibility Options
|
control access.cpl
|
Add Hardware Wizard
|
hdwwiz.cpl
|
Add or Remove Programs
|
appwiz.cpl
|
Add/Remove Programs with Add New Programs
Preselected |
control appwiz.cpl,,1
|
Add/Remove Programs with Add Remove Windows
Components Preselected |
control appwiz.cpl,,2
|
Add/Remove Programs with Set Program Access &
Defaults Preselected |
control appwiz.cpl,,3
|
Administrative Tools
|
control admintools
|
Adobe ImageReady (if installed)
|
imageready
|
Adobe Photoshop (if installed)
|
photoshop
|
Calculator
|
calc
|
Certificate Manager
|
certmgr.msc
|
Character Map
|
charmap
|
Command Prompt
|
cmd
|
Component Services
|
dcomcnfg
|
Computer Management
|
compmgmt.msc
|
Control Panel
|
control
|
Date and Time Properties
|
timedate.cpl
|
Device Manager
|
devmgmt.msc
|
Direct X Troubleshooter
|
dxdiag
|
Disk Cleanup Utility
|
cleanmgr
|
Disk Management
|
diskmgmt.msc
|
Disk Partition Manager
|
diskpart
|
Display Properties
|
control desktop
|
Display Properties
|
desk.cpl
|
Display Properties with Appearance Tab Preselected
|
control color
|
Driver Verifier Utility
|
verifier
|
DVD Player
|
dvdplay
|
Event Viewer
|
eventvwr.msc
|
File Signature Verification Tool
|
sigverif
|
Files and Settings Transfer Tool
|
migwiz
|
Firefox (if installed)
|
firefox
|
Fonts Folder
|
fonts
|
Fonts options
|
control fonts
|
Game Controllers
|
joy.cpl
|
Iexpress (Self Extracting Package Creator)
|
iexpress
|
Iexpress Wizard
|
iexpress
|
Internet Explorer
|
iexplore
|
Internet Properties
|
inetcpl.cpl
|
Java Web Start
|
javaws
|
Keyboard Properties
|
control keyboard
|
Logs You Out Of Windows
|
logoff
|
Microsoft Access (if installed)
|
msaccess
|
Microsoft Excel (if installed)
|
excel
|
Microsoft Frontpage (if installed)
|
frontpg
|
Microsoft Malicious Software Removal Tool
|
mrt
|
Microsoft Movie Maker
|
moviemk
|
Microsoft Paint
|
mspaint
|
Microsoft Powerpoint (if installed)
|
powerpnt
|
Microsoft Word (if installed)
|
winword
|
Mouse Properties
|
main.cpl
|
Mouse Properties
|
control mouse
|
Nero (if installed)
|
nero
|
Network Connections
|
control netconnections
|
Network Connections
|
ncpa.cpl
|
Notepad
|
notepad
|
ODBC Data Source Administrator
|
odbcad32
|
On Screen Keyboard (interesting tool!)
|
osk
|
Outlook Express
|
msimn
|
Paint
|
pbrush
|
Phone and Modem Options
|
telephon.cpl
|
Phone Dialer
|
dialer
|
Power Configuration
|
powercfg.cpl
|
Printers and Faxes
|
control printers
|
Private Character Editor
|
eudcedit
|
Quicktime Player (if installed)
|
quicktimeplayer
|
Quicktime (If Installed)
|
QuickTime.cpl
|
Real Player (if installed)
|
realplay
|
Regional Settings
|
intl.cpl
|
Registry Editor
|
regedit
|
Registry Editor
|
regedt32
|
Reliability and Performance Monitor
|
perfmon.msc
|
Remote Access Phonebook
|
rasphone
|
Remote Desktop
|
mstsc
|
Scheduled Tasks
|
control schedtasks
|
Services
|
services.msc
|
Shared Creation Wizard
|
shrpubw
|
Shared Folders
|
fsmgmt.msc
|
Shuts Down Windows
|
shutdown
|
Sounds and Audio Properties
|
mmsys.cpl
|
SQL Client Configuration
|
cliconfg
|
Sync Center
|
mobsync
|
Syncronization Tool
|
mobsync
|
System Configuration Editor
|
sysedit
|
System Configuration Utility
|
msconfig
|
System Information
|
msinfo32
|
System Properties
|
sysdm.cpl
|
Task Manager
|
taskmgr
|
Telnet Client
|
telnet
|
Tweak UI (if installed)
|
tweakui
|
Utility Manager
|
utilman
|
Windows Address Book (Contacts)
|
wab
|
Windows Address Book Import Utility
|
wabmig
|
Windows exprorer(It shows me Documents)
|
explorer
|
Windows Firewall
|
firewall.cpl
|
Windows Magnifier (Try this out!)
|
magnify
|
Windows Management Infrastructure
|
wmimgmt.msc
|
Windows Media Player
|
wmplayer
|
Windows Picture Import Wizard (require camera
connected) |
wiaacmgr
|
Windows Security Center
|
wscui.cpl
|
Windows System Security Tool
|
syskey
|
Windows Version (About your Windows)
|
winver
|
Wordpad
|
write
|
Read more: http://www.computertipsfree.com/useful-run-commands-for-windows-vista-and-xp/#ixzz1q8ZDZK4R
Subscribe to:
Posts (Atom)
Implementing OAuth validation in a Web API
I mplementing OAuth validation in a Web API Implementing OAuth validation in a Web API using C# typically involves several key steps to sec...
-
ViewBag, ViewData, TempData and View State in MVC ASP.NET MVC offers us three options ViewData, ViewBag and TempData for passing data from...
-
· Azure Service Fabric is Microsoft’s Platform-as-a-Service (PaaS) and is used to build and deploy microservices-based cloud applicat...
-
// Export Datatable to Excel in C# Windows application using System; using System.Data; using System.IO; using System.Windows.Forms; ...