Search code examples
c#asp.net-mvcclone

Clone intranet site, but replace content pane with own content


I'm working at a small company within a rather large company, where I don't really have control over our intranet. I have built a little site/page, and I want it to style exactly like the intranet pages.

I know I can download the stylesheets and start hacking away, but I need the links and the menu's to be up to date.

I'm working with asp.net mvc 2 here, but I've no idea how to go further from here. Thoughts?


Solution

  • You will need to copy the CSS etc.

    About the menu - you will need to do the fallowing

    use WebRequest for getting the new data, Use Html Agility Pack for parsing the page, And use XPath for getting the relevant data - I will recommend using caching for this