René's URL Explorer Experiment


Title: Suggestions: make it more agnostic, get rid of inheritance · Issue #125 · Astn/JSON-RPC.NET · GitHub

Open Graph Title: Suggestions: make it more agnostic, get rid of inheritance · Issue #125 · Astn/JSON-RPC.NET

X Title: Suggestions: make it more agnostic, get rid of inheritance · Issue #125 · Astn/JSON-RPC.NET

Description: Austin, I think JSON-RPC.NET is very inspiring, to say the least. Still, I think it can be improved in the following way: you can keep your/users' service classes more agnostic to JsonRpcService and developed independently, without any c...

Open Graph Description: Austin, I think JSON-RPC.NET is very inspiring, to say the least. Still, I think it can be improved in the following way: you can keep your/users' service classes more agnostic to JsonRpcService an...

X Description: Austin, I think JSON-RPC.NET is very inspiring, to say the least. Still, I think it can be improved in the following way: you can keep your/users' service classes more agnostic to JsonRpcServic...

Opengraph URL: https://github.com/Astn/JSON-RPC.NET/issues/125

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestions: make it more agnostic, get rid of inheritance","articleBody":"Austin,\r\n\r\nI think JSON-RPC.NET is very inspiring, to say the least.\r\n\r\nStill, I think it can be improved in the following way: you can keep your/users' service classes more agnostic to `JsonRpcService` and developed independently, without any coupling with your framework.\r\n\r\nFrom your code sample and documentation is apparent that the service classes should be derived from `JsonRpcService`.\r\n(Please prove me wrong if I'm wrong.)\r\n\r\nThis is the unnecessary coupling. If a user has some already developed service functionality, the need for this inheritance can break an existing class hierarchy and create some hassles. Take into account the absence of \"strong\" multiple inheritance (for classes) in .NET. At the same time, it's quite possible to make the same functionality agnostic to the hierarchy.\r\n\r\nTo bind the existing service class with the RPC, you can use either the existing service-implementing class or even the interface matching the service contract. You need some \"registration\" facility to use reflection to collect all the information on the contract, that is, the methods marked with `[JsonRpcMethod]` (or other attributes like that), with all the metadata related to the method: name, profile, and so on. You can register the implementation class with the facility. Even better, you can register the implementation and its interface (during runtime, check up if it implements the interface during runtime), having the interface accessible to both client and service assemblies, so the client part would need only the interface, and implementation on the client side would be some proxy. Moreover, you can also use .NET `Reflection.Emit` (maybe you already do, please clarify), to improve the performance, which would boost if you have more than one service implementation.\r\n\r\nI believe this architectural change can greatly improve the usability keeping the performance.\r\n\r\nThank you.\r\n—SA","author":{"url":"https://github.com/SAKryukov","@type":"Person","name":"SAKryukov"},"datePublished":"2021-03-18T20:43:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/125/JSON-RPC.NET/issues/125"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6c94c5ef-42d9-5ab3-bc0d-e80d5baf9d72
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDA06:3DB526:ADCA3D:E941BC:698F8480
html-safe-nonce1acaf6fe9dbe638c3e4c976286f073108908af8c6c8fd5da31a0224e46c1b2eb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTA2OjNEQjUyNjpBRENBM0Q6RTk0MUJDOjY5OEY4NDgwIiwidmlzaXRvcl9pZCI6Ijc2NzI2Mjk2Nzc4NTMyMTM4MjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac6c3f4c37b85320492de4d4851811bf4c33763c1ed51d077122995419ec3f47b4
hovercard-subject-tagissue:835240574
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Astn/JSON-RPC.NET/125/issue_layout
twitter:imagehttps://opengraph.githubassets.com/657331e1f7e93ea7b7a53d1bcd05f322cfd6d8528ce0f400799a51a5c4a7d5e6/Astn/JSON-RPC.NET/issues/125
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/657331e1f7e93ea7b7a53d1bcd05f322cfd6d8528ce0f400799a51a5c4a7d5e6/Astn/JSON-RPC.NET/issues/125
og:image:altAustin, I think JSON-RPC.NET is very inspiring, to say the least. Still, I think it can be improved in the following way: you can keep your/users' service classes more agnostic to JsonRpcService an...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSAKryukov
hostnamegithub.com
expected-hostnamegithub.com
None4763146d672e989a41c6c0bd715790c0c59341d9f855508c8a3196e1e480b8f7
turbo-cache-controlno-preview
go-importgithub.com/Astn/JSON-RPC.NET git https://github.com/Astn/JSON-RPC.NET.git
octolytics-dimension-user_id6857743
octolytics-dimension-user_loginAstn
octolytics-dimension-repository_id17465376
octolytics-dimension-repository_nwoAstn/JSON-RPC.NET
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17465376
octolytics-dimension-repository_network_root_nwoAstn/JSON-RPC.NET
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release38243223a284e53debe5a0f476578cf4a0521de7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Astn/JSON-RPC.NET/issues/125#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAstn%2FJSON-RPC.NET%2Fissues%2F125
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAstn%2FJSON-RPC.NET%2Fissues%2F125
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Astn%2FJSON-RPC.NET
Reloadhttps://github.com/Astn/JSON-RPC.NET/issues/125
Reloadhttps://github.com/Astn/JSON-RPC.NET/issues/125
Reloadhttps://github.com/Astn/JSON-RPC.NET/issues/125
Astn https://github.com/Astn
JSON-RPC.NEThttps://github.com/Astn/JSON-RPC.NET
Notifications https://github.com/login?return_to=%2FAstn%2FJSON-RPC.NET
Fork 87 https://github.com/login?return_to=%2FAstn%2FJSON-RPC.NET
Star 329 https://github.com/login?return_to=%2FAstn%2FJSON-RPC.NET
Code https://github.com/Astn/JSON-RPC.NET
Issues 13 https://github.com/Astn/JSON-RPC.NET/issues
Pull requests 8 https://github.com/Astn/JSON-RPC.NET/pulls
Actions https://github.com/Astn/JSON-RPC.NET/actions
Projects 0 https://github.com/Astn/JSON-RPC.NET/projects
Wiki https://github.com/Astn/JSON-RPC.NET/wiki
Security 0 https://github.com/Astn/JSON-RPC.NET/security
Insights https://github.com/Astn/JSON-RPC.NET/pulse
Code https://github.com/Astn/JSON-RPC.NET
Issues https://github.com/Astn/JSON-RPC.NET/issues
Pull requests https://github.com/Astn/JSON-RPC.NET/pulls
Actions https://github.com/Astn/JSON-RPC.NET/actions
Projects https://github.com/Astn/JSON-RPC.NET/projects
Wiki https://github.com/Astn/JSON-RPC.NET/wiki
Security https://github.com/Astn/JSON-RPC.NET/security
Insights https://github.com/Astn/JSON-RPC.NET/pulse
New issuehttps://github.com/login?return_to=https://github.com/Astn/JSON-RPC.NET/issues/125
New issuehttps://github.com/login?return_to=https://github.com/Astn/JSON-RPC.NET/issues/125
Suggestions: make it more agnostic, get rid of inheritancehttps://github.com/Astn/JSON-RPC.NET/issues/125#top
https://github.com/SAKryukov
https://github.com/SAKryukov
SAKryukovhttps://github.com/SAKryukov
on Mar 18, 2021https://github.com/Astn/JSON-RPC.NET/issues/125#issue-835240574
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.