Base solution for your next web application

Activities of "mikemey01"

Hi - with the latest release of .net core v3.3 i see that the solution was converted to VS2017 specifications (migrating project.json to .csproj etc..).

This version will not work with VS2015, correct?

Do EF migrations work from the package manager console in v3.3? How come earlier versions do not work from the package manager console and instead need to use cmd line dotnet ef xx calls?

Thanks,

Mike

Hi - How come there is a Core and Web.Core project in the Core/jQuery version? In the samples on github I don't see the web.core - what's its purpose?

Thanks.

Hi, I've read some of the other threads about changing from the default (layout4) theme used in ASP.NET Zero to the default Metronic layout (layout1) and I'm having some issues in the Core/jQuery solution.

The previous thread I read was here: #1860

I changed the _Layout.cshtmal file to point to the correct theme path, visually it updated but the "Administration" menu won't un-collapse. There is no sidebar.cshtml file for me to update in the core solution - where do I find these files to make the updates?

Thanks,

Mike

Hi - In the .NET Core step-by-step guide there is a section for "SAVING THE PERSON" where the _CreatePersonModal.js file is implemented. I understand that the this.init function is invoked when the modal dialog opens and the this.save function when the save button is pressed. What I don't understand is where the invocation happens.

For instance, when clicking to create a new person, there is a jquery .click event that's registered in the index.js file that fires the modalmanager.open function. That makes sense to me, but I don't see where the this.init and this.save in the _CreatePersonModal.js file are invoked from. Is it in the save-button css class?

Thanks.

That's exactly what I needed, thank you!

Question

Hi there -

While working through the .NET Core step-by-step guide I added the class permission decoration and ran the project. It seems like it throws the correct error, but not as a pop-up dialog, more as an application error. Please see attached. This isn't normal, correct?

I've added AppPermissions.cs: public const string Pages_Tenant_Phonebook = "Pages.Tenant.Phonebook"; AppAuthorizationProvider.cs: pages.CreateChildPermission(AppPermissions.Pages_Tenant_Phonebook, L("Phonebook"), multiTenancySides: MultiTenancySides.Tenant);

And decorated the PersonAppService class with: [AbpAuthorize(AppPermissions.Pages_Tenant_Phonebook)]

Thanks.

Hi -

When adding IMustHaveTenant and TenantId field to an entity, then creating the migration, then running "dotnet ef database update" against a new database returns the error: "Can not set TenantId to 0 for IMustHaveTenant entities!"

If I run the database migrations without any entities utilizing IMustHaveTenant it works fine. If I then add the IMustHaveTenant to an entity and run the migrations it works fine. It's only when IMustHaveTenant is present when migrating for the first time to a new database instance. I have set the default in the migration for the TenantId column as below:

AddColumn("dbo.PhoneBookPersons", "TenantId", c => c.Int(nullable: false, defaultValue: 1));

Thanks,

Mike

Quick update - it looks like it had something to do with the seed data instead of the migration it self. I removed the seed data (the data that was provided in the development step-by-step guide) and it ran the migration flawlessly. I'm not sure why the seed data would be trying to insert 0 into the PbPersons.TenantId column but it was. I'll investigate further.

Hi -

I have the .NET Core/jQuery (VS 2015 version) that I'm trying to publish. When I right click on the .MVC project and hit Publish, it immediately says "Build has been cancled" and nothing else happens. No Errors, no other progress. Please see attached screen shot.

Thanks,

Mike

I updated to VS 2017, converting from project.json to .csproj methodology - seems to have fixed the issue. Not sure what the root cause was for publishing in VS 2015 still but I'm happy with the outcome.

Thanks,

Mike

Showing 1 to 10 of 25 entries