问题描述
你好,
我在asp .net mvc和angular中创建了两个项目。一个用于前面,一个用于管理面板。我在管理项目中使用了自定义角色提供程序。我想在主虚拟目录中配置front,在子文件夹中配置admin作为虚拟目录。当我运行前端工作正常的网站,但当我运行托管为子虚拟目录的管理员网站时,不会调用角色提供程序。如果有人有任何想法,请指导我。
我尝试过:
i已在我的本地iis中配置它
Hello,
I have created two projects in asp .net mvc and angular. One for Front and second for admin panel. I have used custom role provider in my admin project. I want to configure front in main virtual directory and admin in sub folder as virtual directory. When i run website with front works fine, but when i run admin website which hosted as sub virtual directory, the role provider is not called. Please guide me if anyone have any idea.
What I have tried:
i have configure it in my local iis
推荐答案
这篇关于天冬氨酸。 Net自定义角色在IIS中的虚拟子目录中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!