You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
---
|
|
sidebar_position: 4
|
|
title: Creation of the project
|
|
---
|
|
|
|
## Requirements
|
|
|
|
### Gitea repository
|
|
|
|
On Code#0, create a new repository for your project.
|
|
|
|
Clone this repository on your machine, this repository are used to save your next project on gitea.
|
|
|
|
### `.gitignore`
|
|
|
|
A special `.gitignore` is required for .Net projects.
|
|
|
|
Don't panic a multiple website give us the good file.
|
|
|
|
Example: https://www.toptal.com/developers/gitignore/api/dotnetcore,visualstudio,visualstudiocode
|
|
|
|
Copy the content of the web page in the file `.gitignore` at the root directory of the repository.
|
|
|
|
## Create a new Blazor site
|
|
|
|
Open Visual Studio and select `Create a new Project`
|
|
|
|

|
|
|
|
Search in the list of `Blazor Server` templates, select the project type and click `Next`.
|
|
|
|

|
|
|
|
Fill in the information as well as the location of your project and click on `Next`.
|
|
|
|

|
|
|
|
Leave the default options and click on `Create`.
|
|
|
|

|
|
|
|
Congratulations, your site is now available. |