Base solution for your next web application

Activities of "timmackey"

In the Acme.PhoneBookDemo project Should_Create_Person_With_Valid_Arguments() test fails, and CreateNewPerson dialog also fails.

In file PhoneBookDemo\aspnet-core\src\PhoneBookDemo.Application\Persons\PersonAppService.cs I made the following change to get the test to pass and the dialog to work.

    public async Task CreatePerson(CreatePersonInput input)
    {
        //Person person = ObjectMapper.Map<Person>(input);        // remove

        // add
        Person person = new Person
        {
            Name = input.Name,
            Surname = input.Surname,
            EmailAddress = input.EmailAddress
        };
        // end add

        await _personRepository.InsertAsync(person);
    }

If the above change is not the preferred solution, please advise.

I am taken to the main (tenant) dashboard when I login. How do I get to the admin (host) dashboard?

Why does AspNetZero not distribute their framework with all NuGet packages up to date?
Either AspNetZero does the work one time, or every customer (1000's ?)does the work.

Unable to update NuGet package Xamarin.Android.Support.Design for Mobile solution.

The following error occurs: Could not install package 'Xamarin.Android.Support.Animated.Vector.Drawable 27.0.2'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v8.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

When clicking 'Save' for the 'Change profile picture' dialog an Exception is thrown when .jpg image size is 1.06 MB. Log file details follow:

INFO 2018-03-13 19:31:16,205 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/Profile/UploadProfilePicture">http://localhost:22742/Profile/UploadProfilePicture</a>
INFO 2018-03-13 19:31:16,205 [3 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-03-13 19:31:16,205 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 0.2295ms 204 INFO 2018-03-13 19:31:16,213 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 POST <a class="postlink" href="http://localhost:22742/Profile/UploadProfilePicture">http://localhost:22742/Profile/UploadProfilePicture</a> multipart/form-data; boundary=----WebKitFormBoundaryaG2et5LvzCzDF9Cd 1120510 INFO 2018-03-13 19:31:16,213 [8 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-03-13 19:31:16,214 [8 ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token. INFO 2018-03-13 19:31:16,215 [8 ] uthentication.JwtBearer.JwtBearerHandler - AuthenticationScheme: Bearer was successfully authenticated. INFO 2018-03-13 19:31:16,219 [8 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-03-13 19:31:16,219 [8 ] uthorization.DefaultAuthorizationService - Authorization was successful for user: admin. INFO 2018-03-13 19:31:16,220 [8 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method ngTTM.Web.Controllers.ProfileController.UploadProfilePicture (ngTTM.Web.Host) with arguments ((null)) - ModelState is Valid INFO 2018-03-13 19:31:16,429 [3 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2018-03-13 19:31:16,429 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action ngTTM.Web.Controllers.ProfileController.UploadProfilePicture (ngTTM.Web.Host) in 209.6691ms INFO 2018-03-13 19:31:16,431 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 217.2792ms 200 application/json; charset=utf-8 INFO 2018-03-13 19:31:16,468 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET <a class="postlink" href="http://localhost:22742/Temp/Downloads/userProfileImage_2.jpg?v=1520994676454">http://localhost:22742/Temp/Downloads/u ... 0994676454</a>
INFO 2018-03-13 19:31:16,468 [8 ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/Temp/Downloads/userProfileImage_2.jpg'. Physical path: 'C:\Users\Tim\Documents__ngTTM\src\ngTTM.Web.Host\wwwroot\Temp\Downloads\userProfileImage_2.jpg' INFO 2018-03-13 19:31:16,497 [42 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 28.7071ms 200 image/jpeg INFO 2018-03-13 19:31:42,468 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS <a class="postlink" href="http://localhost:22742/api/services/app/Profile/UpdateProfilePicture">http://localhost:22742/api/services/app ... ilePicture</a>
INFO 2018-03-13 19:31:42,468 [8 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-03-13 19:31:42,468 [8 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 0.4026ms 204 INFO 2018-03-13 19:31:42,495 [3 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 PUT <a class="postlink" href="http://localhost:22742/api/services/app/Profile/UpdateProfilePicture">http://localhost:22742/api/services/app ... ilePicture</a> application/json 76 INFO 2018-03-13 19:31:42,496 [3 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-03-13 19:31:42,537 [3 ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token. INFO 2018-03-13 19:31:42,537 [3 ] uthentication.JwtBearer.JwtBearerHandler - AuthenticationScheme: Bearer was successfully authenticated. INFO 2018-03-13 19:31:42,543 [3 ] pNetCore.Cors.Infrastructure.CorsService - Policy execution successful. INFO 2018-03-13 19:31:42,549 [3 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method ngTTM.Authorization.Users.Profile.ProfileAppService.UpdateProfilePicture (ngTTM.Application) with arguments (ngTTM.Authorization.Users.Profile.Dto.UpdateProfilePictureInput) - ModelState is Valid ERROR 2018-03-13 19:31:42,876 [42 ] Mvc.ExceptionHandling.AbpExceptionFilter - Out of memory. System.OutOfMemoryException: Out of memory. at System.Drawing.Bitmap.Clone(Rectangle rect, PixelFormat format) at ngTTM.Authorization.Users.Profile.ProfileAppService.<UpdateProfilePicture>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextExceptionFilterAsync>d__23.MoveNext() INFO 2018-03-13 19:31:42,877 [42 ] etCore.Mvc.Internal.ObjectResultExecutor - Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext. INFO 2018-03-13 19:31:42,877 [42 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action ngTTM.Authorization.Users.Profile.ProfileAppService.UpdateProfilePicture (ngTTM.Application) in 333.3698ms INFO 2018-03-13 19:31:42,877 [42 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 382.3609ms 500 application/json; charset=utf-8

Cannot login. When attempting to change tenant, clicking the 'Save' button causes Save and Cancel buttons to flicker, and dialog does not close.

When I click the Home icon I see the board index. The box below says "This board has no forums.". Then there are the statistics. I am subscribed to the "ASP.NET Zero Support" forum.

At present I must select "View your posts" from the "search" dropdown. Then at the bottom of that page select the "ASP.NET Zero Support" forum in the "Jump to:" list, then click "Go". Whew! All that just to get to the "New Topic" button.

TypeScript Build tab in *.Web.Host project properties says "One for more tsconfig.json files detected. Project properties are disabled." There is only 1 tsconfig.json file at root level for this project. There are many tsconfig.json files in sub-folders for this project.

When running *.Web.Host, tooltip for breakpoint says "The breakpoint will not currently be hit. No symbols have been loaded for this document.

TypeScript Build tab in Properties for *.Web.Host has "Generate source maps" checked. directories are not checked and empty.

The solution compiles with no error. However, cannot login. When attempting to change tenant, clicking the 'Save' button causes both buttons to flicker, and dialog does not close.

Showing 101 to 110 of 113 entries