Skip to content

Commit

Permalink
feat(websites): improve create project page #8187 (#8246)
Browse files Browse the repository at this point in the history
  • Loading branch information
Md23Mh authored Aug 13, 2024
1 parent 02f9a30 commit 3dab953
Show file tree
Hide file tree
Showing 9 changed files with 589 additions and 75 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<a href="https://marketplace.visualstudio.com/items?itemName=Failwyn.WebCompiler64" target="_blank">Web Compiler 2022+ extension</a>
</li>
<li>
<a href="https://marketplace.visualstudio.com/items?itemName=ErikEJ.SQLServerCompactSQLiteToolbox" target="_blank">SQLite and SQL Server Compact Toolbox extension</a>
<a href="https://marketplace.visualstudio.com/items?itemName=TomEnglert.ResXManager" target="_blank">ResXManager</a>
</li>
</ol>
</div>
Expand All @@ -76,13 +76,15 @@
</li>
<BitAccordion Title=".NET 8 Sdk on Linux instructions">
<div>To install .NET 8 SDK on Linux(Ubuntu) run the following commands:</div>
<CodeBox>wget https://download.visualstudio.microsoft.com/download/pr/60218cc4-13eb-41d5-aa0b-5fd5a3fb03b8/6c42bee7c3651b1317b709a27a741362/dotnet-sdk-8.0.303-linux-x64.tar.gz -O $HOME/dotnet.tar.gz
mkdir -p $HOME/.dotnet
tar zxf $HOME/dotnet.tar.gz -C "$HOME/.dotnet"
echo 'PATH=$HOME/.dotnet:$HOME/.dotnet/tools:$PATH' >> ~/.bashrc
export PATH=$HOME/.dotnet:$HOME/.dotnet/tools:$PATH
dotnet dev-certs https --trust
rm dotnet.tar.gz</CodeBox>
<CodeBox>
wget https://download.visualstudio.microsoft.com/download/pr/60218cc4-13eb-41d5-aa0b-5fd5a3fb03b8/6c42bee7c3651b1317b709a27a741362/dotnet-sdk-8.0.303-linux-x64.tar.gz -O $HOME/dotnet.tar.gz
mkdir -p $HOME/.dotnet
tar zxf $HOME/dotnet.tar.gz -C "$HOME/.dotnet"
echo 'PATH=$HOME/.dotnet:$HOME/.dotnet/tools:$PATH' >> ~/.bashrc
export PATH=$HOME/.dotnet:$HOME/.dotnet/tools:$PATH
dotnet dev-certs https --trust
rm dotnet.tar.gz
</CodeBox>
</BitAccordion>
<br />
<li>Install <a href="https://nodejs.org/en/download/" title="Node.js" rel="nofollow">Node.js</a></li>
Expand Down Expand Up @@ -183,30 +185,31 @@ rm dotnet.tar.gz</CodeBox>
{
<li><a href="https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-maui" title=".NET MAUI" rel="nofollow">.NET MAUI</a></li>
}
<li><a href="https://marketplace.visualstudio.com/items?itemName=yy0931.vscode-sqlite3-editor" title="SQLite3 Editor" rel="nofollow">SQLite3 Editor</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=DominicVonk.vscode-resx-editor" title="RESX Editor" rel="nofollow">RESX Editor</a></li>
</ul>
</li>
</ul>
<BitAccordion Title="Install extensions commands">
@if (showCrossPlatform)
{
<CodeBox>code --install-extension ms-dotnettools.csdevkit
code --install-extension ms-dotnettools.blazorwasm-companion
code --install-extension glenn2223.live-sass
code --install-extension kevin-chatham.aspnetcorerazor-html-css-class-completion
code --install-extension ms-dotnettools.dotnet-maui
code --install-extension yy0931.vscode-sqlite3-editor
code --install-extension DominicVonk.vscode-resx-editor</CodeBox>
<CodeBox>
code --install-extension ms-dotnettools.csdevkit
code --install-extension ms-dotnettools.blazorwasm-companion
code --install-extension glenn2223.live-sass
code --install-extension kevin-chatham.aspnetcorerazor-html-css-class-completion
code --install-extension ms-dotnettools.dotnet-maui
code --install-extension DominicVonk.vscode-resx-editor
</CodeBox>
}
else
{
<CodeBox>code --install-extension ms-dotnettools.csdevkit
code --install-extension ms-dotnettools.blazorwasm-companion
code --install-extension glenn2223.live-sass
code --install-extension kevin-chatham.aspnetcorerazor-html-css-class-completion
code --install-extension yy0931.vscode-sqlite3-editor
code --install-extension DominicVonk.vscode-resx-editor</CodeBox>
<CodeBox>
code --install-extension ms-dotnettools.csdevkit
code --install-extension ms-dotnettools.blazorwasm-companion
code --install-extension glenn2223.live-sass
code --install-extension kevin-chatham.aspnetcorerazor-html-css-class-completion
code --install-extension DominicVonk.vscode-resx-editor
</CodeBox>
}
</BitAccordion>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ private async Task CopyCommandsToClipboard()
(text:@"echo 'Install the .NET MAUI extension for Visual Studio Code https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.dotnet-maui';",
command:"code --install-extension ms-dotnettools.dotnet-maui;"),

(text:@"echo 'Install the SQLite3 Editor extension for Visual Studio Code https://marketplace.visualstudio.com/items?itemName=yy0931.vscode-sqlite3-editor';",
command:"code --install-extension yy0931.vscode-sqlite3-editor;"),

(text:@"echo 'Install the RESX Editor extension for Visual Studio Code https://marketplace.visualstudio.com/items?itemName=DominicVonk.vscode-resx-editor';",
command:"code --install-extension DominicVonk.vscode-resx-editor;"),
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
<div class="section-card-txt">
To examine the structure, start by creating a project with the following command in the command line:
<br />
<CodeBox>
dotnet new bit-bp –-name MyFirstProject
</CodeBox>
<CodeBox>dotnet new bit-bp –-name MyFirstProject</CodeBox>
</div>
<div class="row-section-container">
<div>
Expand Down Expand Up @@ -162,9 +160,7 @@ dotnet new bit-bp –-name MyFirstProject
We recommend keeping BlazorWebAssemblyStandalone set to false during development and only enabling it during the publishing process.
To do this, use the following command:
<br />
<CodeBox>
dotnet publish MyFirstProject.Client.Web -c Release -p:BlazorWebAssemblyStandalone=true
</CodeBox>
<CodeBox>dotnet publish MyFirstProject.Client.Web -c Release -p:BlazorWebAssemblyStandalone=true</CodeBox>
</div>
</section>

Expand Down
Loading

0 comments on commit 3dab953

Please sign in to comment.