Base solution for your next web application

Activities of "shimulcse"

Hi,

Did you removed option "Submenu toggle" from Menu tab of Visual Settings.

After executing below command dotnet AspNetZeroRadTool.dll Brand.json

An error occured. : Could not find a part of the path '../AHL/ahlbackend/AspNetZeroRadTool\FileTemplates\Server'.

Probably problem showing for directory structure difference between WINDOWS & MAC ( Slash & BackSlash)

Hi,

Created a project on v5.3.0 using ASP.Net Core & Angular.

Application both frontend & backend running on the windows machine correctly but not showing login page on the MAC machine. Showing Internal Error. Backend swagger running on 5000 port also login using Authorize option in swagger. From network found that >http://localhost:5000/AbpUserConfiguration/GetAll returning error having "message":"An internal error occurred during your request!"

`http://localhost:5000/AbpUserConfiguration/GetAll`

{"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"An internal error occurred during your request!","details":null,"validationErrors":null},"unAuthorizedRequest":false,"__abp":true}

Need your urgent help.

I want to change the default Metronic theme to "Admin 3".

Is there any document which will help me to do that?

I am using ASP.NET CORE & Angular (v4.1.4) with .NET Core 1.1 framework.

Download theme (Version: metronic_v4.7) from your provided GitHub link.

Hi, I have two entity Country & CountryPort

A country will have one or more CountryPort.

Exactly did same for the parent-child relationship as per your suggested documents. ( [https://www.aspnetzero.com/Documents/Developing-Step-By-Step-Angular#changing-getpeople-method]))

Without adding Include extension method to the query I am not getting CountryPort data (showing NULL) within Country.

var countries = _CountryRepository.GetAll().Include(c=> c.CountryPorts);

Without adding Include I am getting NULL in countries.CountryPorts

Also, didn't find any option to get CountryPorts for single Country data

var myCountry = _CountryRepository.Get(input.Id);

Will you please suggest.

Thanks Shimul Dey

Hi, I am using ASP.NET Core & Angular v4.0.0 with .NET Core 1.1 framework

I have an API named CreateCountry as like below

public async Task CreateCountry(CreateCountryInput input)
        {
            var country = input.MapTo<Country>();            
            await _CountryRepository.InsertAsync(country);
        }

Test API for CreateCountry as like below

[Fact]
        public async Task Should_Create_New_Country()
        {
            //Arrange

            //Act
            var input = new CreateCountryInput
            {
                CountryCode = "ARG",
                CountryName = "ARGENTINA"                
            };
            await _CountryAppService.CreateCountry(input);

            //Assert
            var allCountries = _CountryRepository.GetAllListAsync();
            allCountries.ShouldNotBeNull();
            var newlyInsertCountry = _CountryRepository.GetAllList().FirstOrDefault(t => t.CountryCode == "ARG");
            newlyInsertCountry.CountryName.ShouldBe("ARGENTINA");
        }

When checking the Test getting an error as below <span style="color:#BF0000">System.InvalidOperationException : 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.</span>

Am I missing something to add?

Kindly Suggest.

Thanks Shimul

Showing 1 to 6 of 6 entries