Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Open Web Interface for .NET

From Wikipedia, the free encyclopedia
Web server interface standard
OWIN
Original authorCommunity-owned
DeveloperOWIN Community
Written inC#
Operating systemCross-platform
Platform.NET Framework,.NET Core
TypeWeb server interface
LicenseOpen-source
Websiteowin.org

OWIN (Open Web Interface for .NET) is a standard for an interface between .NET Web applications and Web servers.[1] It is a community-owned open-source project. Prior to OWIN, Microsoft'sASP.NET[2] technology was designed on top ofIIS, and Web applications could not easily be run on another Web server (although note that despite this the Mono community developed several ASP.NET compatible Web servers, such asXSP).[citation needed]

OWIN aims to decouple the relationship between ASP.NET[1][2]applications and IIS by defining a standard interface. Developers of Web servers can be sure that, if they implement OWIN correctly, ASP.NET applications will run on their server. Similarly, newWeb frameworks could be developed as an alternative to ASP.NET. As long as they target OWIN, they will run on any OWIN compatible Web server, including IIS.[3][4]

In this regard, OWIN aims to do for .NET whatJava Servlet andServlet containers do for theJVM. Project Katana is a set of OWIN components for ASP.NET (.NET Framework) built by Microsoft.[citation needed] ASP.NET Core (.NET) has its own middleware system that is similar to OWIN.

OWIN as middleware

[edit]

In addition to decoupling Web frameworks and Web servers, OWIN allows chaining togethermiddleware into a pipeline. A Web framework can interact with OWIN without knowing whether it is interacting directly with the underlying web server, or with one or more layers of middleware (each implementing OWIN) on top of the Web server.[5]

This allows infrastructure concerns, such asauthentication, to be split out into separate modules. This is desirable as it decouples them from the application's own code, and makes them reusable across applications. In Project Katana, Microsoft has made into OWIN modules several ASP.NET features that were previously part of the core ASP.NET framework.[6] This allows them to be reused in other Web frameworks, and also ensures a cleaner separation from the application using them.

See also

[edit]

References

[edit]
  1. ^abChonkar, Swapnal."Open Web Interface For .NET (OWIN)".www.c-sharpcorner.com. Retrieved2024-12-04.
  2. ^abardalis (2024-12-02)."Open Web Interface for .NET (OWIN) with ASP.NET Core".learn.microsoft.com. Retrieved2024-12-04.
  3. ^Freeman, Adam (2014-09-16).Expert ASP.NET Web API 2 for MVC Developers. Apress.ISBN 978-1-4842-0085-8.
  4. ^Zamora, Jodi.OWIN for IT Students. North Charleston, SC, USA: CreateSpace Independent Publishing Platform.ISBN 978-1-5330-4532-4.
  5. ^Praburaj (2022-09-30)."OWIN Middleware in the IIS integrated pipeline".learn.microsoft.com. Retrieved2024-12-04.
  6. ^howarddierking (2023-06-15)."An Overview of Project Katana".learn.microsoft.com. Retrieved2024-12-04.

External links

[edit]
Protocols
Server APIs
Apache modules
Topics
Browser APIs
Web APIs
WHATWG
W3C
Khronos
Others
Topics
Related topics
Retrieved from "https://en.wikipedia.org/w/index.php?title=Open_Web_Interface_for_.NET&oldid=1310381578"
Category:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp