Base solution for your next web application

Activities of "kacey"

Just run "update-database" command on the Package Manager Console on visual studio and make sure the EFCore project is selected.

Please I need help with this problem. It's delaying delivery of a proof of concept I'm creating. Please can someone suggest how I can get to the root of this? The data is gotten from the web api but on getting to the client, the error comes up. No message is logged on the console neither is it written to the

log.txt

file.

PLEASE HELP!

Sure.

GoodsRequest Entity

public class GoodsRequest : FullAuditedEntity
    {
        public int CategoryId { get; set; }

        public int CategoryItemId { get; set; }

        public int? BrandId { get; set; }

        public string PreferredBrand { get; set; }

        public int ProductId { get; set; }

        public int Quantity { get; set; }

        [StringLength(10, MinimumLength = 2)]
        public string Unit { get; set; }

        [StringLength(50, MinimumLength = 10)]
        public string PaymentTerm { get; set; }

        public bool ShouldBeDelivered { get; set; }

        [StringLength(150)]
        public string DeliveryLocation { get; set; }

        public long CreatedBy { get; set; }

        [NotMapped]
        public GoodsRequestStatus Status { get; set; }

        [Column("Status")]
        public string StatusString
        {
            get
            {
                return Status.ToString();
            }
            private set
            {
                Status = value.ParseEnum<GoodsRequestStatus>();
            }
        }

        public virtual Category Category { get; set; }

        public virtual CategoryItem CategoryItem { get; set; }

        public virtual Brand Brand { get; set; }

        public virtual Product Product { get; set; }

        public virtual User UserCreator { get; set; }

        public virtual ICollection<GoodsQuote> GoodsQuotes { get; set; }
    }

GoodsRequestDto

[AutoMapFrom(typeof(GoodsRequest))]
    public class GoodsRequestDto : FullAuditedEntityDto
    {
        public int CategoryId { get; set; }

        public int CategoryItemId { get; set; }

        public int? BrandId { get; set; }

        public string PreferredBrand { get; set; }

        public int ProductId { get; set; }

        public int Quantity { get; set; }

        public string Unit { get; set; }

        public string PaymentTerm { get; set; }

        public bool ShouldBeDelivered { get; set; }
        
        public string DeliveryLocation { get; set; }

        public long CreatedBy { get; set; }

        public GoodsRequestStatus Status { get; set; }

        public string StatusString { get; private set; }
        

        public virtual CategoryDto Category { get; set; }

        public virtual CategoryItemDto CategoryItem { get; set; }

        public virtual BrandDto Brand { get; set; }

        public virtual ProductDto Product { get; set; }

        public virtual UserListDto UserCreator { get; set; }

        public virtual ICollection<GoodsQuoteDto> GoodsQuotes { get; set; }
    }

How do I disable this? I need the application to be able to start from the default page and can later login to do some specific tasks.

Thanks for your assistance.

I found a solution to it and it's a strange one. Once I made the web project the startup project and tried again, it executed successfully. I don't know why, but it worked.

MVC 5.x with angularJS.

It doesn't exist. I made sure of it. And it's a pretty new project downloaded from the site and I was running it for the first time. I also downloaded another project with a different name entirely and it gave me the same problem.

My apologies for responding now. I didn't get a notification for he last response until I decided to check here. I installed it according to the steps you gave. But it appears like I am missing the implementation and it's frustrating. Please could you provide a sample you used for aspnetzero so I can follow? It will really help me a lot and ease my pain.

Many thanks.

Thanks for your response.

Actually I didn't get any error on the screen. But what I noticed was after I added the extension and applied it on a view that has data to be displayed, all views on the application where not displaying any form element, just the layout view only including the page I tried to implement the ui-grid.

I added the extension from nuget directly on visual studio. So I assume, it added all the required files supported.

Showing 1 to 10 of 16 entries