Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "omkarchoudhari"

I am trying to add Malay language in ASPNetZero framework, but framework gives an error that says cannot find module ./ms.js.

Following are the steps I have followed so far:

  1. Added a XML file for Malay language
  2. Added a new language in the DefaultLanguageCreator class
  3. Selected my language from the menu bar.

For detail error see below:

core.js:14597 ERROR Error: Uncaught (in promise): Error: Cannot find module './ms.js' Error: Cannot find module './ms.js' at .*.js$ namespace object:179 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:388) at Object.onInvoke (core.js:16156) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke (zone.js:387) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.run (zone.js:138) at zone.js:872 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:16147) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188) at resolvePromise (zone.js:814) at resolvePromise (zone.js:771) at zone.js:873 at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:421) at Object.onInvokeTask (core.js:16147) at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:420) at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:188) at drainMicroTaskQueue (zone.js:595) defaultErrorLogger @ core.js:14597 push../node_modules/@angular/core/fesm5/core.js.ErrorHandler.handleError @ core.js:14645 next @ core.js:16628 schedulerFn @ core.js:12609 push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub @ Subscriber.js:196 push../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next @ Subscriber.js:134 push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next @ Subscriber.js:77 push../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next @ Subscriber.js:54 push../node_modules/rxjs/_esm5/internal/Subject.js.Subject.next @ Subject.js:47 push../node_modules/@angular/core/fesm5/core.js.EventEmitter.emit @ core.js:12593 (anonymous) @ core.js:16178 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invoke @ zone.js:388 push../node_modules/zone.js/dist/zone.js.Zone.run @ zone.js:138 push../node_modules/@angular/core/fesm5/core.js.NgZone.runOutsideAngular @ core.js:16115 onHandleError @ core.js:16178 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.handleError @ zone.js:392 push../node_modules/zone.js/dist/zone.js.Zone.runGuarded @ zone.js:154 _loop_1 @ zone.js:677 api.microtaskDrainDone @ zone.js:686 drainMicroTaskQueue @ zone.js:602 Promise.then (async) scheduleMicroTask @ zone.js:578 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:410 onScheduleTask @ zone.js:297 push../node_modules/zone.js/dist/zone.js.ZoneDelegate.scheduleTask @ zone.js:401 push../node_modules/zone.js/dist/zone.js.Zone.scheduleTask @ zone.js:232 push../node_modules/zone.js/dist/zone.js.Zone.scheduleMicroTask @ zone.js:252 scheduleResolveOrReject @ zone.js:862 resolvePromise @ zone.js:808 (anonymous) @ zone.js:724 webpackJsonpCallback @ bootstrap:25 (anonymous) @ 892.js:1

Any help in this regard would be appreciated. Thanks

we are using asp.net zero 6.2.0 template with angular 6.

for production use, whenever we build the application with ng build –prod command, bundle files don’t get generated for any of the .js files. Because of that we are getting bigger file size for vendor.js which is around 6 MB. Results in more application load time. We want to reduce it. and make it faster.

After ng build –prod I am getting following result,

I want less file size specially for vendor.js and main.js. also there is no bundle files like, vendor.bundle.js and same for others.

Questions:-

  1. why are we getting this behavior after ng build –prod ? (why bundle files are not getting generated)
  2. how to upgrade to latest template from old one, is there any simplest way ?
  3. what are the changes made and bug fixed for the latest template 6.5.0 build ?

Does the latest (6.5.2) version of asp.et zero support Azure SQL elastic DB ? Both for single DB and also for DB per tenant ? And does it support sharding ?

  1. How to get browser close event (window unload or onbeforeunload) ?
  2. can we have configurable session timeouts ?

I am using ASP.NET zero version v6.1.0 & Angular (Single Solution) + .NET CORE 2.1

Looking forward to an urgent reply please. Thanks.

While releasing or publishing the package , the contents from Dist folder do not get autimatically copied to wwwroot folder. This happens for every template of asp.net zero and we need to manually copy the contents , so that the web application runs properly.

Is there a solution to automate this ? Urgent response would be highly appreciated.

I am trying to implement IdentityServer4 in ASPNETZERO TEMPLATE 5.6.2. but while trying to implement we realize that there is no authentication method for identity server which is needed to authenticate external application.

What we are trying to do is, we have one(ASPNETZERO) server web app which will authenticate and authorize other apps. We are taking reference from identity server site also, but its not working.

Is there any Identityserver4 authentication provided through in WEBHOST (angular) project?

If yes, please tell us necessary steps for how to implement Identityserver4 in HOST project.

We are trying to use PUBLIC WEBSITE PROJECT but its not working. Any pointers in this direction would be helpful.

I am using aspnet core and angular template . I cleaned the solution and deleted bin & obj folders. After running the project, I am able to see swagger and client is also compiled, but after hitting <a class="postlink" href="http://localhost:4200">http://localhost:4200</a>, page displays nothing (blank). Also not getting any error on console. The solution was working fine before cleaning.

Can you please advise how i should troubleshoot this ?

[attachment=0:bemoogja]Error.jpg[/attachment:bemoogja]

Today morning we downloaded the latest template of aspnetzero with ASPNET Core and Angular (with merged AngularUI into host). But we are getting this error for about 400 different packages in the solution .

Package Abp 3.1.2 is not compatible with net461 (.NETFramework,Version=v4.6.1).

Error "Severity Code Description Project File Line Suppression State Error Package Abp 3.1.2 is not compatible with net461 (.NETFramework,Version=v4.6.1). Package Abp 3.1.2 supports: netstandard2.0 (.NETStandard,Version=v2.0)". This has happened on two machines.

Node/NPM and Yarn are properly installed and so is TypeScript.

Do not have any idea how to resolve this. Nuget restore, anular CLI,yarn installation etc. is already done. PLEASE RESPOND URGENTLY.

LOOKING FORWARD TO YOUR RESPONSE .......

Hi,

After publishing app on Azure, it throws error "An error has occurred!"

  1. Application builds successfully
  2. Publish process completes successfully
  3. Application woks well locally
  4. Azure DB is updated
  5. Connection string, App URLs are well defined in all configuration (JSON) files
  6. No network calls from developer tools
  7. Logging is enabled in web.config file, no logs are getting traced in Azure log file - creates blank log file
  8. Tried publishing app by creating publish package in local folder, and then uploading contents through FTP & also tried direct publish from Visual Studio using Azure publishing profile
  9. Azure "Diagnose & solve problems" shows - Your app is healthy, Platform is healthy status

What can be the cause of problem ?

Autologin to tenant in MT application.

we are implementing Multi-Tenancy in single DB using IMustHaveTenant. We want autologin functionality from our desktop app where we are going to pass tenancy name , username and password to the authenticate method. On success of authenticate method we are launching the webapp URL . The expected result is to start the session and it should redirect to tenant dashboard page instead of login screen.

We are able to call authenticate API and it is returning success also. But after launching the URL , its not starting the session.

Please provide <ins>sample code</ins> for implementing this in your ASP.NET Core/angular 2 framework specifically. This is urgent.

Showing 41 to 50 of 78 entries