Generating Hypermedia links in ASP.NET Web API
A guide to implementing RESTful hypermedia links in ASP.NET Web API, including JSON serialization and custom link classes.
Ben Foster shares practical guides on ASP.NET Core, Minimal APIs, and modern .NET development, helping developers build efficient web APIs.
132 articles from this blog
A guide to implementing RESTful hypermedia links in ASP.NET Web API, including JSON serialization and custom link classes.
Explains how to handle RavenDB's string identifiers in ASP.NET Web API routing by exposing integer IDs to clients and using type converters.
A technical guide on programmatically generating dynamic XML sitemaps for search engines in ASP.NET MVC applications.
A developer troubleshoots a .NET 4.0 issue on Azure VMs where HttpUtility methods fail during Application_Start, highlighting the need for sysadmin-level maintenance.
A guide to automatically injecting dynamic page metadata (title, description, keywords) in ASP.NET MVC using a custom action filter.
Introduces a custom ASP.NET MVC Action Filter that automatically checks for null view models and returns a 404, eliminating repetitive null-check code.
Explains how to implement the View Factory Pattern in ASP.NET MVC to separate view creation logic, improve testability, and simplify controllers.
Critique of counterproductive password policies, using Barclaycard as an example, and suggestions for more user-friendly, secure authentication.
A guide to creating and using a custom HTML Helper for generating checkbox lists in ASP.NET MVC, including model setup and usage.
Explains how to implement content negotiation in ASP.NET MVC to return JSON, XML, or HTML based on client accept headers.
Explains how to implement automatic ModelState validation in ASP.NET MVC using a custom ActionFilter to avoid repetitive code.
Developer introduces Fabrik.Common, an open-source .NET utility library, and showcases its useful string extension methods.
A comparison of traditional unit tests vs. BDD-style specifications for testing a regex, highlighting the readability and structure benefits of BDD.
A guide to refactoring ASP.NET MVC controllers by replacing repetitive conditional logic with custom action filters and view results for cleaner code.
Analysis of Windows Azure's new web hosting features, highlighting improved deployment but noting limitations in control and configuration for developers.
A guide to creating an ASP.NET MVC helper for integrating Twitter Bootstrap's Typeahead plugin for autocomplete functionality.
A technical guide on extending the PageDown markdown editor to support custom image uploads via JavaScript, including async file handling.
A technical guide on implementing efficient data paging using RavenDB's LINQ client and a custom PagedList class within an ASP.NET MVC application.
Introducing a Fluent API for the ImageResizer .NET library, simplifying image transformation requests with a clean, expressive syntax.
Improving user experience for multi-select lists using jQuery plugins for tooltips and visual feedback.