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.
.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
.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.
.config
It is the configuration file.
Usage: As a developer, we come across the database connection and configurations to run our web smoothly. If we need to add any third-party service, we can set the things in the configuration files. We can see the files named Web.config or App.config in the.NET project.
.config files in ASP.NET, Web Forms, Windows applications, or Console Applications.
.resx
It is the resource file.
Usage: these files are used to store the icons, images, and strings, which we can access programmatically. We Mainly use it to store the static content.
It is commonly used in ASP.NET, Windows Form, and WPF Applications.
.sln
It is the Solution File.
Usage: When we create any project using Visual Studio, we get the file with the project name and extension .sln. This file is the container that organizes projects, code files, resources, and settings for the entire solution.
Any visual studio project has the extension .sln file.
.csproj
It is a C# project file. When we create any project in the C# or .NET framework using c#, it has some framework versions as well, and we use different libraries and dependencies for such things, so the references are stored in this file. This file has compilation settings as well.