Search Bar

Sunday, 9 October 2016

Start working with Visual Studio

Create New Web-Site or Project in Visual Studio.....

  •   To create a web-site or Web Application on ASP .net we need to install the VISUAL STUDIO
  • After the installation of visual Studio, we start the visual studio (Note: here I’m use the Visual Studio 2013)
  •  First step of creating site or project go to … File menu and select the option Web-Site or project
creating site in asp, starting of asp, how to create a .net application, asp tutorial, basic of asp

  • after clicking the new web-site or press "Shift+Alt+N" new window will be display as below
    Select-Empty-Web-Site,Create new web-site,asp,C#
  • set path where you want to store the application in your computer
  • default path is take by automatic as per given in above image
  • while we create the application give the proper name of an application and solution(Solution means which contains the full application and it is given in to View menu 1st option Solution Explorer or press "Ctrl+Alt+L") which is given in below image
  • Now we will take a web form for web site


  • after clicking below a window is display for choosing new item...


  • Select Web Form,create web form

    • Select "Web Form" and give proper name for web page
    • After add the web form in our application Web Form will be add and "Web.Config" is automatic added while create the application; we will discuss about the web.config later 
    well, application is created after we will learn how to add the asp control and use html tags in ASP.
    Thank You.... :)

     

    Saturday, 8 October 2016

    ASP introduction

    What is ASP?

    asp.net, active server pages, c# , asp-tutorial,asp learning, asp basic, what is asp,what is asp.net
    • ASP is stands for "Active Server Pages"
    • An Active Server Page (ASP) is an HTML page that includes one or more scripts (small embedded programs)
    •  Which are processed on a Microsoft Web server before the page is sent to the user.
    •  An ASP is somewhat similar to a server-side include or a common gateway interface (CGI) application in that all involve programs that run on the server
    •  usually tailoring a page for the user. Typically, the script in the Web page at the server uses input received as the result of the user's request for the page to access data from a database and then builds or customizes the page on the fly before sending it to the requester.
    • Simply we can say it is the concept of web design which include HTML, JavaScript, CSS, J-query and ajax control.

    How ASP Works on web?

    • The best way to explain how ASP works is by comparing it with standard HTML. Imagine you type the address of an HTML document . This way you request an HTML page. It could be illustrated like this:
    • As you can see, the server simply sends an HTML file to the client. But if you and thus request an ASP page - the server is put to work:
    How asp working on server, asp working process,


    • The server first reads and compiles the ASP file carefully to see if there are any tasks that need to be executed. Only when the server has done what it is supposed to do, the result is then sent to the client. It is important to understand that the client only sees the result of the server's work - not the actual instructions.
    • This means that if you click "view source" on an ASP page, you do not see the ASP codes - only basic HTML tags. Therefore, you can not see how an ASP page is made by using "view source". You have to learn ASP in other ways, for example, by reading this tutorial.