Aller au contenu principal
ProduitsOutils de bureauTASTECADConsultation de plansTASTEFILESGestion de fichiersTASTEFTPTransfert de fichiersTASTESSHEspace de travail à distanceTASTEZIPCompression et extractionTASTEWINMGestion de fichiersOutils pour développeursTASTECODEEnvironnement de développement intégré pour RustTASTESTUDIOEnvironnement intégré de développement et de testTASTEETLIntégration de données (ETL)ServeursTASTEREMOTEServeur de bureau à distanceTASTEGEOServeur géospatialTASTEMAILEspace de travail e-mailInvestissementTASTESTOCKApplication de bureau de trading automatique d'actionsCommencerTéléchargementsDocumentationAcheterTous les produits
Marketplace
Actualités
TechActualitésL’actu dev du jourDocs développeursLangages de programmationRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartFrameworks front-end webNext.jsReactVue.js · NuxtSvelteKitAngularFrameworks serveurSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressFrameworks d'applications et de bureauTauriFlutterReact NativeElectronAlgorithmesBases des algorithmesAlgorithmes essentielsAlgorithmes avancésAlgorithmes pratiques
CommunautéProjetsJournaux de développementPromptsProblèmes d’outils d’IAVitrineGuide de la communauté
CollaborerTransfert techniqueRéalisation de site webRéalisation d'application de bureauChaîne de publication et de paiementPartenaire commercialContact
ServicesBureau à distancePaquets d'installation sur mesure
TASTEDEV
Produits

Outils de bureau

TASTECADDes plans complexes, ouverts en toute légèretéTASTEFILESSeulement les fichiers utiles, au plus viteTASTEFTPLe chemin le plus net pour vos fichiersTASTESSHEntre vos serveurs et vous, un lien plus solideTASTEZIPCompresser plus vite, extraire en toute sécuritéTASTEWINMUn gestionnaire de fichiers à deux volets, pensé pour le clavier

Outils pour développeurs

TASTECODEModifier, compiler, déboguer et tester vos apps Rust dans une seule fenêtreTASTESTUDIODe l’édition aux tests à distance et aux corrections IA approuvéesTASTEETLDéplacer les données, les valeurs sous les yeux

Serveurs

TASTEREMOTEUn bureau à distance hébergé sur votre propre serveurTASTEGEOUn serveur géospatial compatible GeoServer, reconstruit en RustTASTEMAILReprenez la maîtrise de vos e-mails

Investissement

TASTESTOCKDu trading automatique d'actions selon vos règles : quand, et quoi

Commencer

TéléchargementsDernières versions de chaque produitDocsUtiliser chaque produitAcheterAbonnements et licences perpétuellesTous les produitsTous les produits en un coup d’œil
Tous les produits
MarketplaceActualités
Tech

Actualités

L’actu dev du jourAnnonces officielles : langages, frameworks, GitHub et IADocs développeursGuides des langages, frameworks et algorithmes

Langages de programmation

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Frameworks

Frameworks front-end webNext.jsReactVue.js · NuxtSvelteKitAngular
Frameworks serveurSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
Frameworks d'applications et de bureauTauriFlutterReact NativeElectron

Algorithmes

Bases des algorithmesAnalyse de complexité · Tri · Recherche · Structures de données de base · Arbres et tasAlgorithmes essentielsParcours de graphe · Plus courts chemins et arbres couvrants · Programmation dynamique · Algorithmes gloutons · Diviser pour régner · Backtracking (retour sur trace)Algorithmes avancésAlgorithmes sur les chaînes · Mathématiques et théorie des nombres · Manipulation de bits · Arbres de segments · Union-FindAlgorithmes pratiquesStratégie pour les entretiens de codage · Cache LRU · Limitation de débit · Hachage cohérent
Toute la documentation de développement
Communauté
ProjetsDécouvrir les créateurs et leurs travauxJournaux de développementDécisions et enseignementsPromptsInstructions réutilisablesProblèmes d’outils d’IAProblèmes et contournements de Claude, Codex, GeminiVitrineRéalisations terminéesGuide de la communautéConstruire en toute transparence
Collaborer
Transfert techniqueApplications natives en Rust et eguiRéalisation de site web10 langues, comptes, documentation et téléchargementsRéalisation d'application de bureauRust et egui, sans WebViewChaîne de publication et de paiementSignature, MSI, deb, rpm, AppImage, empreintesPartenaire commercialRecommandez-nous, touchez 30 %ContactDéveloppement, partenariats, investissement
Services
Bureau à distanceAccédez à votre ordinateur depuis le navigateurPaquets d'installation sur mesureSeulement l'utile, réglages préchargés
Acheter
FR
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Se connecter
Se connecter
TASTEDEV

Des petits outils à un meilleur développement.

support@tastedev.netSoutenir TASTEDEV
ProduitsGamme de produitsAcheterDocsTéléchargementsMarketplaceAssistance
CommunautéProjetsJournaux de développementPromptsProblèmes d’outils d’IAVitrine
RèglesÀ proposPolitique de confidentialitéConditions d'utilisationConditions d’abonnementRemboursementRègles de la communauté
CompteSe connecterS'inscrire
Visiteurs
Aujourd’hui
Hier
Vues au total
Société
GXSOFT
Représentant
CHOI YOUNG GU
Numéro d’enregistrement
853-44-00368
Adresse
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Téléphone
+82-10-4404-1523
E-mail
whitecalvin@tastedev.net
Responsable de la confidentialité
CHOI YOUNG GU

© 2026 TASTEDEVLes informations produit s'appuient sur des sources de développement vérifiées.Publié · en amélioration

Documentation ASP.NET Core
ASP.NET Core
Getting Started with ASP.NET CoreProject Structure and ConfigurationCore ConceptsData, Validation and AuthenticationTestingDeployment
Discussions

Guide ASP.NET Core · 1/6

Getting Started with ASP.NET Core

Ce chapitre n'est disponible qu'en anglais pour le moment.

This chapter installs the .NET SDK, creates a web project with dotnet new, runs it with dotnet run and dotnet watch, and sets up an editor and the HTTPS development certificate.

Install the .NET SDK

ASP.NET Core is not a separate download: it ships with the .NET SDK. One SDK install gives you the C# compiler, the dotnet command-line tool, the ASP.NET Core runtime and the project templates.

  • Windows: run the installer from dotnet.microsoft.com, or select the "ASP.NET and web development" workload in Visual Studio.
  • macOS: use the official .pkg installer or Homebrew.
  • Linux: use your distribution's package manager or Microsoft's dotnet-install.sh script.

Open a new terminal and check the installation:

dotnet --version        # SDK used by default in this folder
dotnet --list-sdks      # every installed SDK
dotnet --list-runtimes  # look for Microsoft.AspNetCore.App

.NET alternates long-term support (LTS) and standard-term support (STS) releases. For a new project, pick the latest LTS or the latest stable release.

Create a project from a template

dotnet new scaffolds projects from templates. The ones you will use most for web work:

TemplateCreates
webAn empty app with a single minimal API endpoint
webapiA Web API with a sample endpoint and an OpenAPI document
webapi --use-controllersA Web API based on controllers
mvcA Model-View-Controller web app
razorA Razor Pages web app
blazorA Blazor web app
# Empty web app
dotnet new web -o HelloWeb

# Web API using minimal APIs
dotnet new webapi -o TodoApi
cd TodoApi

# All installed templates
dotnet new list

-o sets the output folder, which also becomes the project name. The Program.cs of the web template is only a few lines:

var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();

app.MapGet("/", () => "Hello World!");

app.Run();

WebApplication.CreateBuilder prepares configuration, logging, dependency injection and the Kestrel web server with sensible defaults. registers a handler for GET requests to , and starts the server and blocks until the app shuts down. There is no method because the file uses C# top-level statements, and common namespaces come from implicit usings.

Des questions sur ce chapitre ?
Chapitre suivantProject Structure and Configuration
MapGet
/
app.Run()
Main

Run and reload

dotnet run                          # build, then run
dotnet run --launch-profile https   # use the https profile
dotnet watch                        # run and watch for file changes

dotnet run uses the first profile in Properties/launchSettings.json and prints the listening address, such as Now listening on: http://localhost:5123. Templates choose a random port per project, so read the address from the console.

dotnet watch applies edits to the running app with Hot Reload. Changes such as editing a method body are applied without a restart; for edits that cannot be applied in place, it offers to restart the app. Press Ctrl+R to force a restart.

Try the app from another terminal. The webapi template also creates a TodoApi.http file that Visual Studio and VS Code can send requests from.

# use the port printed by dotnet run
curl http://localhost:5123/weatherforecast

HTTPS development certificate

The https profile needs a trusted local certificate. The SDK creates and trusts one for you:

dotnet dev-certs https --trust
dotnet dev-certs https --check

On Windows and macOS this adds the certificate to the system trust store. On Linux, trusting it may need extra, distribution-specific steps.

Editor setup

  • Visual Studio (Windows): the most complete experience, with debugging, profiling and a built-in HTTP client. Install the "ASP.NET and web development" workload.
  • Visual Studio Code: install the C# Dev Kit extension for project management, IntelliSense, debugging and a test explorer. Works on Windows, macOS and Linux.
  • JetBrains Rider: a cross-platform IDE with strong refactoring and built-in ASP.NET Core support.

Whatever the editor, the dotnet CLI stays the source of truth: projects build and run the same way in the terminal, in the IDE and in CI.

Summary

  • Install the .NET SDK; ASP.NET Core is included.
  • Create projects with dotnet new web or dotnet new webapi.
  • Run with dotnet run and iterate with dotnet watch.
  • Trust the development certificate with dotnet dev-certs https --trust to use HTTPS locally.

0 commentaire

Meilleurs commentairesPlus récents d'abord

Se connecter · Connectez-vous pour laisser un commentaire.