Base solution for your next web application

Activities of "ismcagdas"

Hi,

I deployed our solution to Azure by importing azure publish profile to visual studio. For the first time it took quite a lot time (I think it's because of metronic files).

What error do you get during your pbulish ? Do you have a specific error message ?

There must be detailed logs in Logs.txt file under your web project. Can you send error details in that file ? And try without parameterless constructor. It should not be necessary.

Hi,

I'm not totaly sure but where do you set the TenantId of newly created instution ?

Can you try to set it's tenantId like this and see if it does works ?

var defaultInstitution = Institution.CreateInstitutionForNewTenant(tenant.Name);
defaultInstitution.TenantId = tenant.Id; // tenant.Id is the newly created tenant's Id
await _institutionAppService.CreateInstitution(defaultInstitution);

Hi,

If you are using Visual Studio 2015, It's better to update allp Abp* packages with nuget package manager UI. For older versions of visual studio I use below script in Package Manager Console.

get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package

Of course, you need to implement changes in each version of ABP and ABP Zero releases :) which is the harder part. For that changes, you can check releases on github. <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases">https://github.com/aspnetboilerplate/as ... e/releases</a> <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/releases">https://github.com/aspnetboilerplate/mo ... o/releases</a>

Hi,

You can use use most of the existing codes but it will require some changes.

  • You can move your Entities to *.Core project. I dont know your entity structure but it's better if you can derive them from ABP's Entity class.
  • You will need to create ApplicationService classes in *.Application project and call your DB related code in there.
  • You can use SP calls but it might require some work to do. It's better to create custom repositories and call SP related code in it. <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/Repositories#custom-repositories">http://aspnetboilerplate.com/Pages/Docu ... positories</a>.

Please let us know if you have any problems during this migration. By the way, you can write to premium forum section.

Hi,

Can you share your controller's code ?

Answer

Hi,

You shouldn't use entities in your DTOs. Define a dto class for Educator and use it instead of

public virtual Educator educator { get; set; }

in CourseDetailListDto.

Answer

Hi,

The reason you are seeing an empty page is, we are using ASP.NET's app.UseDeveloperExceptionPage(); for development time. And I just realized that it does show an empty page for 404 error.

There are two reasons your controller does not work.

  1. You should add [Area("Venue")] attribute to your controller in order to see it under Venue area url.
  2. You need to register your Controller to dependency injection. You can derive it from either ITransientDependency or better "[YourProjectName]ControllerBase" class.

I know that some parts of documentation becomes out of date sometimes but we are trying to keep them up to date.

About "onboarding" new developers, the step by step documentations of AspNet Zero is the best place to start (PhoneBook sample app). After that you can suggest your developers to read ABP documentation when they have time, it will be very helpful <a class="postlink" href="http://aspnetboilerplate.com/Pages/Documents/">http://aspnetboilerplate.com/Pages/Documents/</a>.

And we are always here to help :).

Hi,

Actually we have tried AspNet Zero with Azure and AWS on VMs. I think that's way we didn't faced this problem before.

We will be very happy if you share your results.

By the way, the solution I have sended you is not doing on the data in order to protect it. You can implement a custom Cryptography logic in Protect/Unportect methods.

Thanks for your effort.

Showing 12071 to 12080 of 12740 entries