mrh520

Results 11 comments of mrh520

// 自己在gin管道中配置下这个 // 跨域配置 func cors(c *gin.Context) { c.Header("Access-Control-Allow-Origin", "*") // header的类型 c.Header("Access-Control-Allow-Headers", "*") }

这个跟我原来遇到的错误是一样的啊

I also encountered a similar problem and found that the system initialization created a consumer, and messages were not discarded if no handler was defined

try: public class Teacher : FullAuditedAggregateRoot { public string Name { get; set; } public string Title { get; set; } [ForeignKey("TeacherId")] public ICollection Courses { get; set; } }

public class TeacherAppService : CrudAppService< Teacher, TeacherDto, Guid, PagedAndSortedResultRequestDto, CreateUpdateTeacherDto> { public TeacherAppService(IRepository repository) : base(repository) { Repository=repository; } public IRepository Repository { get; } public override async Task CreateAsync(CreateUpdateTeacherDto...

The Orleans 7.2.7 version works properly. [sample.zip](https://github.com/user-attachments/files/21811544/sample.zip)

> What is the error & can you paste the code that gives dependency injection error? Volo.Abp.AbpInitializationException: An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Acme.BookStore.BookStoreHttpApiHostModule, Acme.BookStore.HttpApi.Host,...

> I don't see Orleans in the stack. It looks like an issue between Razor & Autofac judging just by the stack trace. Perhaps upgrading Orleans also upgraded some transitive...