Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "zokho"

I have found that there is a DatePickerComponent in "app/shared/common/timing/date-picker.component" that as been imported in AppCommonModule. But couldn't locate its usage anywhere within the existing code! Can someone provide me a sample of its usage in a html as of a tag?

cheers

Answer

<cite>alper: </cite> see this component

aspnet-zero-core\angular\src\app\shared\common\timing\date-picker.component.ts

Hey alper, Would you be able give me a sample of how to use the DatePickerComponent in a form? I can see that it has already been imported and exported in the AppCommonModule. But did see that it has ever been used!

Answer

Ah! of course!

Thanks!

Thanks for the response. I see what you mean by having a filter applied on showing results. But that does not really restrict users of only modifying their own entities as of someone can simply call an update API method and providing details of an entity which is for others. By the way is applicable in my case as i am using Entity Framework Core!

Any chance that I could achieve it by defining an Attribute? I mean defining a custom Attribute to be applied on each API method, which checks if the user who is about to modify an entity is the owner of it. If was not then throw an error...

How can we use localization in Dto class that implements ICustomValidate?

public void AddValidationErrors(CustomValidationContext context)
        {
            context.IocResolver.
            if (!AreAllTimesValid(this.TimesOfDay))
                context.Results.Add(new ValidationResult("TimeOfDayIsNotValid"));
        }

a sample code would be appreciated :)

Thanks for your response. With regard to the number 5 (5. The Entity framework DB commands do not work in the Package Manager Console (I am selecting EntityFramework project as of the default project drop down value). The error says: "The EntityFramework package is not installed on project". ):

I have installed EntityFramework and now receiving the following error: "No DbContext was found in assembly 'Parking.EntityFramework'. Ensure that you're using the correct assembly and that the type is neither abstract nor generic." As you have you advised I have set the startup project and have selected the EntityFramework for the Default project in the Package Console Manager

<cite>hikalkan: </cite> Hi,

We will create a module-zero included version of the template.

We did not remove anything. This is a completely new and separated template based on AspNet Core.

For HangFire, you can add it as documented in <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Hangfire-Integration">http://www.aspnetboilerplate.com/Pages/ ... ntegration</a> For Angular, we will create angular2 UI later.

Hey Ibrahim, Do you have an estimation of your plan? Module-Zero and Angular 2? Is there any place that we can see the progress on each?

Hi Ibrahim Just came across your post on twitter that you have released the new version of ABP Framework compatible with ASP .Net Core. ([http://volosoft.com/asp-net-boilerplate-v0-10-0-has-been-released/])) Good Job ;) At very first lines it has been pointed that you are still working on the Start up template and you will announce it on Twitter once finished. However, in the conclusion section it says that Documentation and Start up template both have been updated. Just created a blank project from start up template and can't see any changes with that regard though?!

Cool! Thanks for your update! any estimation on when it will be in place? Reason is I am about to start an app and wonder if it is worth delaying it till you guys finished the migration :D

that did not work!

Showing 21 to 30 of 34 entries