You might want to use JetBrains.Annotations, if you’re using Feature Folders for #aspnetcore#mvc. The JetBrains.Annotations package tells #JetBrainsRider and #ReSharper where views can be located.
Here’s a quick screenshot of how to do that. #dotnet
Hey #aspnetcore devs. If I wanted to write a result that could be used in #MVC, #Razor#Pages, and Minimal APIs, what interface/base type would I implement?
Is it IResult or IActionResult or is it not possible?
@phpc I've been coding with #php for 20 years, generally using #mvc frameworks usually #CodeIgniter, also like designing databases, #sql queries and some #javascript using #jquery. I also enjoy writing functional specifications so my client gets the right result
I would go even further that the “controllers” in the modern #AppKit / #UIKit world are even further away from the original conception of #MVC, and they’re hardly “controllers” in the original sense any more.
A Window Controller (AppKit) and View Controller (AppKit/UIKit) are tightly coupled to a specific Window or View, so much so that they are basically one and the same—no architectural advantage is lost by combining the Window Controller with its window; or the View Controller with its View.
I’ve always argued that the distinction between Views and View Controllers are quite arbitrary. VCs are used to house lots of functionality that regular Views don’t have—but you could have achieved the same by declaring a View subclass that conforms to the additional protocol, and doing away with the view-creation logic, couldn’t you?
IMO, the “MVC” in UIKit has no controller at all, when you think about it.
As a newbie dev learning #csharp and #dotNET , I've built a project or two with #MVC but have no idea how to implement a demo log-in for it. can anyone who sees this offer some advice?
MVC Development Agency Dallas | Laravel Framework | Laravel Development TX (designslegend.com)
MVC Development Agency in USA...