Base solution for your next web application

Activities of "TomLeonard"

Question

Hello

Could you specify Setup Page usage scenario? I have downloaded clean app (core + angular).

  • Is it correct I can go to app/admin/install and setup database from here? I'm not able to open this page because of error on GetCurrentLoginInformations api call
Cannot open database "..." requested by the login. The login failed.
  • Deployed app has enabled anonymous api/services/app/Install/GetAppSettingsJson Is it by design or it should be disabled after deploy?

Thanks

ok, v5.0.2 is available so I will check here. Thanks.

Thanks! Great news.

I see v5.0.0 is avilable. So should I wait for v5.0.1 in this case?

I have downloaded 4.6.1 Core + Angular a couple of minutes ago. Looks like Web.Host has "IdentityServer": { "IsEnabled": "false",

also app.UseIdentityServerAuthentication is commented.

could you check?

Thanks! Could you also specify when or in what version Identity Server IsEnabled will be set to TRUE again? It looks like Identity Server api has changed now and requires additional integration efforts. (I would like to use your implementation in order to minimize the merging in the future)

Thanks very much for the prompt reply. The link you sent gives me a 404 , but no matter. I will check it out.

We are using Angular and .NET Core version and would like to integrate Identity Server 4.0. We see in the code ; /* We can not use app.UseIdentityServerAuthentication because IdentityServer4.AccessTokenValidation * is not ported to asp.net core 2.0 yet. See issue: <a class="postlink" href="https://github.com/IdentityServer/IdentityServer4/issues/1055">https://github.com/IdentityServer/Ident ... ssues/1055</a> * Once it's ported, add IdentityServer4.AccessTokenValidation to Web.Core project and enable following lines: */

ID 4 seems to be ported to Core 2.0 . Any timeline or estimate on release for APSNETZero CORE/Angular version to support this ? Thanks in advanced.

Thanks!

Question

Hello

could you help with the unit tests issue it works in product and unit tests:

var tags = await _tagRepository.GetAll().ToListAsync();
var tagsDto = ObjectMapper.Map<List<TagDto>>(tags);

but if I want to optimize for projections like this

var tagsDto = await _tagRepository.GetAll().ProjectTo<TagDto>().ToListAsync();

it asks for IConfigurationProvider in unit tests (but ok in product).

Mapper not initialized. Call Initialize with appropriate configuration. If you are trying to use mapper instances through a container or otherwise, make sure you do not have any calls to the static Mapper.Map methods, and if you're using ProjectTo or UseAsDataSource extension methods, make sure you pass in the appropriate IConfigurationProvider instance.

Could you advise how to setup it in tests.

Thanks!

Ignore this issue please. I went over to another dev machine and it worked fine. Issue resolved, problem with that VS instance. Thanks !

Showing 21 to 30 of 31 entries