andrewlock / asp-dot-net-core-in-action-3e Goto Github PK
View Code? Open in Web Editor NEWSource code examples for ASP.NET Core in Action, Third Edition
License: MIT License
Source code examples for ASP.NET Core in Action, Third Edition
License: MIT License
Hej, I am trying to understand why the second example of chapter 13 (https://github.com/andrewlock/asp-dot-net-core-in-action-3e/tree/main/Chapter13/B_ATypicalRazorPage/ATypicalRazorPage) is not working for me as expected.
I would expect that after cloning this repository, changing directory to the second example of chapter 13 (cd asp-dot-net-core-in-action-3e/Chapter13/B_ATypicalRazorPage/ATypicalRazorPage/
), and finally running dotnet run
, that an HTTP GET request to http://localhost:5043/Simple would return an HTML page containing something like
ToDo items:
- Bread
- Milk
- Get gas
However, the response contains an empty HTML body and the head of the HTML page is not the one set in asp-dot-net-core-in-action-3e/Chapter13/B_ATypicalRazorPage/ATypicalRazorPage/Pages/Category.cshtml.cs.
To me it seems that something with routing is going wrong since the page and its model never seem to be initialized.
Could you please point me to a possible cause? Then I can try to send a fix with a PR.
Thank you in advance for your help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.