I'm creating a web-site similar to http://www.face-pic.com %26amp; http://www.myspace.com. I want to create a user profile which can do the following features
1) I want a website where users can send messages to other users
2) Logged in users must be able to upload images which are stored for individuals (just like my space). For example I want users to upload images to their individual’s profile, when they return the images are still there. But other users are not permitted to edit other user’s images.
3) Other users are only allowed to view other profiles.
4) I want users to be able to edit their profile, the problem that I’m having is that I have three pages called “myAccount” “Edit profile” and Profile. MyAccount takes the user to edit profile where they can enter general information like age hobbies etc. I want this information to be stored for that user only and to be taken from the edit page to the profile page which is shown to general users.
A feedback page
A simple forum
All of this must be done in Visual Studios 2005 using ASP.NET in C#
Can anyone provide information (websites or books, Clear step by step guides with pictures and examples) where I can accomplish this asap (where it takes me 2 days to finish)
Thanks
Create a user profile in asp.net using Visual Studios 2005 in C#?
I think you've chosen the wrong technology to build a website that will run out on the Internet!
Apache servers are the most common. Only a few ISPs run IIs with asp support.
Reply:You are going to need store the user's ID in a session or cookie and from there you will be able to retrieve it from each page and use it accordingly, ie to load user specific account/images. An example of sessions/cookies in C# can be found here:
http://dotnetjunkies.com/QuickStartv20/a...
http://www.codeproject.com/aspnet/Transf...
You would also check on everypage whether a user is logged on or not and from there you can decide whether to show the profile information or not.
eg:
If the user is logged in display the relevant profile, or allow the user to view other users profiles. If the user in not logged in then redirect them to the login/register page.
Hope this helps. Happy coding.
Reply:Appache can be configured to run asp.net with Mono.
Getting free web hosting in .net is fairly easy, getting free hosting to include SQL2005 is next to impossible. You might incorporate MySQL for a database and possible have better luck for free hosting. There are videos below in the links, but to be able to build a forum and get it in working order in under two days is asking too much. Maybe a month.
avender
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment