当我想使用带有redis pro的hangfire服务器时,我有一个例外

daupos2t  于 2021-06-09  发布在  Redis
关注(0)|答案(0)|浏览(259)

system.missingmethodexception:找不到方法:“stackexchange.redis.connectionmultiplexer stackexchange.redis.iredisasync.get\u multiplexer()”。位于system.text.stringbuilder.appendformathelper(iformatprovider提供程序,字符串格式,paramsarray args)的hangfire.pro.redis.redisstorage.getmasterendpoint()位于system.text.stringbuilder.appendformathelper(iformatprovider提供程序,字符串格式,paramsarray args),paramsarray args)位于hangfire.backgroundjobserver..ctor(backgroundjobserveroptions,jobstorage storage,ienumerable 1 additionalProcesses, IJobFilterProvider filterProvider, JobActivator activator, IBackgroundJobFactory factory, IBackgroundJobPerformer performer, IBackgroundJobStateChanger stateChanger) at Hangfire.HangfireApplicationBuilderExtensions.UseHangfireServer(IApplicationBuilder app, BackgroundJobServerOptions options, IEnumerable 1额外进程,作业存储)位于ulysopusapi.configuration.hangfire.hangfiremidlewareconfiguration.usehangfire(iaapplicationbuilder应用程序,hangfireconfiguration configuration)在c:\work\interface\u opus\u digital\ulysopusapi\main\4\u infrastructure\ulysopusapi.configuration\hangfire\hangfiremidlwareconfiguration.cs:ulysopusapi.web.startup.configuration的第17行(iaapplicationbuilder app,iaapplicationlifetime applicationlifetime,ihostingevironment env,ilogger logger,ihangfireservice hangfireservice,ioptions公司 1 swaggerConfiguration, IOptions 1 hangfireconfiguration)在c:\work\interface\opus\u digital\ulysopusapi\main\1\u distributedinterfacelayer\ulysopusapi.web\startup.cs中:第95行---来自引发异常的上一个位置的堆栈结束跟踪---位于microsoft.aspnetcore.hosting.conventionbasedstartup.configure(iapplicationbuilder应用程序)microsoft.applicationinsights.aspnetcore.applicationinsightsstartupfilter.<>c\u displayclass2\u 0.b\u 0(IAApplicationBuilder应用程序)位于microsoft.extensions.dependencyinjection.autoregistermiddleware.<>c\u displayclass4\u 0.b\u 0(IAApplicationBuilder应用程序)ine:\ba\56\s\src\microsoft.aspnetcore.mvc.versioning\microsoft.extensions.dependencyinjection\autoregistermiddleware.cs:microsoft.aspnetcore.mvc.internal.middlewarefilterbuilderstartupfilter.第46行microsoft.aspnetcore.server.iis.core.iisserversetupfilter.<>c\u displayclass2\u 0.b\u 0(iapplicationbuilder应用程序)位于microsoft.aspnetcore.hostfilteringstartupfilter.<>c\u displayclass0\u 0.b\u 0(iapplicationbuilder应用程序)位于microsoft.aspnetcore.hosting.internal.autorequestservicesstartupfilter.<>c\u displayclass0\u 0.b\u 0(iapplicationbuilder应用程序)位于microsoft.aspnetcore.hosting.internal.webhost.buildapplication()

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题