Base solution for your next web application

Activities of "dalepalmer"

Question

Hi,

we are developing a solution that requires a log-in on the public site (Help directory and a few other bits including pricing that we want to gather log-in details for before allowing access).

At this point we don't want to redirect to external or other site for registration or login. We are using latest build (5.0.2) Core & JQuery (.net framework 4.6.1.

I've tried to copy the Account controller, associated views and registered services/config into the public project, but am getting the following error when trying to access the public login page:

An unhandled exception occurred while processing the request.

HandlerException: Can't create component 'LandHuddle.CrowdSite.Web.Controllers.AccountController' as it has dependencies to be satisfied.

'LandHuddle.CrowdSite.Web.Controllers.AccountController' is waiting for the following dependencies:

  • Service 'LandHuddle.CrowdSite.Url.IAppUrlService' which was not registered. Castle.MicroKernel.Handlers.DefaultHandler.AssertNotWaitingForDependency()

I can't see where/how this service is registered in the mvc project and can't replicate into the public project.

Can anyone please help?

Thanks in advance

Dale

.net Core with JQuery

Not too sure where to start on doing it to be honest.

Is it an override just for the controller? Just a bit of guidance would be really appreciated.

Thanks

Dale

Could you do this to redirect to different login pages based on area?

If so how?

Thanks in advance

Dale

Showing 1 to 4 of 4 entries