Base solution for your next web application

Activities of "Ricavir"

Hi,

I would like to update my current ASPNETZERO project to ASPNETZERO v3.1. I've updated my ABP nuget packages but some interesting buggs have been corrected on ASPNETZERO v3.1 that I would like to integrate.

What is you advice to do that ? Tks

Answer

An other clue : I've tested something directly in css file > I changed initial opacity from 0 to 1. Timeline is displayed but items are not placed and buttons not working. I can see in the browser debugger that the javascript file "horizontal-timeline.js" is loaded.

But the javascript is still not "linked" to the page...I don't understand why.

Answer

I just have one warning on tooltip.directive.js:65 but not related with timeline: "tooltipPlacement was deprecated, please use placement instead" I have the "cd-horizontal-timeline" css class in my html element (since I get HTML source code from metronic web site) And, of course, I added the line "../src/assets/metronic/global/plugins/horizontal-timeline/horizontal-timeline.js" to scripts list in angular-cli.json ; and put the javascript file "horizontal-timeline.js" in the right folder. But still nothing displayed : I just have the portlet and title displayed in the page, nothing inside.

Answer

Hi,

I try and tried again. no way, I don't manage to display this horizontal timeline :? I added "../src/assets/metronic/global/plugins/horizontal-timeline/horizontal-timeline.js" on the scripts list of angular-cli.json and grabbed the javascript file on metronic site.

Do I have to add something else ? I really need to display this timeline for my customer :cry:

Any idea ?

Answer

Hello, I'm facing the same problem... as I am very new with javascript, can you please precise where to add ../assets/global/plugins/horizontal-timeline/horizontal-timeline.js ?

Is it on angular-cli.json within "scripts" list ?

Answer

Hello, I applied these changes :

<cite>ismcagdas: </cite> Good news :). By the way, there is an issue related to signalr for angular2 template and we will fix it this week. Please follow this issue for that <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/47">https://github.com/aspnetzero/aspnet-ze ... /issues/47</a>.

Signalr is still not working on azure now (as well as on my dev server).

Here is the log :

ERROR 2017-02-13 12:53:55,740 [18 ] Microsoft.AspNetCore.Server.Kestrel - Connection id "0HL2K0GIR93AU": An unhandled exception was thrown by the application. System.Security.Cryptography.CryptographicException: The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread's user context, which may be the case when the thread is impersonating. at System.Security.Cryptography.ProtectedData.Protect(Byte[] userData, Byte[] optionalEntropy, DataProtectionScope scope) at System.Security.Cryptography.DpapiDataProtector.ProviderProtect(Byte[] userData) at Microsoft.AspNet.SignalR.Infrastructure.DataProtectionProviderProtectedData.Protect(String data, String purpose) at Microsoft.AspNet.SignalR.PersistentConnection.ProcessNegotiationRequest(HostContext context) at Microsoft.AspNet.SignalR.PersistentConnection.ProcessRequest(HostContext context) at Microsoft.Owin.Cors.CorsMiddleware.HandleCorsRequestAsync(IOwinContext context, CorsPolicy policy, CorsRequestContext corsRequestContext) at Microsoft.Owin.Cors.CorsMiddleware.<Invoke>d__0.MoveNext()

Answer

Tks for the hint. It was a problem with azure database connection string. now, I can continue with angular deployment ;)

Answer

Tks for your answers @ismcagdas, @rvanwoezik.

Actually, I did not manage to deploy the server part to azure. I know that some issues are ongoing to deploy angluar2 (client side)... But my point is just to deploy ASP.NET Core app to azure. Thus, I don't even have swagger UI accessible from azure.

Right konw, I have a 500 server error.

Answer

Hello,

I've been changing my template project following your step by step document (asp.net core + angular 2) I have a plan on azure and would like to deploy the project before going further in the developement. I manage to migrate the database without any problem (with Migrator project)

I tried to deploy the web project directly from VS2015. All publish settings are automaticaly configured after logging to my azure account.

After deployment process, I have an internal server error :"An error occurred while starting the application."

Do I have to change some settings before publishing ? (on appsettings.json or web.config)

Here it is

Showing 301 to 310 of 314 entries