Base solution for your next web application

Activities of "ismcagdas"

Hi,

I have downloaded two fresh templates from <a class="postlink" href="https://aspnetzero.com/download">https://aspnetzero.com/download</a> both SPA (with angularJs) and MAP (witn jQuery).

I tried before building projects and publish didn't find dbContexes. But after a successfull build publish found dbContexes successfully. Can you try that ?

Hi,

According to our tests, when we login from the second tab, it overrides the tenantId and when we refresh the first tab it gets second tab's data (I have tried with ABP 1.0 version referenced project).

About the background job scenario, can you explain it in more details ? Why do you need TenantId for your background job ? Maybe instead of running a backgroundJob for each tenant, you can run a single backgroundJob and check for the tenants who fits your email sending criteria in every 24 hours.

It is just an idea :), it might not fit into your scenario, we can discuss better after your explanation.

Hi,

I also had this problem a few times but I couldn't catch it when I want to. Do you know how to reproduce this problem ? Or does it happen randomly ?

Hi,

You can implement a custom solution like this. name your main menu item from "Frontend.Solucao1" to "Frontend.Solucao" and in _Header.cshtml instead of checking the equality of currentPageName like this

menuItem.Name == Model.CurrentPageName ? "active" : ""

change it to

menuItem.Name == Model.CurrentPageName || Model.CurrentPageName.StartsWith(menuItem.Name) ? "active" : ""

In this way both submenuItem and parent menu item will be selected. But you have to be careful when naming your menu items according to this logic.

And of course you have to set ViewBag.CurrentPageName to page name in your cshtml files.

Hi,

You can login as host admin (leave tenancyName empty) and configure SMTP settings on the Adminisstration > Settings page in Email (SMTP) tab.

For the azure, there is nothing special about ASP.NET Zero.

Hi,

Thanks for the information. I will try this and get back to you soon.

By the way, I haven't tried this but if your project is ASP.NET Core MVC, the nyou can take a look at this stackoverflow question <a class="postlink" href="http://stackoverflow.com/questions/35324156/automatically-execute-migrations-when-publishing-asp-net-core-app">http://stackoverflow.com/questions/3532 ... t-core-app</a>

Hi,

Which version did you download ? ASP.NET MVC 5.x / Angularjs 1.x or ASP.NET CORE MVC ?

I have tried with both and it does not work for ASP.NET CORE MVC version but it worked for ASP.NET MVC 5.x / Angularjs 1.x version. We haven't add anything related to this into project template. I think it's related to ASP.NET Core tooling which is not very good at the moment.

Hi,

There must be a detailed log about your exception in Logs.txt file (either in Logs folder or App_Data folder under your web project). Can you share that as well ?

And it would be nice if you can also share the code for getting Terms from database.

Hi,

A solution is mentioned here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/769">https://github.com/aspnetboilerplate/as ... issues/769</a>. You can also change ContractResolver in your WebApiModule's initialize method like this.

Configuration.Modules.AbpWebApi().HttpConfiguration.Formatters.JsonFormatter.SerializerSettings.ContractResolver = new DefaultContractResolver();
Showing 12201 to 12210 of 12740 entries