Logo Barret Codes
  • Home
  • About
  • Engage With Me
  • Recent Posts
  • Posts
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Tags
  • .NET
  • .NET Aspire
  • Advent-of-Code-2021
  • Advent-of-Code-2022
  • Adventures-in-Net
  • AI
  • AI Builder
  • Ai-Art
  • Alexa
  • Api
  • Application-Insights
  • Approval-Flows
  • April-Dunham
  • Architecture
  • Ardalis
  • Asp-Net-Core
  • Aspire
  • Axug
  • Azure
  • Azure Back to School
  • Azure Cognitive Services
  • Azure Data Factory
  • Azure-App-Service
  • Azure-Devops
  • Azure-Functions
  • Balance
  • Big-Data
  • Bing-Maps
  • Bitly
  • Blazor
  • Blogging
  • BlueSky
  • Burnout
  • C#
  • C# Advent
  • C-Advent
  • Calendar
  • Canvas-App
  • Career
  • Change
  • Charity
  • Chatgpt
  • Cincydeliver
  • Civility
  • Class-Libraries
  • Cleveland C#
  • Code Reviews
  • Code-With-Ania-Kubow
  • Codementor
  • Cognitive-Services
  • Collections
  • Communication
  • Community
  • Conferences
  • Connectors
  • Content
  • Conversion
  • Copilot
  • Crm
  • Culture
  • Custom-Connector
  • Data-Types
  • Database
  • Datetime
  • Delay
  • Deployment
  • Deployment-Slots
  • Desktop
  • Development
  • Devops
  • Dotnet
  • Dotnetrocks
  • Dynamics
  • Ef-Core
  • ELT
  • Employment
  • Entity Framework
  • Equality
  • Error-Handling
  • Estimates
  • Ethics
  • ETL
  • Excel
  • Experience
  • Expressions
  • Extensions
  • Facebook
  • Facial-Recognition
  • Failure
  • Festive Tech
  • Festive-Tech-Calendar
  • Fired
  • Flow
  • Fluentmigrator
  • Forms
  • Function
  • Function Friday
  • Functions
  • Gatekeeping
  • GC 2.0
  • Giving
  • Gmail
  • Guidance-Counselor-2-0
  • Gulp
  • Hard-Drive
  • Hashtags
  • Hate
  • Hiring
  • HTTP
  • Hugo
  • Hybrid-Connector
  • Icymi
  • Ifttt
  • Iis
  • Image-Recognition
  • Images
  • Imposter-Syndrome
  • Inclusivity
  • Instagram
  • Interviewing
  • Javascript-Friends
  • Jira
  • Job-Search
  • Jobs
  • Json
  • Languages
  • Learning
  • Libraries
  • Life
  • Linkedin
  • Logging
  • Logic Apps
  • Love
  • Low-Code
  • Machine-Learning
  • Mastadon
  • Mentoring
  • Microsoft MVP
  • New-Job
  • Nodejs
  • Nosql
  • Nuget
  • Nz365guy
  • Object-Recognition
  • Ocr
  • OneDrive
  • Openai
  • Organizational-Skills
  • Outlook
  • Ownership
  • Ozcode
  • Pc
  • Podcasts
  • Pos
  • Power Automate
  • Power Automate Desktop
  • Power-Apps
  • Powershell
  • Privacy
  • Productivity
  • Racism
  • Razor
  • Recognition
  • Resharper
  • Responsibility
  • Retail
  • Rpa
  • Rss
  • Rss-Feed
  • Sass
  • Scheduled-Tasks
  • SciFiDevCon
  • Security
  • Security-Questions
  • Sentiment-Analysis
  • Service-Fabric
  • Sexism
  • Shorts
  • Slides
  • Smart Cherry
  • Smart-Home
  • Soft Skills
  • Sql
  • Ssl
  • Stackexchange
  • Stackoverflow
  • Startups
  • Stirtrek
  • Summit-Na
  • Surveillance
  • Task-Runner
  • Task-Runner-Explorer
  • Taylor-Desseyn
  • Teams
  • Tech
  • Templates
  • Text-Analytics
  • The-6-Figure-Developer
  • Time-Off
  • Transition
  • Trello
  • Triggers
  • Troubleshooting
  • Try-Catch
  • Twitch
  • Twitter
  • Unplug
  • Uri
  • Video
  • Vision-Api
  • Vision-Service
  • Visual-Studio
  • Vsts
  • Web-Assembly
  • Website
  • Windows-10
  • Workflow
  • Xml
  • Xpath
  • YouTube
hero image
C# Advent 2020 - ASP.NET Core API Endpoints

MVC is a mess. Controllers in one folder, views in another, services in another, models and viewmodels in yet other folders. Related files are all over the place. Trying to piece together these related pieces can be a real pain. Steve “ardalis” Smith has come up with another way: ASP.NET Core API Endpoints. The concept is a simple one. Everything that’s related can easily be put in one folder, maybe even in one file. Steve explains much better: “Instead of Model-View-Controller (MVC) the pattern becomes Request-EndPoint-Response (REPR). The REPR (reaper) pattern is much simpler and groups everything that has to do with a particular API endpiont together.” By putting everything together, maintenance and development are all much easier. As Steve notes, this is a concept that the .NET team has done in creating Razor pages.

  • api
  • ardalis
  • asp-net-core
  • C#
  • c-advent
  • dotnet
Saturday, December 19, 2020 | 6 minutes Read
Navigation
  • About
  • Engage With Me
  • Recent Posts
  • Posts
Contact me:
  • barretblake@live.com
  • barretb
  • Barret

Toha Theme Logo Toha
© 2024 Copyright Barret Blake.
Powered by Hugo Logo