Hi, (Asp.net Mvc 5x and JQuery) I tried to Test my app through .Test project, it was failed. but when i try the same app in browser console the result was correct. how can i test the app through .Test project.
public class LicielJobApp_Test : AppTestBase { private readonly ILicielJobsAppService _LicielJobsAppService;
public LicielJobApp_Test()
{
_LicielJobsAppService = Resolve<ILicielJobsAppService>();
}
[Fact]
public void Should_get_jobList()
{
var job = _LicielJobsAppService.GetLicielJobs(new GetLicielJobsInput());
job.Items.Count.ShouldBe(2);
}
We success fully downloaded and it is running perfectly. We tried to develop a page like "Phone Book" and we done all step by step instructions. There is no building errors but, i am getting a server error listed below. how can i solve this?
Server Error in '/' Application. Can't create component 'LICIEL.LICIELWeb.Web.Areas.Mpa.Controllers.JobsController' as it has dependencies to be satisfied.
'LICIEL.LICIELWeb.Web.Areas.Mpa.Controllers.JobsController' is waiting for the following dependencies:
Exception Details: Castle.MicroKernel.Handlers.HandlerException: Can't create component 'LICIEL.LICIELWeb.Web.Areas.Mpa.Controllers.JobsController' as it has dependencies to be satisfied.
'LICIEL.LICIELWeb.Web.Areas.Mpa.Controllers.JobsController' is waiting for the following dependencies:
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HandlerException: Can't create component 'LICIEL.LICIELWeb.Web.Areas.Mpa.Controllers.JobsController' as it has dependencies to be satisfied.
'LICIEL.LICIELWeb.Web.Areas.Mpa.Controllers.JobsController' is waiting for the following dependencies: