Using the Querystring is the another method to pass information between pages in your ASP.NET application. As we know that Querystring is the portion of the URL after a Question Mark(?). The information is always retrieved as a string that can be converted with any type.Here we get the code to pass multiple values at a single time in Querystring.
The two terms Boxing and Unboxing in C# are used when we need to convert one data type to other type. First we will discuss the Boxing. Boxing is the process of converting a Value type to the other Object type. When we use the Boxing of a value type to an objtct type the CLR wraps its value inside System.Object and stores it on the managed heap. In the term unboxing we perform reverse of boxing. In unboxing the value of an object type extracts and converted into value type. Boxing is an implicit process so we need not to write any code to box a value type. But in case of unboxing we need to do it explicitly,
The concept of URL mapping was introduced for the very first time in ASP.Net version 2.0 and ever since, it has been in existence. While most of the Web-developers who develop their projects on ASP.net prefer going for URL Mapping whereas there are developers who donâ€™t like to go with the concept of URL mapping. In this article, we will discuss about the Pros and Cons of URL mapping in ASP.net but before moving further, I would give a small definition to newbies of ASP.net.
While ASP.NET is known for providing users/developers with inbuilt functions and methods for creating Login forms etc., yet there are sometimes when we need to generate a random password string for every new user created. Especially in applications like Online Examinations System where the admin generates a random default password for every new user created. We can make use of inbuilt random class for it and get the things done easily. So here we are discussing the best way to do so along with a step by step instruction with code:
A machineKey generator allowing static keys in ASP.NET 1.1 or 2.0 applications.Â There are two keys that ASP.NET uses to encrypt, decrypt, and validate data in ViewState, Forms Authetication tickets, and out-of-process Session data. The
decryptionKey is used for encryption and decryption of authentication tickets and encrypted ViewState information. TheÂ
validationKey is used to validate ViewState and ensure it hasn’t been tampered with, and generate unique application-specific session IDs for out-of-process session storage.
Wizard Control of ASP.NET help us to create a step by step wizard in our website. The Wizard control used when we want a big number of entries from user. Mainly we use this control in signup process of our site. In this article we will learn to use the Wizard control as well as we will see that how to customize the Wizard control according to our requirement. I have attached a demo project with this article. In this project I have used upto 3 steps. You can use more steps if required.
There are three types of applications in asp.net and that are Console Applications, Web Applications and Window Applications. Today we are talking about Window Applications. While developing Window Applications we need to remember the most import thing about the Window Applications work area. As we know that Window Applications or Window Projects run on the client system. and to run this projects on the client system we need to create a setup of the project. In this article we will discuss that how to build a setup project in ASP.NET. I have attached some screen shots that will help you to understand the process easily. We will proceed through step by step.