{"id":21455547,"url":"https://github.com/zeppaman/owin-nancy-tutorial","last_synced_at":"2025-09-08T16:49:04.056Z","repository":{"id":116709745,"uuid":"54259024","full_name":"zeppaman/Owin-Nancy-Tutorial","owner":"zeppaman","description":"Tutorial for creating a Owin module using Nancy as rendering engine.","archived":false,"fork":false,"pushed_at":"2016-03-19T12:32:42.000Z","size":425,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T03:25:15.081Z","etag":null,"topics":["example","nancy","owin","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/zeppaman.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":"2016-03-19T09:56:57.000Z","updated_at":"2019-02-27T19:27:07.000Z","dependencies_parsed_at":"2023-04-18T17:04:32.969Z","dependency_job_id":null,"html_url":"https://github.com/zeppaman/Owin-Nancy-Tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeppaman/Owin-Nancy-Tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeppaman%2FOwin-Nancy-Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeppaman%2FOwin-Nancy-Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeppaman%2FOwin-Nancy-Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeppaman%2FOwin-Nancy-Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeppaman","download_url":"https://codeload.github.com/zeppaman/Owin-Nancy-Tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeppaman%2FOwin-Nancy-Tutorial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274218199,"owners_count":25243357,"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","status":"online","status_checked_at":"2025-09-08T02:00:09.813Z","response_time":121,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["example","nancy","owin","tutorial"],"created_at":"2024-11-23T05:12:35.888Z","updated_at":"2025-09-08T16:49:04.022Z","avatar_url":"https://github.com/zeppaman.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Owin-Nancy-Tutorial\nTutorial for creating a Owin module using Nancy as rendering engine.\n\n\nThis is a very simple startup project that explain how to embed a web application into an assembly (yes, just a simple dll) and provide it as part of a web site.\n\n## How to test it\n\n1. download the code\n2. restore packeges with nuget.exe restore\n3. start web site\n4. click on the red button\n\nProject is composed by a web site and a library project. Web site is just a simple MVC web site use as container. It should represent the base site where you'll need to integrate an embedded site. Inside the library project there is some nancy configuration and a view used to rendere embedded web site.\n\n## Showcase\n\nIn this project you can see in action:\n\n1. How to create a web site inside a dll and integrare in a true web site o run it as standalone\n2. How to parametrize roting for web site (i.e. how to installa a site inside a sub folder of the site)\n3. How to serve static content from the assembly (yes we can!)\n4. Hot to overwrite view from main site to customize rendering\n\n#Notes\n\nToday there are a missing class inside Nancy package released on nuget. This class is \"EmbeddedStaticContentConventionBuilder\" and is needed to serve static content from assembly, foundamental to keep resources as js,css, images inside external assembly.\n\nAnother problem is about \"ResourceViewLocationProvider\" that when find two view with same name it throw an exception. I implement my provider that overwite views allowing fallback logic on view engine.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeppaman%2Fowin-nancy-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeppaman%2Fowin-nancy-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeppaman%2Fowin-nancy-tutorial/lists"}