ASP.NET Tutorials for beginners

ASP.NET Custom controls

Programmers can also build ASP.NET custom controls for .NET applications. Unlike user controls, these controls do not have an ASCX markup file, having all their code compiled into a dynamic link library (DLL) file. Such custom controls can be used across multiple web applications and Visual Studio projects

Related TutorialsHow to associate a Label with a TextBox or other Form …

Learn more

ASP.NET User Controls

ASP.NET User controls are encapsulations of sections of pages which are registered and used as controls in ASP.NET. ASP.NET User controls are created as ASCX markup files. These files usually contain static (X)HTML markup, as well as markup defining server-side web controls. These are the locations where the developer can place the required static and dynamic content.

A user …

Learn more

ASP.NET Code-behind model

Microsoft recommends dealing with dynamic program code by using the code-behind model, which places this code in a separate file or in a specially designated script tag. Code-behind files typically have names like MyPage.aspx.cs or MyPage.aspx.vb while the page file is MyPage.aspx (same filename as the page file (ASPX), but with the final extension denoting the page language). …

Learn more

ASP.NET Pages

ASP.NET web pages or webpage, known officially as “web forms”, are the main building block for application development. Web forms are contained in files with an “.aspx” extension; these files typically contain static (X)HTML markup, as well as markup defining server-side Web Controls and User Controls where the developers place all the required static and dynamic content for …

Learn more

How to install ASP.NET

The .NET Framework is Microsoft’s comprehensive and consistent programming model for building applications that have visually stunning user experiences, seamless and secure communication, and the ability to model a range of business processes.

System Requirements

Supported Operating Systems:

Windows 7
Windows 7 Service Pack 1
Windows Server 2003 Service Pack 2
Windows Server 2008
Windows Server 2008 R2
Windows Server 2008 R2 SP1
Windows Vista Service Pack …

Learn more

ASP.NET vs classic ASP

ASP.NET simplifies developers’ transition from Windows application development to web development by offering the ability to build pages composed of controls similar to a Windows user interface. A web control, such as a button or label, functions in very much the same way as its Windows counterpart: code can assign its properties and respond to its events. Controls …

Learn more

How to refresh an image in ASP.NET

When you upload a new image which already exists then the old visitor should refresh the browser cache to see it.

To resolve this problem you could each time generate some random number after the image name, and the browser will think that this is a new image and it will refresh it. This is the sample ASP.NET code:

<img …

Learn more

What is ASP.NET?

ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites, web applications and web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft’s Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), …

Learn more