Visual WebGui and ASP.NET
From Visual WebGui Wiki
| This article missing it's contents and needs writing. Please help contributing to this wiki and add contents. |
Contents |
Visual WebGui and ASP.NET
Future contents
This article should discuss how Visual WebGui relates to ASP.NET and how you can mix and match Visual WebGui and ASP.NET components (hybrid).
This could include references to ASP.NET Wrapper, AspPageBox etc..
HttpContext
For version 6.4.0Beta3 and later versions
See Version specifics for changes made to 6.4.0Beta3 and later versions.
Through VWGContext.Current.HostContext.HttpContext you can access the ASP.NET HttpContext class.
- Current ASP.NET HttpRequest - VWGContext.Current.HostContext.HttpContext.Request
- Headers of the current request - VWGContext.Current.HostContext.HttpContext.Request.Headers
- From within ASP.NET code you can get to the Visual WebGui Session object via VWGContext.HostContext.HttpContext.Session("WebGUI.Session")
For version 6.4.0Beta2e and earlier versions
Through VWGContext.Current.HttpContext you can access the ASP.NET HttpContext class.
- Current ASP.NET HttpRequest - VWGContext.Current.HttpContext.Request
- Headers of the current request - VWGContext.Current.HttpContext.Request.Headers
- From within ASP.NET code you can get to the Visual WebGui Session object via HttpContext.Session("WebGUI.Session")
Version specifics
References
See also
- FormBox control for placing Visual WebGui application inside of an ASP.NET application
Forum threads
- Calling ASP.NET directly from within your Visual WebGui application with redirect for example
- Calling Visual WebGui from within your ASP.NET application
- Implementing ASP.NET and Visual WebGui within the same project
- Support for URL rewriting
- Load a Visual WebGui app without the Form1.wgx in the URL
- URL rewrite on Global.asax level
- URL rewrite using custom router in Visual WebGUI
- Using ASP.NET Profile Provider with Visual WebGui applications
- Nasty IIS7 bug that can confuse sessions and give users access to other user's session
- Simulate multiple IIS worker processes by adding virtual folders to same physical folder
- Loading your mainform by only addressing the domain - use Default.aspx and here
- Changing favicon.ico - the icon showing in your browser's/tab's header (some troubleshooting here)
- Replacing favicon.ico file and another one here.
- Same SessionID will be used for two application that are on the same domain
- Hybrid web application (ASP.NET and Visual WebGUI)
- Trigger Visual WebGui ShowDialog from .aspx page
- Retrieving path and URL information for ASP.NET application
- Getting a Session Timeout event via Global.ASAX.Session_End
- Invoke the Click event of a hidden LinkLabel on an Aspx page
Articles
- How to embed a Visual WebGui form within an ASP.NET application
- Would you build an interactive keyboard operated order entry/overview in ASP.NET Ajax, in less than two hours? In Visual WebGui you would!
- WikiPedia on favicon
Videos
Other references
- ASP.NET on WikiPedia
- Unerstanding ViewState in ASP.NET
- More about ViewState in ASP.NET
- Configuring sessionState parameters in ASP.NET
- ASP.NET 4 and Visual Studio 2010 Web Development Overview
- ASP.NET 2.0 Breaking Changes on IIS 7.0
- HTTP Variables
- HttpRequest properties
- Getting various information about client via Request.ServerVariables, like client host address and possibly hostname
- Getting absolute path to your application using HttpRuntime.AppDomainAppVirtualPath
- Web Caching tutorial
- Auto startiing web applications
- Why threading is undesirable in ASP.NET
