This article is currently in the process of being translated into Marathi (~18% done).
Introduction
Welcome to this ASP.NET tutorial. According to Microsoft, "ASP.NET is a technology for building powerful, dynamic Web applications and is part of the .NET Framework". This tutorial will teach you ASP.NET from scratch, and no knowledge of any kind of serverside scripting is required. Basic HTML and CSS knowledge is preferable. Having worked with Classic ASP or PHP won't give you much of an advantage, since ASP.NET is a whole new way of doing things.
.NET is language independent, which means you can use any .NET supported language to make .NET applications. The most common languages for writing ASP.NET applications are C# and VB.NET. While VB.NET is directly based on VB (Visual Basic), C# was introduced together with the .NET framework, and is therefore a some what new language. Some people call C# "the .NET language", but according to Microsoft, you can do all the same things, no matter if you're using C# or VB.NET. The 2 languages are not that different, and if you have used one of them, you will have no problems at all learning the other. In this tutorial we will use C#.
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?
हे ट्यूटोरियल मायक्रोसॉफ्ट कडून विनामूल्य व्हिज्युअल स्टुडिओ समुदाय आयडीई वापरेल. काही लोकांचे मत असूनही, ASP.NET आयडीईशिवाय वापरली जाऊ शकते. नोटपॅडमध्ये एएसपी.नेट कोड लिहिणे आणि .NET फ्रेमवर्कमध्ये समाविष्ट असलेला कमांडलाइन कंपाइलर वापरणे पूर्णपणे शक्य होईल. काही लोक कदाचित या "बॅक टू बेसिक्स" गोष्टी करण्याच्या पद्धतीस प्राधान्य देतील परंतु माझा असा विश्वास आहे की एएसपी.नेट एक सभ्य आयडीई सह सर्वोत्तम प्रोग्राम केलेला आहे. आपण दुसर्या विक्रेत्याकडून आयडीई वापरू शकता आणि आपण अद्याप या ट्यूटोरियलचे बरेच अनुसरण करू शकाल. आम्ही व्हिज्युअल स्टुडिओ समुदाय वापरणार आहोत, तो विनामूल्य, स्थापित करण्यास द्रुत आणि वापरण्यास सुलभ आहे. याशिवाय, चांगला आयडीई वापरल्याने ब long्याच गोष्टी बर्याच वेळा वेगवान बनतील.
Download Visual Studio Community
So, to get started with this tutorial, go ahead and download Visual Studio Community from visualstudio.com. Here's a direct link to the download page:
https://www.visualstudio.com/downloads/
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!