This article is currently in the process of being translated into Yoruba (~36% done).

The basics:


E kaabo si ikeko ASP.NET yii. Gẹgẹbii Microsoft, "ASP.NET jẹ imọ-ẹrọ kan fun ṣiṣe awọn ohun elo ti o lagbara, Awọn ohun elo ti o yato ati pe ojẹ apakan ninu ebi .NET". Eko yii yoo kọ ọ ni ASP.NET lati ibere, ko si si imọ ti eyikeyi iru iwe afọwọkọ olupin. Ibere HTML ati CSS jẹ imo ti o dara julọ. Lehin ti o ti ṣiṣẹ pẹlu ASP lasan tabi PHP, eyi o ni fun ọ ni ọpọlọpọ anfani, niwon igba ti ASP.NET jẹ ọna titun lati se nkan.

.NET jẹ ebi olominira ede, eyi ti o tumọ si pe o le lo eyikeyi ede .NET ti a ni atilẹyin fun lati ṣe awọn ohun elo ti .NET. Awọn ede ti o wọpọ fun kikọ awọn ohun elo ASP.NET jẹ C# ati VB.NET. bi VB.NET ti se da le VB (Visual Basic) lori, A se ifihan C # pọ pẹlu ilana ebi .NET, Nitorina oje ede titun ninu ebi na. Awọn eniyan kan pe C# ni "ede .NET", ṣugbọn gẹgẹ bi Microsoft, alese awọn ohun kanna, bi o ba n lo C# tabi VB.NET. Awọn ede meji ko yatọ si ara won pupo, ati bi o ba ti lo ọkan ninu wọn, iwọ kii yoo ni iṣoro nigba tio ba nko omiiran. A o lo C# ninu eko yi.

One of the main differences between ASP.NET and Classic ASP/PHP is the fact that ASP.NET is compiled, while Classic ASP is always interpreted. PHP can be compiled by using commercial products, but usually it's interpreted as well.

Ever since the first version of ASP.NET, the framework has evolved in so many ways and so has the tools for you as a developer. We will discuss this in the next articles, before we create our very first ASP.NET website.

ASP.NET - Web Forms or MVC?

When ASP.NET was originally released, there was only one way of doing things. Later on, Microsoft was inspired by frameworks like Ruby on Rails and added the ability to use an MVC (Model-View-Controller) approach for your ASP.NET websites. With that move, ASP.NET was basically divided into ASP.NET Web Forms (the original approach) and ASP.NET MVC. They share a lot of functionality, thanks to the .NET framework, but there are many differences in how to accomplish even the most basic tasks.

In this tutorial, we will focus on the Web Forms part of ASP.NET.

IDE or editor?

This tutorial will use the free Visual Studio Community IDE from Microsoft. Despite what some people think, ASP.NET can be used without an IDE. It would be perfectly possible to write ASP.NET code in Notepad, and use the commandline compiler included with the .NET framework. Some people might actually prefer this "back to basics" way of doing things, but I believe that ASP.NET is best programmed with a decent IDE. You can use an IDE from another vendor, and you will still be able to follow most of this tutorial. We will use Visual Studio Community since it's free, quick to install and easy to use. Besides, using a good IDE will make a lot of things faster in the long run.

Download Visual Studio Community

So, to get started with this tutorial, go ahead and download Visual Studio Community from Here's a direct link to the download page:

As soon as you have downloaded and installed it, you are ready to proceed with the next articles, where we will create your very first ASP.NET website.

Not using Windows?

Don't worry, there's a version for macOS as well - just follow the link above and be sure to select the version of Visual Studio Community for macOS!

This article has been fully translated into the following languages: Is your preferred language not on the list? Click here to help us translate this article into your language!