Last post May 13, 2017 05:23 AM by raky291
May 12, 2017 05:17 AM|raky291|LINK
Hello everyone, I'm starting using ASP.NET Core and I come from Node.js world.
I'm following this
beginners guide using Visual Studio Community 2017, it's a fantastic tool, but when I started using the Scaffolding I got some questions.
Why the MVC Scaffolding Controller don't use HTTP verbs (PUT / DELETE / etc.)?
But the API Scaffolding does use the HTTP verbs,
here an example.
At present all browsers support those HTTP verbs, don't they? or what is the reason why they don't use it?
How can I create my own Scaffolding (Controllers and Views) on Visual Studio 2017?
May 12, 2017 06:42 AM|Edward Z|LINK
>> Why the MVC Scaffolding Controller don't use HTTP verbs (PUT / DELETE / etc.)?
In my option, this is related with different route rule for MVC and web api. MVC uses conversation rule and Web API uses attribute rule.
>> How can I create my own Scaffolding (Controllers and Views) on Visual Studio 2017?
For this requirement, you could follow below link.
If you got exception when installing Microsoft.VisualStudio.Web.CodeGeneration.Tools, you could follow below link to edit csproj file.
# Package 'Microsoft.VisualStudio.Web.CodeGeneration.Tools 1.0.0' has a package type 'DotnetCliTool' that is not supported by project 'PROJECT_NAME'. #422
May 13, 2017 05:23 AM|raky291|LINK
You are awesome, thank you!