Then, open the page : Shared / _Layout.cshtml and update it to look something like the code below. (In my case I am using Visual Studio 2019), and start installing some nugget packages, and make sure you target the latest versions : Open the solution with your favorite IDE. But you can choose whatever framework you want by replacing “ net5.0” by “net xxx” \RazorPageCdnBlob\RazorPageCdnBlob.sln add. These command lines will create the solution and the web project : dotnet new sln -o RazorPageCdnBlobĭotnet new razor -f net5.0 -o RazorPageCdnBlob/Webĭotnet sln. For simplicity, I chose Razor page because it can make coding page-focused scenarios easier and more productive than using controllers and views. However, if you need to test out the solution directly, clone this GitHub repository : Create and initiate the ASP.NET 5 Razor pageįirst of all, let’s start by creating our web application. Always keep in mind, that starting coding is the best way to learn. TIP : I recommend to follow all the steps described in this lab, as it will help you understand all the important aspects of implementation. Now, we are ready to start our journey ?
Azure is giving away a month’s trial with a $200 credit.
However, thinking about the right way to store these contents and the best way to deliver it to your users can be challenging, once you take in consideration performance, availability, and proximity. When developing web applications, It is common to use media contents such as images, videos, or documents in your application.