I created a new ASP.NET Core with controllers and views in Visual Studio 2019.
I am trying to get a currency editor control to work but no luck. I've copied the code from the page designer into my razor view but it does not display correctly.
I don't know what goes in the layout file vs the view. Any help on how to get the basics working is greatly appreciated.
As the world grapples with climate change, renewable energy technologies are playing a crucial role in transitioning to a sustainable future. Innovations in solar, wind, and hydroelectric power generation are making clean energy more accessible and cost-effective.
his comment is here
this content
As parents, we all want to provide the best for our children. From the moment they are born, we strive to meet their every need and ensure that they are happy and healthy. However, as toddlers, their needs can be more complex and varied than we might expect. look here
Hello David,
I am glad that everything works as expected on your side.
Please let us know if you need any further assistance with this matter.
Hi, thanks for the info. Something is not right as this is how I started this case:
"I created a new ASP.NET Core with controllers and views in Visual Studio 2019."
I used the ASP.NET core project template. I've done this several times so I am fairly certain that I'm picking the right one. It is easy to get confused. Again I added Microsoft.ASP.MVC in the Nuget package manager to my .NET Core project as it did not.
I will look at the stackflow answer to see if that makes any sense.
Right now, everything is working to thanks again.
Hi,
I am glad that you have resolved your issue.
Please note, however, that the VS2019 template should be identical in all the versions of the IDE. Additionally, based on the error message, it appears that the project you are using is on ASP.NET and not .NET Core since the System.Web.Mvc namespace is for the former framework. This StackOverflow answer might be of help to you.
Please let me know if you need any further assistance with this matter.