Category: .NET
-
Get IP Address and Host Name With C# 10
In this article, we will show you how to get the IP address and host name with C# 10. We will be using the System.Net.Dns class for this purpose.
-
Pass Arguments To a C# Application From The Command-Line
Passing arguments to a C# .NET application from the command line can help pass values and variables and process information.
-
Difference Between .NET SDK And .NET Runtime
Microsoft .NET is a software framework that is used to build, run, and deploy applications across multiple platforms. It includes a rich class library, compilers, metadata, and several application models for building both standalone and hosted applications on the web.
-
Add a New Razor Page To ASP.NET 5 Project
ASP.NET Razor Pages is a new web framework for building dynamic pages using templates, partials, and code-behind files. Razor Pages has been built from the ground up with a singular focus on creating simple yet powerful web pages. There’s no view engine to decide between server-side or client-side templating, so you have the option to…
-
Calculate X Days From A Date With C# .NET
C# is a multi-paradigm language and has properties of various programming languages such as C++, Java and Basic. C# is based on the Common Language Infrastructure (CLI) specification.
-
Create ASP.NET 5 Form Using Tag Helpers
This article will show you how to create a basic ASP.NET 5 (ASP.NET Core 1.X) Form using Tag Helpers. We will form HTML elements based on a C# model and use standard Razor syntax in the markup. There are various options available when creating an ASP.NET 5 page, including [and not limited to] using [plain…
-
How To Run ASP.NET 5 Websites On IIS Server
ASP.NET 5 (formally Core) is the latest release of the ASP.NET web development framework by Microsoft. ASP.NET 5 is cross-platform, which means it can be run on any operating system with support for .NET frameworks, unlike previous versions that were only available for Windows operating systems.
-
Ask A User For Date Input With C# 9
This blog post will show you how to ask a user for date input in C# 9. This is important because the computer needs information before it can process anything else. We will be showing a code example so that you can get an idea of your best option depending on what type of program…
-
Use Non-US Date Format With C# .NET
The current date is 10/06/2021. In the United States, this would be formatted as 10/06/2021. However, in some other cultures, this would be formatting as 06/10/2021.
-
Install .NET 5 With Microsoft Winget
Using Windows Package Manager (Winget) to manage applications has made the process lifecycle application much smoother and more manageable.
-
Enable .NET CLI Autocomplete PowerShell
Command completion is one of the essential features in any CLI tool because it helps us be more productive and save time.
-
Add a Package to a .NET Core Project
Working with packages in any software development project is a common practice and can save time and effort. For .NET development, the main package repository is Nuget.org.