Skip to main content

CREATING WEBSITE USING ASP.NET FRAMEWORK

CREATING WEBSITE USING ASP.NET FRAMEWORK
For creating a website earlier programmer has to do lots of coding for dynamic web pages. So it gets lot of tension for programmer to do bundle of codes for attractive website. As the technologies have improved now today everyone wants a ready-made dish to serve quickly. Hence to overcome from burden of codes technologies has provided framework to develop dynamic websites in no time and also some ready-made spices has added which reduce number of codes.
         ASP.NET is the framework to build modern websites and services with .NET in no time. So we are going to discuss how to create attractive websites step by step using ASP.NET framework.
        Before we proceed first we have to install latest version of VISUAL STUDIO to work for ASP.NET framework:-
      A). In Google type www.visualstudio.com
      B). Go to Download for Window button and select Community 2017.
      C). Give the file name and save it in any folder of your choice and it will start downloading            visual studio installer.
      D). in the product section choose “web application” icon and press install button.
      E). your visual studio is ready to launch.

Now we will see how to create modern WebPages using ASP.NET framework:-
1.      Go to file menu, in new button select Project option.
2.      You can make WebPages using C# as well as visual Basic. I am choosing C# language to develop web pages.
3.      Give the name of application and select location then press ok button.
4.      Choose a Project Template for creating ASP.NET application, in our case I am choosing ‘web form’ which let you to build dynamic websites using a familiar drag-and-drop, event driven model.
5.      Then press ok button your application will be ready.
6.      On the right side solution explorer will appear in which all your files is there to build WebPages, if it will not appear then go to view menu and select solution explorer.
7.      Some web pages templates already created in solution explorer window. We only need to add contents of web pages.
8.      Extension of web pages in ASP.NET is .aspx
9.       Default.aspx is the home page, and there are other pages which automatically created are contact.aspx, about.aspx, global.aspx.
10.  Below document window three tabs will appear “DESIGH, SPLIT AND SOURCE”.
11.  Using DESIGN tab you will be directly edited on page and it will automatically edited on source code.
12.  In SPLIT tab you can split design and code section and view simultaneously.
13.  In SOURCE tab we can write or edit codes for our web pages.
14.  Using toolbox we can directly put controls on pages and give code for their action. Buttons like textbox, labels, command button ,etc.
15.  Simultaneously we can add more than one project by right clicking on solution explorer and choose new project.

16.  Run application using run button, in browser WebPages will appear what you have created.

Comments