{"id":21450590,"url":"https://github.com/ogaudefroy/tempdataforwebforms","last_synced_at":"2025-07-30T11:33:20.339Z","repository":{"id":80337884,"uuid":"70625971","full_name":"ogaudefroy/TempDataForWebForms","owner":"ogaudefroy","description":"TempData support for ASP.Net WebForms","archived":false,"fork":false,"pushed_at":"2017-07-11T08:08:41.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-28T02:42:55.561Z","etag":null,"topics":["asp-net","tempdata","webforms"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ogaudefroy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-11T18:59:49.000Z","updated_at":"2018-08-03T15:03:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"0fd3b07b-d38a-4506-b919-d879740cb82b","html_url":"https://github.com/ogaudefroy/TempDataForWebForms","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ogaudefroy/TempDataForWebForms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaudefroy%2FTempDataForWebForms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaudefroy%2FTempDataForWebForms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaudefroy%2FTempDataForWebForms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaudefroy%2FTempDataForWebForms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ogaudefroy","download_url":"https://codeload.github.com/ogaudefroy/TempDataForWebForms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ogaudefroy%2FTempDataForWebForms/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267858704,"owners_count":24155941,"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-07-30T02:00:09.044Z","response_time":70,"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":["asp-net","tempdata","webforms"],"created_at":"2024-11-23T04:15:53.625Z","updated_at":"2025-07-30T11:33:20.248Z","avatar_url":"https://github.com/ogaudefroy.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TempDataForWebForms\nA simple library to provide ASP.Net MVC TempData like support in WebForms pages.\n\n[![Build status](https://ci.appveyor.com/api/projects/status/nysjiju410w0trxm?svg=true)](https://ci.appveyor.com/project/ogaudefroy/tempdataforwebforms) [![NuGet version](https://badge.fury.io/nu/TempDataForWebForms.svg)](https://badge.fury.io/nu/TempDataForWebForms)\n\nThis component might help you when mixin ASP.Net WebForms navigation flow with ASP.Net MVC navigation flow in the same application.\n\nImplementation is made with a custom HTTP Module implementing as following:\n - On [PostMapRequestHandler](https://msdn.microsoft.com/en-us/library/system.web.httpapplication.postmaprequesthandler%28v=vs.110%29.aspx) fills the HttpContext.Items[HttpModule.KeyTempDataItems] with the tempdata loaded from the tempdata provider.\n - On [EndRequest](https://msdn.microsoft.com/en-us/library/system.web.httpapplication.endrequest%28v=vs.110%29.aspx) clears tempdata if not in a redirection process.\n\nITempDataProvider implementation is resolved with ASP.Net MVC [DependencyResolver]() with the following behavior:\n - If an [ITempDataProviderFactory](https://msdn.microsoft.com/en-us/library/system.web.mvc.itempdataproviderfactory(v=vs.118).aspx) implementation is registered then create a ITempDataProvider via [CreateInstance](https://msdn.microsoft.com/en-us/library/system.web.mvc.itempdataproviderfactory.createinstance(v=vs.118).aspx#M:System.Web.Mvc.ITempDataProviderFactory.CreateInstance).\n - If an [ITempDataProvider](https://msdn.microsoft.com/en-us/library/system.web.mvc.itempdataprovider(v=vs.118).aspx) implementation is registered then return the registered implementation.\n - Return a [SessionStateTempDataProvider](https://msdn.microsoft.com/en-us/library/system.web.mvc.sessionstatetempdataprovider(v=vs.118).aspx)\n \nTypical use case: flash messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogaudefroy%2Ftempdataforwebforms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fogaudefroy%2Ftempdataforwebforms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fogaudefroy%2Ftempdataforwebforms/lists"}