thecodecleaner / microservice4net Goto Github PK
View Code? Open in Web Editor NEWCreate Micro Services Easily with C#
Home Page: http://www.codeproject.com/Tips/894355/MicroService-Net-Create-Micro-Services-Easily-with
License: MIT License
Create Micro Services Easily with C#
Home Page: http://www.codeproject.com/Tips/894355/MicroService-Net-Create-Micro-Services-Easily-with
License: MIT License
Hi Code Cleaner,
After follow the simple steps laid out from your post:
http://www.codeproject.com/Tips/894355/MicroService-Net-Create-Micro-Services-Easily-with?msg=5296382#xx5296382xx
I launched the console app and got the below exception:
Exception has been thrown by the target of an invocation.
Service MicroserviceNet started on port 8080
Press any key to exit...
Currently service uses Port as parameter and it binds itself on http://localhost:{port}.
This creates problem on Windows 10 because it requires Administrators rights to run properly, otherwise application starts and nobody can't connect to it.
Also, when starting application, code throws exception on that is misguiding :
One or more errors occurred.
Service {myApplication} started on port 12345
Press any key to exit...
This is in from Microsevice.Start method:
this._selfHostServer = new SelfHostServer("http://localhost:" + this._port, true); <-- hardcoded IP
this._selfHostServer.Connect(); <-- this throws exception that is just logged and not re-throw back
I tested it on version 1.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.