开发者

Static HTML page navigation into an ASP.NET.MVC application

I'm sure there's a simple answer but I can't think of it.

I'm working with a designer who is using Dreamweaver to produce a series of static HTML pages and style sheets. These pages navigate to each other using standard anchors.

However, on a couple of pages there needs to be a navigation to a page under ASP.NET.MVC 2 (from here I do all the coding stuff to the backend) 开发者_如何学Gowhich has Form input etc.

What is the best way to ...

1: Navigate from a standard HTML page into ASP.NET.MVC 2(Home controller)

And/Or

2: The best way to have ASP.NET.MVC output the static HTML pages. Meaning the ASP.NET.MVC controller reads the static HTML (from a cache) then outputs it to the View

Hope this makes sense, thanks in advance. Any links will be very much appreciated


If you're going to the root of an MVC-based site, if would just be the URL as the index view of the home controller is usually the default. Something like http://www.website.com. However, if you want a specific controller/view then the the syntax would be http://www.website.com/{controller}/{view}.

HTH

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜