我如何将文章发布到我的网站?我的意思是动态网站。 [英] How Could I Post Articles To My Site?I Mean Dynamic Site.

查看:55
本文介绍了我如何将文章发布到我的网站?我的意思是动态网站。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我怎么能用asp.net制作一个动态网站?

Hi every body.
How could i make a dynamic site with asp.net?

推荐答案

这真的不是一个问题我们可以在一个小文本框中回答!



文章等并不困难:最简单的方法是让用户上传你存储的文件然后再回传无论是谁在读书。存储也很简单:数据库甚至是直接连接到服务器的文件系统 - 但是你可能需要注意内容,因为当你提供服务时,HTML会被执行,所以如果你不小心,XSS会成为一个问题。例如,PDF文档是一个很好的安全选择,因为XSS不是问题。



除此之外,设计您的网站。找出您想要提供的内容,以及如何组织显示,然后确定您需要提供的存储和处理。但是这种事情以前已经做过很多次了,所以谷歌应该可以帮你找到一些例子。



祝你好运!
That really isn't a question we can answer in a small text box!

Articles etc aren't difficult: the simplest way is to let the user upload files which you store and then serve back to whoever is reading. Storage is also simple: a database or even direct to the file system of your server - but you will probably need to be careful about the content as when you serve it back HTML is executed, so XSS becomes a problem if you aren't careful. PDF documents for example are a good safe choice as XSS is not a problem.

Other than that, design your site. Work out what you want to provide, and how you are going to organise the display, then work out what storage and processing you need to provide behind it. But this kind of thing has been done loads of times before, so Google should be able to help you find some examples.

Good luck!


这篇关于我如何将文章发布到我的网站?我的意思是动态网站。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆