Click here to Skip to main content
15,904,655 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,
I want to develop a blog in asp.net.I am new in web development. i am having a problem in development.
can somebody give me rough idea of:

How to save articles for blog?
Whether its good idea to use XML for saving article's data?

I have used .txt && .doc file for data saving but when i click on link associated with that .txt or .doc file, it opens in separate file rather than in targeted page with master page applied on it.

I know these are very basic questions but i am having problem in this.
Help me, just a rough idea, that how to save articles, in which file e.g .txt etc .

For example, codeproject.com; there are links whenever we click on particular link article associated with that link opens.

Regards
Posted
Comments
bbirajdar 29-Apr-12 4:10am    
Reason for my vote of 1
Homework
bbirajdar 29-Apr-12 4:12am    
You need to join a professional course in asp.net to learn all these things...

Hi
you can use the XmlDataSource control
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.xmldatasource.aspx[^]

There will be plenty of articles online , for example : http://www.4guysfromrolla.com/articles/092706-1.aspx[^]

I would not recommend using a .txt or .doc as a datasource but of course it is possible.

I suggest you start off by taking a look at the asp.net samples particularly blogengine.net and subtext http://www.asp.net/web-forms/samples[^]
 
Share this answer
 
I will answer two major questions for you and point you in the right direction

How to save articles for blog? Whether its good idea to use XML for saving article's data?

You can wither put them in a database or XML file but which one you choose depends on scale. If you need to serve a lot of visitors then perhaps database like sqlserver is the best option. If ou want to run it in intranet then XML could also be a good choice.

Now you can find this blogengine useful to understand the various ASP.NET, degign and n-tier architecture related issues.

YaBlogEngine - A Tiny Blog Engine written in ASP.NET/C#[^]
 
Share this answer
 

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