I use rimraf ([https://github.com/isaacs/rimraf])) to delete node_modules. Deletes stuff in node_modules when everything else fails.
Thanks aaron :D I did try to use the attributes but couldn't figure out which reference I was missing - thank you very much for pointing it out!
Is there a way to make swagger map actions/methods that start with "Edit" to PUT? Some configuration option maybe? I can't find any information on that.
I started working with AspNetZero by following your step-by-step-guide using "Edit" all the time. I just encountered the fact that swaggers maps them all to POST. Changing every action/method to start with "Update" is quite some task at the point where i am now ...
FYI
In case you are using Bootstrap 3 Datetimepicker ([http://eonasdan.github.io/bootstrap-datetimepicker/])) and want to work with a specific timezone, there is a timeZone-option which is not documented ([https://github.com/Eonasdan/bootstrap-datetimepicker/issues/2118])) but can be used to set the datetimepicker's timezone to UTC (or whatever you want to use).
It's very useful in case you want to initialize a datetimepicker with a pre-set moment-object. Without this timeZone-option set there can occur really confusing results, like mismatching display- and date-values.
Hi @ismcagdas,
great to hear that :D
Yes, they are all parts of the same project - I just want to split up the client-side by use-case to keep the project simple!
Thanks a lot!
Hi,
<cite>ismcagdas: </cite> Hi,
Normally adding second app's url here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/master/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Host/appsettings.json#L14">https://github.com/aspnetzero/aspnet-ze ... s.json#L14</a> should allow second app to access host project.
But host app is designed to contain only one ClientRootAddress and even if you access more than one app to host, some functions will work according to this value. For example password reset and email actiovation email will contain the value for ClientRootAddress.
Thanks.
Is there a limit to the number of client applications we can create that way? Or can we create as many as we need?
The scenario I'm talking about is the following:
Main AngularUI project for administrative purpose (host and tenant/client) and the creation of content (tenant/client) Copy of AngularUI project for some public stuff (e.g. a website that is used to publish some tenant-created content to be viewed by public) without any authentication/authorization needs Copy of AngularUI project for some other public stuff (e.g. another website that is used for some special purpose, like digital/public signage using tenant-created content) also without any need for authentication/authorization
Is it okay with licensing?
Thanks
I just finished the upgrade from 4.6.1 to 5.0.2 - and encountered the same exception on database-update. Since it was mentioned that this exception occurs because of solution's name (e.g. when it has been renamed) I had a closer look at the solution file. After the upgrade there were two solution files in my project Folder, the old one named Company.ProjectName and the new one named Company.ProjectName.All. So I tried to simply copy the content of the newer solution file into the old solution file, renaming every occurence of Company.ProjectName.All to Company.ProjectName and use this solution file instead of the new one. Still, the exception was thrown. Then I recognized, that WebContentDirectoryFolder.CalculateContentRootFolder() was looking for a solution file named Company.ProjectName.Web.sln - but that didn't exist anywere in my project folder. So I changed that string to look for Company.ProjectName.sln and the exception did not occur anymore. Strangely though, the naked update-project does not have any Problems with Company.ProjectName.Web.sln, only after I merged it with my development-branch the problem occured - so this made me wonder even more. I had a look into the update-project folder and there it was: the Company.ProjectName.Web.sln solution file! I copied the file to my development-branch folder, and nowWebContentDirectoryFolder.CalculateContentRootFolder() can find Company.ProjectName.Web.sln without problems. Long story short: Version Control had no idea of the missing solution file. All's well that ends well.
Aaaah, I did it : )
I was totally right with how I added the tabdrop-library to the angular project - I just did the .tabdrop(); on the wrong element (has to be done on the ul-element instead of the containing tabset-element) ... my bad!
Cheers!
Hi!
I want to use bootstrap-tabdrop ([https://github.com/jmschabdach/bootstrap-tabdrop])) for a tab-set (Core, Angular). I added the library to src/assets/bootstrap-tabdrop/... and also added entries to typings.d.ts and .angular-cli.json but no success... I have to admit I don't really know how to add a third-party library correctly - so, I just had a look at how it's done for bootstrap-datetimepicker and tried to reproduce that. But I might be missing something.
Any tips on how to make this work?
Thank you!
Oh, I just started the project the first time today and now everything works as expected. So it seems there was some sort of caching problem - though I did make sure to clear the cache a couple of times yesterday... Well, next time I will restart the whole browser just to be sure!