Category : asp.net-mvc

When copying the application content into the container, it works. But if rather than copying, the folder is mapped to the folder in the host, I get 401 from IIS. So, this works # Dockerfile FROM microsoft/aspnet COPY ./src/publish/ /inetpub/wwwroot # ——————————— # docker-compose.yaml version: ‘3.8’ services: webapp: build: . ports: – "8080:80" Browse to ..

Read more

I am new for Active Directory authentication. Need to create login using active directory. Please help me with explained example or link where I can learn to create active directory login My web.config file: <authentication mode="Forms"> <forms name=".ADAuthCookie" loginUrl="~/Service/Index" timeout="45" slidingExpiration="false" protection="All" /> </authentication> <trust level="Full" originUrl="" /> <membership defaultProvider="ADMembershipProvider"> <providers> <clear /> <add name="ADMembershipProvider" ..

Read more