I'm brainstorming some ideas about how to isolate web api controllers into their own "modules" that can be blended together into a single webapi application. However I'd like to isolate them and their dependencies form each other since there will likely be assembly version conflicts. I've been wondering if this could be achieved with different application domains for each controller. Anyone have experience with this?
How to separate webapi controllers in their own app domain?
881 views Asked by Paul Fryer At
1
There are 1 answers
Related Questions in DESIGN-PATTERNS
- Will it slow down the performance when Unit of work pattern is used with EF Core
- Design patterns - How Design patterns work with bulk data
- Using Repository pattern to fetch data from different places and build list of objects
- Suggest best design patterns to update or insert bulk data
- Mapping one collection of objects into another collection of objects
- How can I break down a large presenter in the Viper design pattern into smaller pieces?
- How to create under the label in Textformfield, not a border, in Flutter
- Own Pattern / framework for interfacing with components in C
- Common Method Implementation for Elasticsearch and OpenSearch Java SDK
- How can I decouple them?
- Understanding Potential Deadlock in Resource Pool Implementation Described in "Go in Action"
- Dependency Injection Patterns stand alone implementaion
- How to use GoF design pattern for software robustness?
- Pipeline data processing and code architecture
- Mocking inherited class where new object is created or how to unsmell my class
Related Questions in ASP.NET-WEB-API
- Log to Dynatrace using Serilog and web.config .NET Framework API
- How to create a REST API with .NET Framework?
- ASP.NET Core Background task with service container
- App gateway closing connection after 100 requests
- Web API works with Windows authentication enabled when consumed via Swagger but throws an unauthorized issue when accessed through web app
- The 'GetUriByAction' method in the LinkGenerator class in Asp.Net Core is not defined in the Repository layer of the project
- Entity Tracking Conflict when Authenticating Users in ASP.NET Core API
- Class validation on response body in .NET WebApi
- My ASP.NET server does not work and I am wondering what's missing, when I open Swagger, I get error 500
- How to split Serilog log file into multiple files?
- Response payload is not odata payload
- How can I upload picture
- Web Forms aspx - PostAsync Web API
- do you know any free reporting services like devexpress or boldreports?
- WebAPI don't deserialize JSON but same payload works in Swagger
Related Questions in APPDOMAIN
- Search web address from IP
- Why .NET Framework assemblies are not loaded inside same AppDomain of calling module?
- Is there a way in .Net Framwork to reference an object cross AppDomains without Serialization?
- configure phpmyadmin using nginx, access phpmyadmin remotely
- In-Memory Assembly Resolve
- How to handle events from Usercontrol in separate AppDomain
- How to Delete Managed Code Libraries from Inno Setup Temp Directory at DeInitializeSetup
- Creating many Serilog Instances
- Which is an appropriate location to create a Folder in c# console application for reading and writing to files?
- Access my own domain url from my office System. Any unknown urls are blocked by my company
- Creation of secondary AppDomains not supported
- Assembly loading by reflection c# causes type comparison problem
- Can I create a new AppDomain without remoting call context?
- In .NET Framework, how to prevent an assembly loaded into a DIFFERENT app domain from expiring?
- Connect local domain to Django
Related Questions in ISOLATION
- How container isolation is being achieved for windows containers which use process isolation mode?
- tkinter: search widget by name in an efficient way
- Concurrent inserts causing deadlock issues
- Is SQL UPDATE statement consistent with regard to other committed transactions?
- How to avoid `invalid access of mutable storage in an 'isolated' function`?
- How to programatically determine if a function is isolated or not in Ballerina?
- Docker (compose) networking - service isolation not working
- I used three clients to write to three different databases and found that the writing speeds varied greatly
- flutter video_thumbnail Work with isolate
- Blazor CSS Isolation and the PackageId
- Invoking isolated langlib function within isolated function in Ballerina
- Isolating User Sessions for AWS Credentials in a Django-Kubernetes Web Application
- Is there a way to pass CSS class in isolated mode?
- spark session isolation in databricks
- What is the theoretical limit for an Isolation Tree path length
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Anything in the bin folder will be loaded into the current app domain so normally this isn't an issue. However, when dodging versioning conflicts you can use a custom assembly resolver to load up multiple assemblies/versions into the same AppDomain. This will allow you to pull in additional assemblies to web api's AppDomain.
You then will replace the default assembly resolver for web api in the configuration.
When web api goes to search assemblies to find controllers it will now pull in all of the additional assemblies. See this example for a more detailed explaination.