How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask TheDoctor Your Own Question

TheDoctor
TheDoctor, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1418
Experience:  M.S. in Internet Information Systems
Type Your Homework Question Here...
TheDoctor is online now
A new question is answered every 9 seconds

For TheDoctor Only. Hi I am back again. This is a continuation

Resolved Question:

For TheDoctor Only. Hi I am back again. This is a continuation from when you helped me with a server side .NET application to display information from an Access database. I now need to Create a web service in .NET that provides an algorithmically generated unique identifier. Include the date and time, and IP address in the identifier. I need to incorporate all of these: database, web services, and design elements (secure login page) to create and deploy a web application. I can provide you with
Submitted: 1 year ago.
Category: Homework
Expert:  TheDoctor replied 1 year ago.
Hello again. Thank you for requesting me.

Do you have more detailed requirements? If you have a document, you can upload it to http://ge.tt

Once uploaded, you will be given a link on the right. Click on the 'Copy Link' option and then paste it here.

Thank you
Customer: replied 1 year ago.

Give me a moment. I will put something together

Customer: replied 1 year ago.

Here's some info that hopefully is useful. Do you need me to upload the server side .NET Application you helped with last week and the login page?


 


http://ge.tt/3lnOR2b/v/0?c


 

Expert:  TheDoctor replied 1 year ago.
Send me the login page.

By when is this required?
Customer: replied 1 year ago.

Here's the login page. http://ge.tt/4PJBS2b/v/0?c


There may need to be some slight changes to it. Do you need more images? If possible by Saturday. I'll make sure I tip again.

Expert:  TheDoctor replied 1 year ago.
Thank you.

I will contact you once this is complete.
Customer: replied 1 year ago.

Thank you!!!

Customer: replied 1 year ago.

Adding one more picture. It's at the bottom of the document.


 


http://ge.tt/6Nn7U2b/v/0?c

Expert:  TheDoctor replied 1 year ago.
Thank you
Customer: replied 1 year ago.

I just received some more information that may be helpful to you.


 


The purpose of this assignment is to create a basic login page (your team could leverage someone's existing login from Week One) that gives a user access to view his or her profile, which should already be stored in the team's database. This is why the individuals creating dummy data in the Week Two assignment. Your sites can have additional pages and content, but I will not really address these except as they fit the aesthetics of the login and profile pages. Think about your own experience with websites when designing this. If you have to manage your account for a site, what does it look like and where would you find it? These are the considerations you want to take into account for your design.

I recommend that the web service launch from the profile page either with some sort of interface to create a new profile or from the existing profile page. The web service is required to create a single output that builds a unique identifier. For example, those of you familiar with GUID might know that these crazy-looking hexadecimal identifiers are derived from the date, time, and machine generating the ID. The team's web service is performing a similar function but with date, time, and IP address. The output could be in hexadecimal, if you really want to go there, but I would prefer plain ASCII output.

Expert:  TheDoctor replied 1 year ago.
Thank you
Expert:  TheDoctor replied 1 year ago.
Hello again!

You can download the completed project here:

http://wikisend.com/download/174880/MonkeyBar.zip

Open the default.aspx (which is your login page now).

Run it from that page. Then you will need to log in. You need to do so from the usernames and passwords from your database. So log in as:

Username: Cajay
Password: love4me2

When you log in, you are taken to an acknowledgement page that welcomes you by name (the first name of the individual you logged in as).

Then click on the "My Profile" page.

This will display all of your information.

At the bottom will be the unique identifier. It is a combination of IP address and the date and time. The IP address may say ::1, depending on your operating system. And that is accurate. ::1 is the IPv6 address for loopback (localhost). So it is 100% correct.

It displays this by using a web service called Unique which is found in Unique.asmx

So now everything looks consistent and all of the requirements are met.

Let me know if you have any questions.

Please remember to rate my answer. Thank you so much!
Customer: replied 1 year ago.

Hello,


 


I just finished looking over everything is it looks great! A few questions. I was looking in the Unique.asmx.cs file and what is Namespace = "http://tempuri.org"? I also was looking for the algorithm and was not sure if that's what I was looking at in the Unique file. I've seen several examples online and although I know there are many different ways to do this I wasn't sure how you came up with the algorithm and where it is located. For example I saw the following example to create a GUID online:


 


http://ge.tt/7555hDb/v/0?c


 


I'm asking because I'm sure I will have to explain how I came up with the algorithim.


 


Also, is there a way to put in some security so the members can only see their profile information? Right now I can login under any of the members and see all the other members user info.


 

Expert:  TheDoctor replied 1 year ago.
Hello again,

In the project requirements, your instructor states that you can generate a hexadecimal or other hash as a unique ID (exactly what the example you sent is doing).

But the instructor states in the instructions that he would prefer that you not do that. He states that he would prefer you to simply show the ip and datetime in plain text, readable format. This is exactly what I did. He is trying to get you to demonstrate the use of a web server, not a Guid. He states that he doesn't really want you to do that. I can implement your example, but you will be turning in what the instructor stated that he would prefer you not do.

http://tempuri.org is automatically put into all web services by Visual Studio. For the purpose of a course, you should just leave it alone. If you were doing this professionally, you might change it to a uri that you purchase and plan on hosting the project on. As it is standard Visual Studio and you are not publishing this professionally, just leave it.

I assume that you mean that once you log you can click on "users" or "members" and see all the database information.

To remove that access, simply do the following:

Open up Site.Master

Scroll down and you will see


    Delete the lines for Members and/or Users. That will remove those pages from the menu.
    Customer: replied 1 year ago.

    Okay thank you. I'm going to question the instructor again to make sure because many of the team members keep focusing on a GUID.

    Expert:  TheDoctor replied 1 year ago.
    From the follow up information from the instructor that you sent, she said that those familiar with GUID will know about the "crazy" hexadecimal. And then she states that you can use hexadecimal, if you want to go there, but she would prefer plain text (ascii).

    Here is an example of a GUID:

    30dd879c-ee2f-11db-8314-0800200c9a66

    That's a hexadecimal value. That's a GUID. You could convert it to a 128-bit long integer, which is not ASCII, it's a number.

    She stated that she wants ASCII, so she is stating that she just want the actual IP address and the actual DateTime in plain text. She states that you can go to all the bother of creating the GUID (hexadecimal) if you really feel like it, but she would prefer plain text.

    In identifier made up of the plain text of the IP address and the DateTime is unique for all practical purposes.

    Let me know what your instructor says.
    Customer: replied 1 year ago.

    Hello,


     


    I haven't received any feedback from the instructor yet, but I have yet another question. If I delete the User and Member lines from the Site.Master is there a way for me to still access those pages? My purpose is not to let all members see each others information, but the information to still be viewable to me or administrator.

    Expert:  TheDoctor replied 1 year ago.
    In order for information to still be accessible by you or an administrator, there would need to be some method of identifying a logged in user as an admin. Currently, there is nothing in your database file to make this possible. I could edit your database and then implement this change. Let me know if you want me to.

    Thank you
    Expert:  TheDoctor replied 1 year ago.
    Hello again,

    I went ahead and implemented admin functionality for the project. The only way to do this is to change the database to have an admin flag on users and then log in as a user who is flagged as an admin. I also added a logout option. Here is the project:

    http://wikisend.com/download/167880/monkeyAdmin.zip

    So you know, Cajay is not an admin. So when you log in, you will not have the option to go to members and users.

    However, Dontever is an admin. So if you log in as Dontever, dd22ff57, you will have the option to view those pages.

    Please remember to rate my answer. Thank you.
    Customer: replied 1 year ago.

    Thank you so much. I appreciate your help as always!

    Expert:  TheDoctor replied 1 year ago.
    THIS ANSWER IS LOCKED!

    You need to spend $3 to view this post. Add Funds to your account and buy credits.
    TheDoctor, Professional w/Adv. Degree
    Category: Homework
    Satisfied Customers: 1418
    Experience: M.S. in Internet Information Systems
    TheDoctor and 8 other Homework Specialists are ready to help you
    Customer: replied 1 year ago.

    Sorry to bother you again, but I do not see the IP address when I display the user profile. It only shows the date and time. Can you send me just the code to insert and where to insert it asap to display the IP address?

    Customer: replied 1 year ago.

    I just noticed my post was opened to all experts. I thought I could continue asking questions until satisfied? My apologies, I didn't notice until now that the IP address was not included.

    Expert:  TheDoctor replied 1 year ago.
    Hello again,

    The program does show the IP address.

    However, if you are running this project on your computer, then it is likely to show up as ::1

    Look at the unique string. Does it start with ::1?

    That is a valid IP address. It is called the loopback address. In IPv4, this would be 127.0.0.1, which is your local computer.

    However, the IPv6 version is ::1. That is the IPv6 loopback IP address. This only displays like this when you run it locally on your computer. But again, it is completely correct. That is your IP address.
    Customer: replied 1 year ago.

    Sorry, yes, I see that.. Thank you again

    Expert:  TheDoctor replied 1 year ago.
    No problem.

    JustAnswer in the News:

     
     
     
    Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
    JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
    Web sites like justanswer.com/legal
    ...leave nothing to chance.
    Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
    Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
    I will tell you that...the things you have to go through to be an Expert are quite rigorous.
     
     
     

    What Customers are Saying:

     
     
     
    • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
    < Last | Next >
    • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
    • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
    • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
    • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
    • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
    • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
    • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
     
     
     

    Meet The Experts:

     
     
     
    • Manal Elkhoshkhany

      Tutor

      Satisfied Customers:

      4520
      More than 5000 online tutoring sessions.
    < Last | Next >
    • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

      Manal Elkhoshkhany

      Tutor

      Satisfied Customers:

      4520
      More than 5000 online tutoring sessions.
    • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

      Linda_us

      Finance, Accounts & Homework Tutor

      Satisfied Customers:

      3121
      Post Graduate Diploma in Management (MBA)
    • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

      LogicPro

      Engineer

      Satisfied Customers:

      3035
      Expert in Java C++ C C# VB Javascript Design SQL HTML
    • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

      Lani S.

      Tutor

      Satisfied Customers:

      2457
      Registered Nurse, Internet Researcher, Private Tutor
    • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

      Chris M.

      M.S.W. Social Work

      Satisfied Customers:

      2341
      Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
    • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

      F. Naz

      Chartered Accountant

      Satisfied Customers:

      1975
      Experience with chartered accountancy
    • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

      Bizhelp

      CPA

      Satisfied Customers:

      1873
      Bachelors Degree and CPA with Accounting work experience