Skip to content

Exploring InterModule Communication #4592

Answered by sbwalker
kasif asked this question in Q&A
Discussion options

You must be logged in to vote

You mentioned "inter-module communication" which usually refers to passing state between different components at runtime. However I think what you are actually referring to is how to leverage repositories, services, etc... from different modules during development (which is something completely different).

The easiest way to accomplish your development goal is to create an Oqtane project which contains multiple modules:

Module.sln
/Client
  Module.Client.csproj
  /Modules
    /Module1
      Index.razor (make sure namespaces are unique for each module)
    /Module2
      Index.razor
  /Services
    Module1Service.cs
    Module2Service.cs
/Server
  Module.Server.csproj
  /Controllers
    Mo…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@kasif
Comment options

Answer selected by kasif
Comment options

You must be logged in to vote
3 replies
@kasif
Comment options

@sbwalker
Comment options

@kasif
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants