1

The problem I'm having with writing a web application architecture is that I want separate components that work together. By this I simply mean, for example, a navigation bar and the actual page content (as well as a header, which is static) in ASP.NET.

Now, here's where it gets interesting:

  • There are no two pages the same
  • The navigation pages on every page have security on them on a user-by-user basis
  • The navigation has links to other locations

The problem I'm mainly having is that you've usually got to have a full web page in Visual Studio, and if you have portions i.e. excluding your <html> tags then Visual Studio will end up underlining everything as incorrect.

The way is this application is currently being dealt with is using frames (yes, frames) to keep everything separate, but working together. I want to move away from this, although the web system is very large, and very important in that it must be available 24/7.

Any ideas?

3 Answers 3

4

Have you looked at Master Pages in ASP.NET 2.0? These can be used in conjunction with User Controls, and the Site Map Navigation.

Sign up to request clarification or add additional context in comments.

1 Comment

They're a bit more than a simple template.
0

There's a really good book you should check out that might shed some light on your problem. It's "ASP.NET 2.0 Website Programming: Problem - Design - Solution", part of the Wrox series.

Comments

0

Is it not possible to implement UserControls for this? for example a navigation user control that can handle the security for itself etc etc.

Hope this helps a little.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.