Are you looking for a .NET development framework for you? Are you a faithful support for the MVC structure?
Mavrick.net is your best choice! Mavrick.net is the .NET MVC framework software of Open Source, you can pass
Http://mavnet.SourceForge.NET/ Download the latest version and instructions. The following is some of MAVRICK.NET: a system of demand: 1. Operating system: Win2000 (including IIS) 2. MS .NET SDK two installation process: 1. Unwraway Download Mark Downloading Marvice.NET Installation Pack 2. Open IIS settings three virtual directory Friendbook -> corresponds Maverick / examples / Friendbook directory Friendbook-xsl -> corresponds Maverick / examples / Friendbook-xsl directory Calendar -> corresponds Maverick / examples / Calendar virtual directory in the directory Friendbook 3. click the right mouse click configuration, In the pop-up window, set the executable to:
C: /Winnt/Microsoft.net/framework/v1.0.3705/ASPNET_ISAPI.DLL Add Press the name: .m 4. Access http:// localhost / friendbook three system analysis
"Maverick.config" is the core of mavrick.net, his features are in struct
Struts-config.xml function is the same
-------------------------------------------------- -----------------------
----------
-------------------------------------------------- -----------------------
---------- This example only defines a Command, Runquery, which contains two views "Success" and "Error".
Call the PerForm () method in this class, and jump to the relevant View to the relevant View, perform subsequent logic based on the return result of this method.
-------------------------------------------------- -----------------------
---------- // Classname: Bar.Foo.Query.cs using System; namespace Bar.Foo {public class Query: ControllerProtected {public override string Perform () {if (loginSuccessBool) return SUCCESS; else Return Error;}}}
-------------------------------------------------- -----------------------
---------- Four, some program code <% @ Page%> <% context.response.redirect ("welcome.m");%>
XML Version = "1.0"?>
Default-transform-type = "document"> maverick> <% @ Page%> <% context.items.add ("Title", "Welcome");%> Welcome to The Friendbook Example. this is a Simple Contact- List Application Which Demonstrates How To Create a MemberShip-Based Website with MAVERICK. P> <% Context.Items.add ("dest", "friends.m"); context.server.execute ("loginform.aspx");%> <% @ Page%> TYPE = "text / css" /> head> COLSPAN = "2"> HREF = "Welcome.m"> login HREF = "signup.m"> Sign Up <% = Context.items ["wrapped"]%> body> html> Hope to improve!
<% = context.items ["title"]%> h1> td> tr>