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, Professional w/Adv. Degree
Category: Homework
Satisfied Customers: 1757
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

This answer was rated:

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
Hello again. Thank you for requesting me.

Do you have more detailed requirements? If you have a document, you can upload it to

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 4 years ago.

Give me a moment. I will put something together

Customer: replied 4 years 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?


Send me the login page.

By when is this required?
Customer: replied 4 years ago.

Here's the login page.

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.

Thank you.

I will contact you once this is complete.
Customer: replied 4 years ago.

Thank you!!!

Customer: replied 4 years ago.

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

Thank you
Customer: replied 4 years 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.

Thank you
Hello again!

You can download the completed project here:

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 4 years ago.



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 = ""? 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:


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.


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. 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 4 years 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.

    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:


    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 4 years ago.



    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.

    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
    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:

    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 4 years ago.

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


    You need to spend $3 to view this post. Add Funds to your account and buy credits.
    TheDoctor and 3 other Homework Specialists are ready to help you
    Customer: replied 4 years 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 4 years 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.

    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, 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 4 years ago.

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

    No problem.