Base solution for your next web application

Activities of "adudley"

Question

Hi There

having just downloaded 6.3.1, the lib folder is missing, so all the java files are missing for the web project.

Here are some screenshots..

for the public website, it looks like this

so, I just can't figure out how to get the packages to download.

I read here: https://support.aspnetzero.com/QA/Questions/4401 (problem 3)

however, how do I run gulp manually?

I've tried a restore packaged on the npm folder (which isn't bower, but the dependancies are all in npm rather than bower in the mvc app).

Thanks for your assistance.

Answer

Thanks for that.

For the the next poor soul....

now you have a lib folder with just the js files in.

You then need to rerun the other tasks, to create the .min versions of files.

Hi can you resolve my github request, i still don't have access to the private repositories (after adding my username under manage on your website)

Me Neither.

When I visit https://github.com/orgs/aspnetzero/invitation it clearly says no invitation found (my github account name is AdamDudley)

Can you please assist.

Thanks

Hi

would you be able to point me in the right direction, or preferrably to some code that

For Asp.NetCore

  1. starts a console app
  2. loads up all the apb IoC stuff
  3. enables entity framework entities that already exist as part of the standard template, along with the Core (domain) layer so I can put common code to use
  4. Reads anything from any table as an example or call some common Core code that reads.

I've looked in a few places. but can't quite see how this fits together yet. https://github.com/aspnetboilerplate/aspnetboilerplate/blob/e0ded5d8702f389aa1f5947d3446f16aec845287/test/Abp.Zero.SampleApp.EntityFrameworkCore.ConsoleAppTest/Program.cs

and https://github.com/aspnetboilerplate/aspnetboilerplate-samples/tree/master/AbpEfConsoleApp

is that the answer, to re-create the entity model? like in the AbpEfConsoleApp ?

thanks for your help

Hi
sorry no i cant get this to work, im pretty new to the Core way of starting applications

asp net boilerplate has a full example of how to get hangfire working in a console app

that would be great if you guys have that same thing but using Core

is it possible to het this working as a webjob and ise existing entities? ive hired someone whos ised asp net boilerplate for many more years than me and he's also struggling considerably so far

thanks for any assistance

just want to use your great framwork but on a separate background process

sounds like your db is in a deadlock situation

use sp_who2 to get all running transactions and it will show you if they are deadlocked

you cant delete from a table and insert at the same time

you can only have multiple readers not writers

if yiu have a writer then you cant have amy other readers

above statements are general simplifications but mostly hold true in sql server

Hi @ismcagdas yes thanks i did, but since it dosn't use the Core version of asp net boilerplate, is not quite there. Tried to convert it but coudn't get it there.

Given the core version is now the only version asp net zero are adding to in the future (https://docs.aspnetzero.com/documents/zero/latest/Version-Differences) you'd think the team would update the samples or add to them maybe?

Just to let you know, having mapped out all the dependencies for abp and abp zero, then looking into modules, it makes more sense now.

I've a console app working with dependency injection... infact, the simplest thing to say would be...

just copy the .migrations project

I'll be able to fit in webjobs into a working console app without much trouble I would think. I'll let you know.

Hello, I am currently attempting to complete the PhoneBook tutorial (Core + Angular) using the single project on VS 2017. I’m hitting a problem at the point where I have to delete a Person and the problem seems to be that the client and server are not in sync.

I have gone through my code twice and even compared it to the github demo. Everything is the same but I receive the error:

TS2339 (TS) Property 'id' does not exist on type 'PersonListDto'.

Which is occurring at phonebook.component.ts:

deletePerson(person: PersonListDto): void {
        this.message.confirm(
            this.l('AreYouSureToDeleteThePerson', person.name),
            isConfirmed => {
                if (isConfirmed) {
                    this._personService.deletePerson(person.id).subscribe(() => {
                        this.notify.info(this.l('SuccessfullyDeleted'));
                        _.remove(this.people, person);
                    });
                }
            }
        );
    }

If I look at service-proxies.ts, PersonListDto does not contain an ‘id’ attribute. It looks like this:

export class PersonListDto implements IPersonListDto {
    name!: string | undefined;
    surname!: string | undefined;
    emailAddress!: string | undefined;

    constructor(data?: IPersonListDto) {
        if (data) {
            for (var property in data) {
                if (data.hasOwnProperty(property))
                    (<any>this)[property] = (<any>data)[property];
            }
        }
    }

    init(data?: any) {
        if (data) {
            this.name = data["name"];
            this.surname = data["surname"];
            this.emailAddress = data["emailAddress"];
        }
    }

    static fromJS(data: any): PersonListDto {
        data = typeof data === 'object' ? data : {};
        let result = new PersonListDto();
        result.init(data);
        return result;
    }

    toJSON(data?: any) {
        data = typeof data === 'object' ? data : {};
        data["name"] = this.name;
        data["surname"] = this.surname;
        data["emailAddress"] = this.emailAddress;
        return data; 
    }
}

I ran refresh.bat successfully after restarting the server side project as the demo explains and deleting the person on the client side works just fine. Is the refresh.bat file not updating correctly?

Showing 1 to 10 of 27 entries