aspnetcore-angular-universal | NET Core & Angular Universal advanced starter | Server Side Rendering library

 by   TrilonIO TypeScript Version: Current License: MIT

kandi X-RAY | aspnetcore-angular-universal Summary

kandi X-RAY | aspnetcore-angular-universal Summary

aspnetcore-angular-universal is a TypeScript library typically used in Search Engine Optimization, Server Side Rendering, Angular, Webpack, Boilerplate applications. aspnetcore-angular-universal has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

This repository is maintained by Trilon.io and the Angular Universal team and is meant to be an advanced starter for both ASP.NET Core 2.1 using Angular 7.0+, not only for the client-side, but to be rendered on the server for instant application paints (Note: If you don't need SSR read here on how to disable it). This is meant to be a Feature-Rich Starter application containing all of the latest technologies, best build systems available, and include many real-world examples and libraries needed in todays Single Page Applications (SPAs).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              aspnetcore-angular-universal has a medium active ecosystem.
              It has 1461 star(s) with 456 fork(s). There are 166 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 108 open issues and 489 have been closed. On average issues are closed in 182 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of aspnetcore-angular-universal is current.

            kandi-Quality Quality

              aspnetcore-angular-universal has no bugs reported.

            kandi-Security Security

              aspnetcore-angular-universal has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              aspnetcore-angular-universal is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              aspnetcore-angular-universal releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of aspnetcore-angular-universal
            Get all kandi verified functions for this library.

            aspnetcore-angular-universal Key Features

            No Key Features are available at this moment for aspnetcore-angular-universal.

            aspnetcore-angular-universal Examples and Code Snippets

            No Code Snippets are available at this moment for aspnetcore-angular-universal.

            Community Discussions

            Trending Discussions on aspnetcore-angular-universal

            QUESTION

            Getting error "npm ERR! missing script: start" after upgrading to .Net 3.0
            Asked 2019-Dec-18 at 03:05

            The original code running on ASP.Net Core 2.2 (upgraded from 2.1) didn't have start in package.json.

            https://github.com/TrilonIO/aspnetcore-angular-universal/blob/master/package.json

            When updating to ASP.Net Core 3.0, it is now looking for start script.

            Why is it looking for start now?

            ---> System.AggregateException: One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! missing script: start

            This is what is in the log:

            0 info it worked if it ends with ok 1 verbose cli [ '/project/.nvm/versions/node/v10.8.0/bin/node', 1 verbose cli
            '/project/.nvm/versions/node/v10.8.0/bin/npm', 1 verbose cli 'run', 1 verbose cli 'start', 1 verbose cli '--', 1 verbose cli
            '--port', 1 verbose cli '54294' ] 2 info using npm@6.4.1 3 info using node@v10.8.0 4 verbose stack Error: missing script: start 4 verbose stack at run (/project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/lib/run-script.js:155:19) 4 verbose stack at /project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/lib/run-script.js:63:5 4 verbose stack at /project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:115:5 4 verbose stack at /project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:418:5 4 verbose stack at checkBinReferences_ (/project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:373:45) 4 verbose stack at final (/project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:416:3) 4 verbose stack at then (/project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:160:5) 4 verbose stack at ReadFileContext. (/project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/node_modules/read-package-json/read-json.js:332:20) 4 verbose stack at ReadFileContext.callback (/project/.nvm/versions/node/v10.8.0/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16) 4 verbose stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:233:13) 5 verbose cwd /project/Dropbox/Workspace/MyProject/src/MyProject.Web/ClientApp 6 verbose Darwin 19.0.0 7 verbose argv "/project/.nvm/versions/node/v10.8.0/bin/node" "/project/.nvm/versions/node/v10.8.0/bin/npm" "run" "start" "--" "--port" "54294" 8 verbose node v10.8.0 9 verbose npm v6.4.1 10 error missing script: start 11 verbose exit [ 1, true ]

            This is what is reported on the console:

            ---> System.IO.EndOfStreamException: Attempted to read past the end of the stream. at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger) --- End of inner exception stack trace --- at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.StartAngularCliServerAsync(String sourcePath, String npmScriptName, ILogger logger) --- End of inner exception stack trace --- at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result() at Microsoft.AspNetCore.SpaServices.AngularCli.AngularCliMiddleware.<>c.b__2_0(Task1 task) at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj) at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of inner exception stack trace --- at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result() at Microsoft.AspNetCore.SpaServices.Extensions.Util.TaskTimeoutExtensions.WithTimeout[T](Task1 task, TimeSpan timeoutDelay, String message) at Microsoft.AspNetCore.SpaServices.Extensions.Proxy.SpaProxy.PerformProxyRequest(HttpContext context, HttpClient httpClient, Task1 baseUriTask, CancellationToken applicationStoppingToken, Boolean proxy404s) at Microsoft.AspNetCore.Builder.SpaProxyingExtensions.<>c__DisplayClass2_0.d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi) fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HLS17GG2QFU7", Request id "0HLS17GG2QFU7:00000001": An unhandled exception was thrown by the application. System.AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script 'start' exited without indicating that the Angular CLI was listening for requests. The error output was: npm ERR! missing script: start

            ...

            ANSWER

            Answered 2019-Dec-18 at 03:05

            When updating to ASP.Net Core 3.0, it is now looking for start script.

            In my opinion,it is always necessary if you start with only dotnet run for an integrated angular + asp.net core project.

            You need to configure spa.UseAngularCliServer(npmScript: "start"); to run angular

            Source https://stackoverflow.com/questions/59342407

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install aspnetcore-angular-universal

            You can download it from GitHub.

            Support

            To support IE9 through IE11 open the polyfills.ts file in the polyfills folder and uncomment out the 'import polyfills' as needed. ALSO - make sure that your webpack.config and webpack.config.vendor change option of TerserPlugin from ecma: 6 to ecma: 5.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/TrilonIO/aspnetcore-angular-universal.git

          • CLI

            gh repo clone TrilonIO/aspnetcore-angular-universal

          • sshUrl

            git@github.com:TrilonIO/aspnetcore-angular-universal.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Server Side Rendering Libraries

            Try Top Libraries by TrilonIO

            aspnetcore-Vue-starter

            by TrilonIOJavaScript

            universal-nest

            by TrilonIOTypeScript

            angular-application-insights

            by TrilonIOTypeScript

            ng-universal

            by TrilonIOTypeScript

            zeit-now-nestjs

            by TrilonIOTypeScript