ASP.NET : Starting with ASP.Net ( Creating a ASP.NET Web Site)


ASP.net is a platform made by Microsoft.A very useful tool for programing..I dont want to jump into definitions but I want you to get your hands dirty  so you would understand by doing "it " instead of obnoxious It concepts that you probably wont understand..Oficially ASP.NET is a server-side Web application framework designed for Web development to produce dynamic Web pages.
Get it? 

In VERY simple words, it 's a powerful  tool to create web sites and applications.
I don't want to confuse you. I want you to get your hands dirty right away..

First of all get somebody to download the application to you or follow you Tube instructions ( I just dont feel like repeating that over  and over..sorry)

So, let's do it..!











1.- Creation of the Web application project:

 

Hopefully you already download this program so we can start working right away....




That is going to take you to this window:



You will have a lot of different options... For now try to ignore them and eventually we will explain them..


Go to the new projects and them go to highlighted options..


Click ok and it will create an Web application similar to this..




You will see 3 market sites: Design Split and Source..
We will talk about it later..




 2.-Solution Explorer

 To go to the solution Explorer go to "view" and them solution explorer ( Highlighted)



This will bring the solution explorer Window:


You can add a new project  in Solution explorer:

And them you will have a new project dialogue window like this:


You can have several projects on windows solution, in this example using Visual Basic

As you could see over here..You have a project in Visual basics and the other one in C# in the solution explorer


If you go to Solution explorer and right click and go to open folder in windows explorer:



The extension vb is for Visual Basics

Or CS for C#:


You can change the starting project as well..Click on the solution explorer, set as start up default Project and later see how letters switch and become Bold

  But remember that you can have several projects but only one Start Up project


3. Auto Hide Option



Or you can hide the solution explorer while you are working..


Remember that you can open a Web Form: It's by default the one  with asp



4.-Toolbox

Let say that you want to use a button in the tool box.. Go to view and select toolbox




You "drag" the tool box to a corner  so it wont occupy the rest of the screen.
You drag the "Button " icon ..

 
Right click on top of it and change properties or go to "view " and them "properties windows"


5.-Web Form: 

It's always on default.aspx
You can change the topic in the design mode or in the source mode

Or change it in source mode :

Split mode:

To view the code behind file of web Form

Go to source , right click  on the site,  go to view code

Or you can go to  Solution Explorer, default.aspx.cs  to get to the Code behind

You need to declare  the "button" one in designer file

Button1 in a button class we see that it's declare on the designer files




We can see the code behind at the beginning of source page


ASP.NET : Starting with ASP.Net ( Creating a ASP.NET Web Site) ASP.NET : Starting with ASP.Net ( Creating a ASP.NET Web Site) Reviewed by ohhhvictor on 1:24 PM Rating: 5

No comments:

Powered by Blogger.