How to Write the Client Server Code in Asp.net
I really feel that the asp.net is one of the most important software being developed by the Microsoft. One thing is for sure that you are not going to use the java for developing the simple websites. ASP.NET comes to your rescue in this case. You must have heard about the classic ASP. One thing which was really missing from the classic asp was that if you have filled the half form and suddenly the server goes out then what will you does?
It is really quiet sad that you will have to fill the whole form once again. This is really a drawback. For this reason the view state is used. This really differentiates the asp.net with the asp.
However I am not here to talk about the view state. I am here to really explain the simple concept behind the coding related to the asp.net.
You will have to in general follow the following steps for the coding. They are as follows:
1.The first step is to open the new website from the file menu.
2.A new website will be opened.
3.You then will have to select the programming language. For example select the vb.net.
4.The next step is to start the coding.
5.In this example I am not going to use any database. Hence it is not really required to create the connection string.
6.Just think of some code for your project.
7.Copy the asp code in the default.aspx file in the server explorer. Note that you will have to install one server and it would be better if you select the IIS at first. Save the code in a file and inside the server.
8.Your next step is to code the properties being used in the solution explorer. Your language will be the vb.net.
9.Your next step will be to debug the project. The website will open in the internet browser.
10.You can copy the url and run it whenever required.
In this way you can make your own web site.