{"id":44923,"date":"2023-03-23T10:05:00","date_gmt":"2023-03-23T17:05:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/dotnet\/?p=44923"},"modified":"2023-05-10T12:06:56","modified_gmt":"2023-05-10T19:06:56","slug":"codespaces-template-blazor-portfolio-website","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/codespaces-template-blazor-portfolio-website\/","title":{"rendered":"Create a portfolio website without installing any tools"},"content":{"rendered":"<p>Create, customize, and deploy your own portfolio website in minutes without installing any tools. All you need is a GitHub account and a few minutes to get started. We will use GitHub Codespaces and Blazor to build the website and Azure Static Web Apps or GitHub Pages to deploy it.<\/p>\n<p><iframe width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/1Vg7bNjJY-0\" allowfullscreen><\/iframe><\/p>\n<h2>GitHub Codespaces<\/h2>\n<p>Now, with GitHub Codespaces you can create your own portfolio website in minutes without any extra tools or lengthy environment setup! All you need is a GitHub account.<\/p>\n<p>Follow <a href=\"https:\/\/docs.github.com\/en\/get-started\/signing-up-for-github\/signing-up-for-a-new-github-account\">these instructions<\/a> to create your free GitHub account.<\/p>\n<p><a href=\"https:\/\/docs.github.com\/en\/codespaces\/overview\">GitHub Codespaces<\/a> is a development environment that is hosted in the cloud. This means that you can get started coding right away in your browser \u2013 we set everything up for you ahead of time! You do not need to worry about setting up the right coding editor or tools.<\/p>\n<h2>.NET Blazor Portfolio Site with GitHub Codespaces<\/h2>\n<p>With the .NET Blazor Portfolio Site project template, all you need to do is launch your Codespace then follow the README instructions to customize your website. The goal is to give you a template you can immediately utilize to create your own website through GitHub Codespaces.<\/p>\n<p>This template shows you how to build your website using Blazor. <a href=\"https:\/\/dotnet.microsoft.com\/apps\/aspnet\/web-apps\/blazor\">Blazor<\/a> is a UI Framework that lets you build frontend web applications with C#. The template is in the <a href=\"https:\/\/education.github.com\/experiences\/primer_codespaces\">education\/codespaces-project-template-dotnet<\/a> on GitHub!<\/p>\n<ul>\n<li><strong>Who is this for?<\/strong> <em>Anyone<\/em> looking to create a portfolio site, learn web development, or test out Codespaces.<\/li>\n<li><strong>How much experience do you need?<\/strong> <em>Zero<\/em>. You decide how much you want to customize based on your experience, and time available.<\/li>\n<li><strong>Tools needed<\/strong>: <em>None<\/em>. No need to install anything! All you need is a GitHub account and web browser.<\/li>\n<li><strong>Prerequisites<\/strong>: <em>None<\/em>. This template includes your development environment and deployable web app for you to create your own site.<\/li>\n<\/ul>\n<h2>Get Started with the .NET Portfolio Website Template<\/h2>\n<ol>\n<li>\n<p>Go to the <a href=\"https:\/\/aka.ms\/dotnet\/codespaces-template\">template<\/a><\/p>\n<\/li>\n<li>\n<p>Click <strong>Use this template<\/strong> then <strong>Create a new repository<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/05\/use-this-template.png\" alt=\"Use this template button\" \/><\/p>\n<\/li>\n<li>\n<p>Create a copy of the repository in your GitHub account. You can keep the repository name the same or change it if you would like.<\/p>\n<\/li>\n<li>\n<p>At the top of the README, click on the Open in GitHub Codespaces button<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/05\/open-in-codespace.png\" alt=\"Open in a Codespace\" \/><\/p>\n<\/li>\n<li>\n<p>The Codespace may take a few minutes to set up. Upon setup completion, you will be in a GitHub Codespace! Notice that it has the same layout as VS Code.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/05\/setting-up-codespace.png\" alt=\"Setting up Codespace\" \/><\/p>\n<\/li>\n<li>\n<p>Follow the README instructions to run your website. Use the <strong>swa start<\/strong> command.<\/p>\n<\/li>\n<li>\n<p>From here, you can continue to follow the instructions in the README to <a href=\"https:\/\/github.com\/education\/codespaces-project-template-dotnet#-customize-your-site-in-4-steps\">customize your portfolio website<\/a> and <a href=\"https:\/\/github.com\/education\/codespaces-project-template-dotnet#-deploy-your-web-application\">deploy it<\/a>!<\/p>\n<\/li>\n<\/ol>\n<p>When you&#8217;re finished, your site will look something like this! <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2023\/05\/blazorwasm-portfolio-site2.gif\" alt=\"Finished Blazor WASM portfolio site\" \/><\/p>\n<h2>Continue Learning<\/h2>\n<p>Want to learn more about building with C# and .NET? Check out the following resources.<\/p>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/users\/dotnet\/collections\/yz26f8y64n7k07\">Learn C#<\/a> using VS Code in this learning path<\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/training\/paths\/build-web-apps-with-blazor\/\">Learn Blazor<\/a> with this learning path<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Create, customize, and deploy your own portfolio website in minutes without installing any tools.<\/p>\n","protected":false},"author":99474,"featured_media":45614,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[685,7251,756,7593],"tags":[7205,7177,7222,7719],"class_list":["post-44923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet","category-blazor","category-csharp","category-visual-studio-code","tag-blazor","tag-codespaces","tag-github","tag-students"],"acf":[],"blog_post_summary":"<p>Create, customize, and deploy your own portfolio website in minutes without installing any tools.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/44923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/99474"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=44923"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/44923\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/45614"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=44923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=44923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=44923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}