Base solution for your next web application

Activities of "vitor lacerda"

Hi,

I need to insert or update a disconnected complex object graph.

I'm using angularjs / EF6 and use a IObjectState (interface) to define Added, Modified, Deleted and Unchanged states.

I want to define my Entities with ObjectState Interface and call a method InsertOrUpdateGraph on a Repository.

I cant extend IRepository<TEntity,TPrimaryKey> because a can access DBContext to attach object and change EntityState based on ObjectState.

Can you implement this pattern or explain how can i do this without change abp source code?

Sample implementation <a class="postlink" href="https://genericunitofworkandrepositories.codeplex.com/wikipage?title=Inserting%20a%20Complex%20Object%20Graph&referringTitle=Documentation">https://genericunitofworkandrepositorie ... umentation</a>

Thanks for your great work!

Vitor Lacerda

Answer

Hi,

you can try "mvc.jquery.datatables".

<a class="postlink" href="https://github.com/mcintyre321/mvc.jquery.datatables">https://github.com/mcintyre321/mvc.jquery.datatables</a>

My app is an Angularjs SPA and i use DTO but i need to update ViewModel like "sales order" with "sales order itens", "Customer" with "Address" (One to Many) and i need to know which Childs Objects ("Address" , "sales order itens") was added, modified, deleted and unchanged and sync with Entity (EntityState).

Hi Halil,

Can you explain the module system?

A module can contain 5 projects: Application, Core, EntityFramework, WebAPI and Web?

Imagine an application that contains a main module with entities, domain events, domain services, application services, web api, web, etc.

Now imagine that a new module is created, it will depend on the main module and will add entities, domain events, domain services, application services, web api, web, etc.

These modules will communicate using "DomainEvents"?

Should I use the embedded resource to store the frontend module views as html pages, chtml, css, js ?

You can share a simple implementation using the module system where each module can contain each of the projects like a main module?

Sorry my english.

Thank you for the great work.

I would also like to better understand the system modules.

Especially when this module contains domain entities, domain services, domain events, application services, navigations menus, views, etc ..

Thanks Halil.

I will check this sample!

Hi,

I generate a full template with module zero. I change web.config for database and run "update-migration".

Everything run ok. Database was created.

I try to run the application and when i put a user/password (admin / 123qwe) an internal error occurred.

"An internal error occurred durring your request!"

Do you know whats going on?

Thanks!

Forget!

I checked the Log.txt and the error occurred because the MSDTC service was stopped.

Hi,

Can anyone help me with this questions?

What is the best way to deploy Asp.Net Boilerplate + Zero project (SAAS) to Azure App Services and get better scalability system?

PS: My project can run on-promises too.

Of course, i will put database on SQL Database Azure service or on-promises Database.

Questions:

  1. Should i put all projects on same APP Service?

  2. Should i split projects between APP Service / API App?

If yes, What project shoud i put on App Service and API App?

Example: Web to App service , all others (Application, WebApi, Core, EntityFramework) to API App

  1. Anyone has a template project for Aspnetboilerplate+Zero with Azure integration?

  2. Anyone using Continuous Integration with VS Online?

Thanks.

Vitor Lacerda

thanks guys, I will follow the recommendation to keep in one app.

and will test the functionality of continuous integration just to know better.

Vitor

Showing 1 to 10 of 12 entries