What are Different File Extension in .net

Let's take a look one by one.

.ASPX

  • Abbreviation for: Active server page extended.
  • USAGE: These extensions are for ASP.NET web pages. It contains HTML, Web Controls, and server-side code in C# or VB.NET. This allows us to generate dynamic content.

We mostly use it in the ASP.NET WebForms.

Below are some images with the extensions for reference.

ASP.NET

.CS

It is the C# source file extension

Usage: It contains the C# code. This extension is used for the file where the code is written in the C# language; here using C#, we define the logic and functionality of the application, and these files are common in the ASP.NET MVC, Windows Form, Console Application, etc. Below is the image for the reference

Windows Form

.DLL

  • Abbreviation for: Dynamic Link Library
  • Usage: This extension file is used as the help to our code where we have pre-written code to do some specific work or do the fixed task on multiple pages or multiple times, and we can generate this file by our source code in .NET projects

We can see this extension mostly in the .NET assemblies and reusable libraries.

.NET

So, we will continue talking about the extension and their uses. After that, we will try creating this extension and using it in our projects so that we can understand its usage of the extension and how we can develop it.

Up Next
    Ebook Download
    View all
    Learn
    View all