Posts

State Management in ASP.Net

Image
* Viewstate * Session Variables * Application Variables * Cache * Cookies Now the question arises that when to use what? 1- Viewstate Viewstate is a hidden fields in an ASP.NET page, contains state of those controls on a page whose “EnableViewstate” property is “true”. You can also explicitly add values in it, on an ASP.NET page like: Viewstate.Add( “TotalStudents”, “87″ ); Viewstate should be used when you want to save a value between different roundtrips of a single page as viewstate of a page is not accessible by another page. Because Viewstate renders with the page, it consumes bandwidth, so be careful to use it in applications to be run on low bandwidth. 2- Session Variable Session variables are usually the most commonly used. When a user visits a site, it’s sessions starts and when the user become idle or leave the site, the session ends. Session variables should be used to save and retrieve user specific information required on multiple pages. Session variables consu

Fact of SDLC(software development life cycle)

Software doesn't just appear on the shelves by magic. That program shrink-wrapped inside the box along with the indecipherable manual and 12-paragraph disclaimer notice actually came to you by way of an elaborate path, through the most rigid quality control on the planet. Here, shared for the first time with the general public, are the inside details of the program development cycle. Programmer produces code he believes is bug-free. Product is tested. 20 bugs are found. Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren't really bugs. Testing department finds that five of the fixes didn't work and discovers 15 new bugs. See 3. See 4. See 5. See 6. See 7. See 8. Due to marketing pressure and an extremely pre-mature product announcement based on overly-optimistic programming schedule, the product is released. Users find 137 new bugs. Original programmer, having cashed his royalty check, is nowhe

Visual Studio.Net 2010 Download Available free

Image
Hi all , Follow the link and download Visual Studio 2010. It is latest product of Microsoft for developing software and website. http://www.microsoft.com/downloads/details.aspx?FamilyID=3296bb4f-d8ba-4cfd-aa95-a424c5913f6b&displaylang=en This one is also for Beta2 http://www.microsoft.com/visualstudio/en-us/try/default.mspx#download Here you will get all type of download from direct Microsoft Site and .Net framework 4.0 is also. Visual Studio 2010 and the .NET Framework 4.0 mark the next generation of developer tools from Microsoft. Designed to address the latest needs of developers, Visual Studio delivers key innovations in the following pillars: De mocratizing Application Lifecycle Management Application Lifecycle Management (ALM) crosses many roles within an organization and traditionally not every one of the roles has been an equal player in the process. Visual Studio Team System 2010 continues to build the platform for functional equality and shared commitment across a

21 Golden rules of programming

As any experienced computer programmer knows, there are unwritten laws that govern software development. However there are no penalties for breaking these laws; rather, there is often a reward. Following are 21 Laws of Computer Programming: Any given program, once deployed, is already obsolete. It is easier to change the specification to fit the program than vice versa. If a program is useful, it will have to be changed. If a program is useless, it will have to be documented. Only ten percent of the code in any given program will ever execute. Software expands to consume all available resources. Any non-trivial program contains at least one error. The probability of a flawless demo is inversely proportional to the number of people watching, raised to the power of the amount of money involved. Not until a program has been in production for at least six months will its most harmful error be discovered. Undetectable errors are infinite in variety, in contrast to detectable errors, which b

Miracle : write text from right to left In Notepad

Image
This is great news for all my Muslim dears !! Yes it is possible in Notepad also Now you can write in right to left using shortcut keys . This is just happen with me when I am typing something in notepad. Just Press Right Ctrl + Right Shift to type in right. If you want to as it is then press Ctrl+ Left Shift . Its My Research and Development. So Enjoy Notepad.

Greate programming Quotes

Measuring programming progress by lines of code is like measuring aircraft building progress by weight. Bill Gates Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. Brian W. Kernighan Once a new technology starts rolling, if you’re not part of the steamroller, you’re part of the road. Stewart Brand In theory, there is no difference between theory and practice. But, in practice, there is. Jan L. A. van de Snepscheut The hardest part of design … is keeping features out. Donald Norman Before software can be reusable it first has to be usable. Ralph Johnson If debugging is the process of removing bugs, then programming must be the process of putting them in. Edsger Dijkstra Software and cathedrals are much the same – first we build them, then we pray. Sam Redwine The first 90 percent of the code accounts for the first 90 percent of the devel

Software Developer's life a Humor

Deliver yesterday, code today, think tomorrow. You can't make a program without broken egos. DEBUGGING : Removing the needles from the haystack. BASIC programmers never die, they GOSUB and don't RETURN. Real programmers are surprised when the odometers in their cars don't turn from 99,999 to 99,99A. Science is to computer science as hydrodynamics is to plumbing. We don't really understand it, so we'll give it to the programmers. A computer scientist is someone who fixes things that aren't broken. If at first you don't succeed, you must be a programmer. "It's 5:50 a.m., Do you know where your stack pointer is?" There are two ways to write error-free programs; only the third one works. Endless Loop: n., see Loop, Endless. Loop, Endless: n., see Endless Loop. - Random Shack Data Processing Dictionary