[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-735367-105":3,"detail-sidebar-cat-0-en-105":79,"doc-detail-735367-en":129,"doc-similar-735367":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":72,"head_meta":74,"extra_data":76,"updated_unix":78},105,"en","building-restful-web-services-with-steve-ives-requirements-and-repository-configuration","Building RESTful Web Services with - Steve Ives - Requirements and Repository Configuration","","Presentation notes on building RESTful web services with Harmony Core, covering what RESTful services do and how to use them in a .NET Core environment. It lists required tooling and .NET Core SDK/runtime versions, obtaining packages via NuGet, and creating Harmony Core project templates. The document explains generated code (models, metadata, DbContext, Web API controllers, startup, and optional hosting/tests). It also details repository configuration using the Synergy EF provider, including entity access, CRUD operations, key and relation definitions, and custom field options.",{"@graph":14,"@context":71},[15,34,54],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/building-restful-web-services-with-steve-ives-requirements-and-repository-configuration/735367/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":48,"encodingFormat":47,"isAccessibleForFree":49,"interactionStatistic":50},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/building-restful-web-services-with-steve-ives-requirements-and-repository-configuration/735367.png","ImageObject",300,407,{"name":42,"@type":43},"Bulrr","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-23",true,{"@type":51,"interactionType":52,"userInteractionCount":22},"InteractionCounter",{"@type":53},"ViewAction",{"@type":55,"mainEntity":56},"FAQPage",[57,63,67],{"name":58,"@type":59,"acceptedAnswer":60},"What are the key Harmony Core packages referenced for building the service?","Question",{"text":61,"@type":62},"The notes reference Harmony.Core, Harmony.Core.AspNetCore, Harmony.Core.EF, and Harmony.Core.Odata, along with supporting packages such as Microsoft.AspNetCore.Cors, Microsoft.AspNetCore.Mvc, IdentityServer4.AccessTokenValidation, and Swashbuckle.AspNetCore.","Answer",{"name":64,"@type":59,"acceptedAnswer":65},"What code does the process generate for the RESTful API?",{"text":66,"@type":62},"It generates model classes, metadata classes, an entity data model class, a DB context class, Web API controller classes with RESTful CRUD endpoints, and a Web API Startup class. It can also include optional self-hosting, a unit testing environment, and sample data environment classes.",{"name":68,"@type":59,"acceptedAnswer":69},"How does the repository configuration affect OData and query capabilities?",{"text":70,"@type":62},"The document states that defining comprehensive structures (fields, tags, keys, and relations) enables powerful OData features, including drilling into related data. It also emphasizes correct key definitions and bidirectional relationship definitions for significant benefits.","https://schema.org",{"og:url":32,"og:type":73,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":75,"canonical":32},"index,follow",{"doc_id":77,"site_id":7},735367,1795460530,{"code":4,"msg":80,"data":81},"success",[82,86,90,94,99,103,108,113,118,121,125],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":83,"show_sort_weight":84,"slug":85},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":87,"show_sort_weight":88,"slug":89},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":91,"show_sort_weight":92,"slug":93},"Exam",70,"exam",{"id":95,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},5,"Comic",60,"comic",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":101,"slug":102},6,50,"technology",{"id":104,"doc_module":4,"doc_module_name":25,"category_name":105,"show_sort_weight":106,"slug":107},7,"Healthcare",40,"healthcare",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":110,"show_sort_weight":111,"slug":112},8,"Research & Report",30,"research-report",{"id":114,"doc_module":4,"doc_module_name":25,"category_name":115,"show_sort_weight":116,"slug":117},9,"Religion & Spirituality",20,"religion-spirituality",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":116,"slug":120},"World Cup","world-cup",{"id":122,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":122,"slug":124},10,"Lifestyle","lifestyle",{"id":126,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":95,"slug":128},19,"General","general",{"code":4,"msg":80,"data":130},{"doc_id":77,"user_id":131,"nickname":42,"user_avatar":132,"doc_module":4,"category_id":100,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":22,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":138,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":78,"read_time":143,"preview_page_count":95,"preview_urls":144},5909892115043,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Building RESTful Web Services with  \nPresented by Steve Ives  \nWe’ve talked about what it is  \nWe’ve talked about what it does  \nLet’s talk about how to use it  \nRequirements & Obtaining • Visual Studio 2017  \n• 15.8 or later  \n• .NET Core SDK & Runtime  \n• 2.1 or later  \n• Synergy/DE  \n• 10.3.3f or later  \n• SDE x86, x64 and SDI  \n• CodeGen  \n• 5.3.6 or later  \n• Internet access  \n• Initially, to get [to NuGet.org](to NuGet.org)  \n• Project templates  \n• From NuGet  \n• Repository describing your data  \n• For code generation  \n• .NET Core, everything’s a NuGet package!  \n• Harmony Core packages  \n• Harmony.Core  \n• Harmony.Core.AspNetCore  \n• Harmony.Core.EF  \n• Harmony.Core.Odata  \n• Other packages  \n• Microsoft.AspNetCore.Cors  \n• Microsoft.AspNetCore.[HttpsPolicy](HttpsPolicy)  \n• Microsoft.AspNetCore.Mvc  \n• IdentityServer4.AccessTokenValidation  \n• Swashbuckle.AspNetCore  \n• Harmony Core project templates  \n• Harmony.Core.ProjectTemplates  \nWhat Code Gets Generated  \n• Model classes  \n• Describes individual data entities  \n• Metadata classes  \n• Extended information about entities  \n• Entity data model class  \n• Describes available entities and relationships between them  \n• DB context class  \n• Exposes data model to applications  \n• Web API controller classes  \n• Exposes RESTful API CRUD endpoints  \n• Web API Startup class  \n• Configures the Web API and OData environments  \nAnd optionally:  \n• Self-hosting program  \n• Hosts a runtime instance of the services • Unit testing environment  \n• Sample data environment classes  \n• Unit test environment classes  \n• Unit test classes  \nLeveraging the Synergy EF Provider  \n• DbContext exposes a collection of the data  \n• DBContext.Customers  \n• Methods provide access to specific data  \n• DBContext.Customers .FindQuery(value)  \n• Returns an IQueryable  \n• DBContext.Customers .Find (key)  \n• Returns a data object  \n• DBContext.Customers .FindAlternate (“Segment”,value [,…])  \n• And to alter the data  \n• DBContext.Customers .Add (dataObject)  \n• DBContext.Customers .Update (dataObject)  \n• DBContext.Customers .Remove (dataObject)  \n• DBContext.SaveChanges()  \nConfiguring Your Repository for  \n• Comprehensive and accurate repository data will produce excellent results  \n• Structures  \n• Fields  \n• Tags  \n• Keys  \n• Relations  \n• Files  \n• If your repository is set up well for xfODBC, you should already be in great shape!  \nRepository – Custom Field Options  \n• Optional identifiers placed in user text or long description  \n• HARMONY_EXCLUDE  \n• Exclude the field  \n• Should not be used on key segment fields  \n• HARMONY_AS_STRING  \n• Expose decimal field with format string as formatted string  \n• Currently only works for reading data, not create / update  \n• HARMONY_AUTHENTICATE  \n• Consumers must be authenticated to see the field  \n• HARMONY_ROLES=role[, role…];  \n• Consumers must be members of a role to see the field  \n• SAMPLE_DATA=John Doe;  \n• Custom sample data used in API documentation and tests  \nRepository – Key Definitions • Define all keys completely and accurately  \n• List keys in the correct order  \n• List access keys before foreign keys  \n• Fill out optional key of reference \\#  \n• Don’t use overlays to define multiple segments  \n• Provide segment type and ordering  \n• Optional and often ignored  \n• Helps EF provider work optimally  \n• Key names are used when naming relationships  \nRepository-Relations  \n• Enables powerful OData features  \n• Drill into related data when querying the main entity  \n• E.g., customers and their open orders  \n• Relationships often go both ways, so define in both structures  \n• Use foreign keys if you don’t have an access key in the From structure  \n• Literal segments in a foreign key can help when targeting a “tag” field  \n• Relationships take time, but significant benefits  \nFiles with Multiple Record Types  \n• Tags identify records within multi-record format files  \n• Typically FIELD == value, but may be more complex  \n• RECORD_TYPE .eq.“A”  \n","cbCaih3v3SFM2Hcw","https://ap.wps.com/l/cbCaih3v3SFM2Hcw","pdf",2197580,45,"English","# Overview\n## What RESTful services are and do\n## How to use them\n# Requirements and Obtaining\n## Tooling and SDK versions\n## NuGet packages and Harmony Core templates\n# Generated Code\n## Models, metadata, and DbContext\n## Web API controllers and Startup\n## Optional self-hosting and testing\n# Leveraging the Synergy EF Provider\n## Querying and CRUD operations\n# Configuring the Repository for Results\n## Structures, fields, tags, keys, and relations\n## Custom field options and authentication\n## Key definitions and ordering\n## Repository relations and OData benefits\n# Files with Multiple Record Types\n## Tags, structures per record type, and key consistency","[{\"question\":\"What are the key Harmony Core packages referenced for building the service?\",\"answer\":\"The notes reference Harmony.Core, Harmony.Core.AspNetCore, Harmony.Core.EF, and Harmony.Core.Odata, along with supporting packages such as Microsoft.AspNetCore.Cors, Microsoft.AspNetCore.Mvc, IdentityServer4.AccessTokenValidation, and Swashbuckle.AspNetCore.\"},{\"question\":\"What code does the process generate for the RESTful API?\",\"answer\":\"It generates model classes, metadata classes, an entity data model class, a DB context class, Web API controller classes with RESTful CRUD endpoints, and a Web API Startup class. It can also include optional self-hosting, a unit testing environment, and sample data environment classes.\"},{\"question\":\"How does the repository configuration affect OData and query capabilities?\",\"answer\":\"The document states that defining comprehensive structures (fields, tags, keys, and relations) enables powerful OData features, including drilling into related data. It also emphasizes correct key definitions and bidirectional relationship definitions for significant benefits.\"}]","Building RESTful Web Services with - Steve Ives - Requirements and Repository Configuration | PDF",113,[145,149,152,156,159],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/707b3a33349b83bbc7f3a5a84a23c2f3.webp",983,552,{"page_no":26,"url":150,"width":151,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/ab9ed86fa917f33b1f36bf0abe5b0124.webp",982,{"page_no":30,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/0ba9f6b5344348acc188da0f2a379d2f.webp",981,551,{"page_no":33,"url":157,"width":158,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/06930cac55367fb8a0da8d5d46820b83.webp",980,{"page_no":95,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-23/e510db8428aae06fb85e4a32dc3d19aa.webp",979,550,{"list":164,"token":11},[165,172,178,184,190,196,203,209,215,222],{"doc_id":166,"doc_title":167,"file_type":136,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":29,"create_tm":171},489334,"AngularJS Web Application Development Blueprints - Table of Contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927229031/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=xzyDv8%2BxL7IFwrIEUy2fq27lNDA%3D","angularjs-web-application-development-blueprints-table-of-contents",13,1790822306,{"doc_id":173,"doc_title":174,"file_type":136,"home_preview_img_url":175,"slug":176,"view_count":122,"category_name":29,"create_tm":177},692306,"Learning Node.js - A Hands-On Guide to Building Web Applications in JavaScript","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002737479/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=4tM5IcLSytviGW6a4oRwtVtLoTA%3D","learning-nodejs-a-hands-on-guide-to-building-web-applications-in-javascript",1794192934,{"doc_id":179,"doc_title":180,"file_type":136,"home_preview_img_url":181,"slug":182,"view_count":104,"category_name":29,"create_tm":183},693080,"Web API Design - The Missing Link - Best Practices for Crafting Interfaces that Developers Love","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230004260706/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=GHwtVO7UZJ5Pefgard3Hv6KqqXE%3D","web-api-design-the-missing-link-best-practices-for-crafting-interfaces-that-developers-love",1794248330,{"doc_id":185,"doc_title":186,"file_type":136,"home_preview_img_url":187,"slug":188,"view_count":30,"category_name":29,"create_tm":189},681166,"The Rails 4 Way - Part 4 - Working with Active Record","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229997883797/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=ip%2BrikxQ4bR89sgzukJn2WWbWNA%3D","the-rails-4-way-part-4-working-with-active-record",1793940556,{"doc_id":191,"doc_title":192,"file_type":136,"home_preview_img_url":193,"slug":194,"view_count":33,"category_name":29,"create_tm":195},681162,"Introduction to Ruby on Rails Development - Part 3 - Intro","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998653470/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=cFW5ansfY5r7x2Vsa2tUQbyfkMY%3D","introduction-to-ruby-on-rails-development-part-3-intro",1793940546,{"doc_id":197,"doc_title":198,"file_type":136,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":29,"create_tm":202},503465,"casperfpga_rs - Rust-based interface to CASPER devices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931890301/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=nHUVqDa2fzBfD258o7IF0KeNk2g%3D","casperfpga_rs-rust-based-interface-to-casper-devices",11,1791056703,{"doc_id":204,"doc_title":205,"file_type":136,"home_preview_img_url":206,"slug":207,"view_count":26,"category_name":29,"create_tm":208},735368,"MPLAB Harmony System Service Libraries Help - System Service Overview - Introduction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230034345745/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=tcY%2B7OdNFHml7zNPzpNP5OLFDLI%3D","mplab-harmony-system-service-libraries-help-system-service-overview-introduction",1795460531,{"doc_id":210,"doc_title":211,"file_type":136,"home_preview_img_url":212,"slug":213,"view_count":22,"category_name":29,"create_tm":214},759796,"Microservices with Node.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044484999/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=wS5FrNtJ0%2FUdBP6feLJbCqUJn%2Fo%3D","microservices-with-nodejs",1795895075,{"doc_id":216,"doc_title":217,"file_type":136,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":29,"create_tm":221},489340,"Cloud Ready Web Applications with jHipster - White Paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927229383/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=AnDyP6%2F2D3BVlZugE%2BaGOpl%2FMUA%3D","cloud-ready-web-applications-with-jhipster-white-paper",21,1790822326,{"doc_id":223,"doc_title":224,"file_type":136,"home_preview_img_url":225,"slug":226,"view_count":30,"category_name":29,"create_tm":227},732425,"Air Conditioning Control System - Centralized Controller AE-200A/AE-50A - AE-200E/AE-50E - Instruction Book - Ver. 7.2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031773762/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796210039&Signature=jCmacdEXa4H8GfRMyttLpKapGhs%3D","air-conditioning-control-system-centralized-controller-ae-200aae-50a-ae-200eae-50e-instruction-book-ver-72",1795380425]