ASP.NET Zero Version 12.0.1 (ASP.NET Core & Angular)
I upgraded my project from ASP.NET Zero V 7.0.0 to V 12.0.1 and have severe styling problems. For example, previously I used the below style for the page sub-header: While in the current version (Version 12.0.1 Angular CLI 15.1.6) the page header is changed to the below style. Thus, the kt classes (for example kt-subheader kt-grid__item) are not working and I should change my HTML code line by line which is really unacceptable.
Please advise whether there is any way to use the previous styles in the current version which saves lots of my time.
VS 2017 15.3.3 ABP core and Angular 5.0.4
downloaded and extracted the solution, opened All.sln and build, but while restoring the nuget packages the package manager errors in all the projects:
Package System.Text.Encoding.CodePages 4.4.0 is not compatible with netcoreapp2.0
Ideas, the google was no help
I have tested these changes, and has resolved the issue.
Thanks,
Brent
Weird, I tested adding a Webapi Controller using right-click Add Controller. First thing Visual Studio 2017 did was put Microsoft.VisualStudio.Web.CodeGeneration.Design (and all it's multiple dependencies) back into the Host project. then I had to attempt to create a controller a second time to add the controller, which worked.
So.... remove it in order to get Nuget to restore the packages in the solution. then, if you wish to generate the controllers it will automatically add back in these dependencies.
Personally, I will create the controller myself as the scaffolding doesn't inherit from <yourapp>ControllerBase.
I'm not sure how this will impact builds using a CI process that automatically restores the Nuget packages.
Personally, I don't like including packages in my server app who's purpose is to support development time processes.
Fun :)
OK, found the problem (through this post: <a class="postlink" href="https://github.com/dotnet/corefx/issues/18452">https://github.com/dotnet/corefx/issues/18452</a> )
You are including Microsoft.VisualStudio.Web.CodeGeneration.Design in the Host project. removing this package fixes the Nuget Restore.
The new packages created for .net core 1.1 / Angular have a package incompatibility issue when nuget is doing the initial restore (Visual Studio 2017):
Package Microsoft.Composition 1.0.27 is not compatible with netcoreapp1.1 (.NETCoreApp,Version=v1.1). Package Microsoft.Composition 1.0.27 supports: portable-net45+win8+wp8+wpa81 (.NETPortable,Version=v0.0,Profile=Profile259)
Ok. looks good... except one question, if I create Host objects, are these host objects available across all tenants (shared and separate database?)
I'm building an app that has mixed mode tenancy.
A majority of the tenants are "Purchasers", some of the tenants are "Vendors".
The Purchasers will do a bunch of engineering work then send some of the details of the parts they need to one or more Vendors who will quote back with options which will then be reviewed by the original purchasers and issue purchase order to the tenant vendor. I need to communicate between the Purchaser and Vendor tenants the parts rfq, quote, and po.
Is there an example of a pattern within ASP.NET Zero space for this kind of communication between tenants?
Thanks.