{"id":27307517,"url":"https://github.com/ukcoderj/dotnetcorewebsocketangular2client","last_synced_at":"2025-06-19T20:39:59.056Z","repository":{"id":98400833,"uuid":"81820834","full_name":"ukcoderj/DotNetCoreWebsocketAngular2Client","owner":"ukcoderj","description":"A simple .NET Core MVC WebSocket project with a simple angular2 client, plus Ionic 2 Websocket Client","archived":false,"fork":false,"pushed_at":"2017-02-16T11:01:17.000Z","size":1274,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T01:38:13.064Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ukcoderj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-13T12:04:01.000Z","updated_at":"2017-02-16T11:27:48.000Z","dependencies_parsed_at":"2023-04-26T04:40:56.482Z","dependency_job_id":null,"html_url":"https://github.com/ukcoderj/DotNetCoreWebsocketAngular2Client","commit_stats":null,"previous_names":["ukcoderj/dotnetcorewebsocketangular2client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ukcoderj/DotNetCoreWebsocketAngular2Client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FDotNetCoreWebsocketAngular2Client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FDotNetCoreWebsocketAngular2Client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FDotNetCoreWebsocketAngular2Client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FDotNetCoreWebsocketAngular2Client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ukcoderj","download_url":"https://codeload.github.com/ukcoderj/DotNetCoreWebsocketAngular2Client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukcoderj%2FDotNetCoreWebsocketAngular2Client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260827309,"owners_count":23068936,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-12T04:10:22.390Z","updated_at":"2025-06-19T20:39:54.024Z","avatar_url":"https://github.com/ukcoderj.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .NET Core MVC/ WebSocket Server with Angular2 Client and Ionic2 Client\n\nA simple .NET Core MVC WebSocket project with a simple angular2 websocket client (from angular2-seed). Additional Ionic2 sample added. \n\nThe client is from [Angular2-seed](https://github.com/angular/angular2-seed), which details how to get that project running. \n\n*Angular2: The home page looks at an external websocket service. The 'about' page looks at our MVC websocket handler. Hint: If you add '[all]'... in the textbox, it should broadcast to all connected clients, otherwise the response will only return to the sender. You will need separate browsers (or incognito) to test broadcast*\n\n*Ionic2: The home page looks at an external websocket service. It does not connect to the MVC service*\n\n### Usage (Server)\n\n1. Clone the repository.\n2. Open 'angular2-seed-MvcServerWebsockets' in Visual Studio. You may need to install [.NET Core](https://www.microsoft.com/net/core#windows) separately.\n3. Hit Run.\n\n\n### Usage (Angular2 Client)\n- Clone or fork this repository\n- Make sure you have [node.js](https://nodejs.org/) installed version 5+\n- Make sure you have NPM installed version 3+\n- `WINDOWS ONLY` run `npm install -g webpack webpack-dev-server typescript` to install global dependencies\n- run `npm install` to install dependencies\n- run `npm start` to fire up dev server\n- open browser to [`http://localhost:3000`](http://localhost:3000)\n- if you want to use other port, open `package.json` file, then change port in `--port 3000` script\n\n\n\n### Usage (Ionic2)\n\n- Follow the [start tutorial](http://ionicframework.com/docs/v2/intro/installation/) to get Ionic2 installed \n- cd to the project directory.\n- Run `ionic serve`\n\n\n#### To test the Ionic2 APK, you will need to sign it.\n\nTo create your key, use [these instructions](http://stackoverflow.com/a/15330139/852806)\n\n*Add Android*\n`cordova platform add android --save`\n\n*Publish*\ncd \"{ProjectDir}\"\n`cordova build android --prod --release`\n\n`jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore \"{ProjectDir}/platforms/android/build/outputs/apk/my-release-key.keystore\" -storepass {KEY} -keypass {KEY} \"{ProjectDir}/platforms/android/build/outputs/apk/android-release-unsigned.apk\" {KEY}`\n\n`jarsigner -verify -verbose -certs \"{ProjectDir}/platforms/android/build/outputs/apk/android-release-unsigned.apk\"`\n\ncd to zipalign\n\n`cd C:/Program Files (x86)/Android/android-sdk/build-tools/23.0.1`\n\n`zipalign -v 4 \"{ProjectDir}/platforms/android/build/outputs/apk/android-release-unsigned.apk\" \"{ProjectDir}/platforms/android/build/outputs/apk/android-release-signed.apk\"`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukcoderj%2Fdotnetcorewebsocketangular2client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukcoderj%2Fdotnetcorewebsocketangular2client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukcoderj%2Fdotnetcorewebsocketangular2client/lists"}