Create an ASP.NET Core Razor Pages
[ad_1]
1. Create an ASP.NET Core Razor Pages project named “GourmetPizza” with Visual Studio.
2. In ‘Solution Explorer’, create a folder named “PizzaTest” under the “Pages” folder of your
project.
3. Create a Razor page named “Index” under the “PizzaTest” folder. Modify the automaticallygenerated ‘Index.cshtml’ file to display the Table 1 above in an HTML table. That is, when
entering the following URL https://localhost:xxx/PizzaTest into the browser after running this
project, the Table 1 above should be displayed in the browser.
4. In ‘Solution Explorer’, create a folder named ‘images’ under the ‘wwwroot’ folder of your
project. Then, create an image file for each of the four pizza types and store these four files
under the ‘images’ folder. You can download images from Internet and then modify them.
When searching images on the Internet, you should use royalty-free image websites such
as Pixabay (www.pixabay.com) and Unsplash (www.unsplash.com) to avoid copyright
issues. The four images should all:
• Have a resolution of 800 X 450 pixels.
• Be in one image format such as jpeg, bmp, png, etc.
• Roughly illustrate their corresponding pizza types.
[Button id=”1″]
[ad_2]
Source link
"96% of our customers have reported a 90% and above score. You might want to place an order with us."
