Monday , 4 November 2024
Breaking News

ASP.NET Tutorial – Starting Web Development

Making money online is getting popular every day since it costs less funds than doing business in 5 dimensions world. To start, you need a website and to do this you only need small money to subscribe to an affordable web hosting company. The next step is choosing a building software. One building software you can try is ASP.NET from Microsoft which you  get started for free.

Download some development tools and install them to your computer to begin developing your website using the ASP.NET environment. An ASP.NET development tool called Visual Studio Express is available for free from the Microsoft web site. Follow the directions on the web site to install the Microsoft Web Platform onto your machine. The web platform will include a place to develop your web site called Visual Studio, plus a database called SQL Server Express, which is a free tool that you can use to store any data that you collect on your web site.

When you install Visual Studio, you will be given the option of picking a language in which to write any code that your web site needs behind the scenes to do its work.  This article will only demonstrate the C# (C-Sharp) language, we will discuss other ASP.NET language in later articles.

Once you have installed the software successfully, proceed to the next part of this article to see how to start your first web site.

Building Your First Website

From the time that you open Visual Studio, it will probably take you a month to learn enough about it to actually build a website for your business. The good news is, it is super easy to get started, and you can learn a little at a time. So it won’t be overwhelming to learn this stuff. To get started, all you need to do is open up the Visual Studio Express that you just installed. When it starts up, you should land on a start page that has an option to start a New Project. You will probably get some options as to what kind of project to make. Pick “Web Application”, or “ASP.NET Website”. Either one will start a website project for you. A lot of things will happen in the background when you press OK and it may take a while, but eventually the screen will look something like this:

This bunch of windows might look confusing, but it’s really not that bad. In the middle is where you will see the web page you are currently working on, in other words your work in progress. You can see it either as “code” or as a web page layout. To see the web page layout, click the “Design” tab in the middle of the screen. To switch back to code, click the “Source” tab.

On the left side of the screen is the “toolbox”. In it are things you can drag and drop onto your web page to make it do stuff. These are called “widgets” or “components”. If you switch to design mode in the middle window, you can grab stuff on the left and just drop it onto your new web page.

On the right side of the screen on top is a list of all of the parts of your website (called the “Solution”). At the bottom right is a list of things (called properties) that you can change about any widget that you have dragged onto your current web page. This list changes when you click on a different widget on your web page.

For now, ignore everything on the page and just go up to the menu bar and press the little green arrow that is pointing to the right (near the word “Debug”). You can also press F5 if you like shortcuts.  This starts up your website on your computer. This will take a while, because behind the scenes your computer is now turning all of the stuff listed on the top right of the screen into “code” that the computer can interpret. Eventually you should see your web site come up in a web browser. It should look something like the picture below.

How easy was that? And look at all the stuff your new website can already do. It has a menu with a Home page and an About page that you can click on. It even has a login page, and a place to register as a new user. Don’t you feel like you’re on your way to building your own website now?

Check Also

Welcome New ASP.NET Core 1.0

As a leader web hosting services for individual and business, SeekDotNet.com keeps trying to provide …

[email protected] febles_mmz