Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
1. As a reader, I want see the ten articles list (five are most recently published, remaining five are most viewed) in my main pageso that I can read anyone of these.
2. As a reader, I want to read an article of a writer and readers’ comments.
3. As a reader, I want to comment in an article. (Only when I have logged in) so that writer or other reader can see my opinion/feedback there.
4. As an article writer, I want to create new article (Title, Body (consists of text and pictures) so that I can publish it later.
5. As an article writer, I want to write, save and publish my new article.
6. As a reader, I want to search articles with free textso that I can select anyone from the filtered article list.

Just needed an outline to solve the problem. How to approach? I am beginner in asp.net
Posted
Updated 8-Apr-16 9:02am
v2
Comments
Afzaal Ahmad Zeeshan 15-Mar-15 10:07am    
As a programmer, what have you done?

Outlining does not solve problems, coding does. So start learning to code in asp.net.
Get Started with ASP.NET[^]
 
Share this answer
 
v2
Comments
star_tasneem 15-Mar-15 15:31pm    
moja loss halar put???
For a beginner in ASP.NET, creating a BLOG is probably too ambitious to be useful as a short term goal.
You can find any number of places that will teach you ASP.NET C# (or VB). Some, such as http://www.asp.net/get-started referenced below, are free. My current favorite happens to be PluralSight.com. Your learning style will determine if video or text based learning is better for you.
If what you want is a blog, then I'd suggest DNN (DotNetNuke) which is written in ASP.Net C# - if you make it available to the public, keep it patched!

Since you've asked for an outline, I'll give you the start of one so you can think about it as you are learning ASP.NET.
Looking at the steps you listed:
· Authentication is an advanced topic, unless you happen to have experience in another programming language (and even then it can be a bear). So that leaves out authoring and commenting.
· Search is also an advanced topic, assuming you mean to implement something like CodeProject or Bing.

Here's an outline of what's left: (ignores authentication and search)
• Your best starting point is to design your interface with something responsive (Bootstrap, etc.) that has a header, a place for menu options (probably under the header or left side) and a space for your content. (If you have no HTML experience, ignore "responsive")
• Unless you already know databases, write your blog article(s) and save them in a text file, push them to the server and get them displayed (via ASP.NET code) in the content space. You'll use something like:
C#
StreamReader sr = new StreamReader("BlogText.txt")  { … } 
to get the content from the file.
• Once you can correctly display all of your blog entries, add functionality to display only a single one.
• When you can do that, create a way to move forward/backward between them.
• Then put them in a database and do the same thing
• With a database you have more functionality. You can track the publication date and the number of times that an article has been viewed
• Once you have that working you can do #1 above (display the five most recently published and the five most viewed
That should be a good start.
Once you've done all of that you'll be able to progress on your own :-)

Best wishes!
-Chris C.
 
Share this answer
 
Comments
Patrice T 9-Apr-16 17:42pm    
Question is 1 year old
One can guess he found a solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900