I am an ASP .NET novice, but generally not so new in programming. I am creating a commercial website, and I want to allow an administrator to add new articles (an article has different properties like text, images and category). I am trying to decide the optimal model opera. This site is commercial, so SEO is a major idea. This means that I should be "unique" to each URL. That is, if a person goes to an article about Ruckun, then he should be redirected to www.mysite.com/articles/raccoons. This means - I can not have a page that loads the appropriate article dynamically aj laaxe (deep linking)
So how can I fix this? Let's say that the administrator entered his text, uploaded the images and set the properties of the article. I create a new subfolder, save images on the server (I think the saving of images in DB is not large), their addresses in a DB, and the contents themselves in DB. But what now?
How do I create an actual page?
Is there a function to create a new aspx file? So what about its related CS file? Or is it stupid to use aspx? Maybe plain HTML? But then how does it work with the master page of my site? Or maybe to make a second copy of a normal ASPX file which is populated with an article according to one parameter?
I would like to know that before I immerse very deeply, what is the "smartest" approach?
You can consider ASP.NET MVC for this. You need more than a blog instead of content management system, as you mentioned that an administrator will add an object.
By using ASP.NET MVC, you have a very clear implementation, your url will remain for SEO, you need it, you do not have to make ASPX pages on the fly, but the framework will give you your class file Let's deal with the new URL.
Comments
Post a Comment