Thanks to visit codestin.com
Credit goes to github.com

Skip to content

This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Foundation.

License

Notifications You must be signed in to change notification settings

Unigalactix/dotnet

 
 

Repository files navigation

.NET Home

.NET Foundation

This repository is a starting point to learn about and engage in .NET and .NET open source projects.

This repository is not an official .NET or .NET Framework support location, however, we will respond to issues filed here as best we can. Please file .NET product issues at main project repos below.

In this repository

Please contribute to this repository via pull requests

Getting Started with .NET

If you're new to .NET, this section will help you get up and running quickly.

Prerequisites

Verify your installation:

dotnet --version

Quick Start Examples

1. Create a Console Application

# Create a new console app
dotnet new console -n MyFirstApp

# Navigate to the project directory
cd MyFirstApp

# Run the application
dotnet run

2. Create a Web API

# Create a new Web API project
dotnet new webapi -n MyWebApi

# Navigate to the project directory
cd MyWebApi

# Run the API (check console output for the actual URL)
dotnet run

# The console will show URLs like: http://localhost:5000 or https://localhost:5001
# Open the Swagger UI at: [URL]/swagger

3. Create an ASP.NET Core Web App

# Create a new web application
dotnet new webapp -n MyWebApp

# Navigate to the project directory
cd MyWebApp

# Run the web app (check console output for the actual URL)
dotnet run

# The console will show URLs like: http://localhost:5000 or https://localhost:5001

Useful CLI Commands

# List all available project templates
dotnet new list

# Create a new solution
dotnet new sln -n MySolution

# Add a project to a solution
dotnet sln add MyProject/MyProject.csproj

# Restore dependencies
dotnet restore

# Build your project
dotnet build

# Run tests
dotnet test

# Publish your application
dotnet publish -c Release

Next Steps

Finding .NET Open Source Projects

Here are some excellent community-maintained lists of projects & libraries:

There are many projects that you can use and contribute to, some of which are listed below. Please do contribute to these projects!

.NET

.NET Docs

.NET Framework

Xamarin

Community

Here is a short list of projects to check out:

There are additional templates available for dotnet new. For more information, see Available templates for dotnet new

.NET Foundation

Many .NET open source projects are part of the .NET Foundation. Microsoft has contributed many projects, including ASP.NET Core and .NET Core. You may want to consider joining the .NET Foundation.

Check out the .NET Foundation Discord Server to see what others are talking about, or start a new discussion to ask a question or make a point.

License

This repository is licensed with the MIT license.

About

This repo is the official home of .NET on GitHub. It's a great starting point to find many .NET OSS projects from Microsoft and the community, including many that are part of the .NET Foundation.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 95.7%
  • C# 3.3%
  • PowerShell 1.0%