Question: PLEASE WRITE IN C# I WILL THUMBS UP ON RATING Create a properly formatted URL string and present it in the Console based on input
PLEASE WRITE IN C#
I WILL THUMBS UP ON RATING
Create a properly formatted URL string and present it in the Console based on input from the user and a provided URL format.
This application provides experience with user input and interaction in the Console, manipulating and building strings, working with characters, URI/URL formats and rules, structuring programs, and writing programs in C#/.NET.
The following is the format for a URL that is to be generated by the program.
https://companyserver.com/content/[project_name]/files/[activity_name]/[activity_name]Report.pdf
The [project_name] and [activity_name] are placeholders for pieces of information that go in the string. The [ ] do not get included in the string. They surround an identifier for the piece of information and are not part of the content.
So, if [project_name] is "DesignLab" and [activity_name] is "Furnishings" then the URL is to be https://companyserver.com/content/DesignLab/files/Furnishings/FurnishingsReport.pdf
..
Result URL: https://companyserver.com/content/Design%20Lab/files/Network%3EImplementation/Network%3EImplementationReport.pdf
Your application, when run, is to prompt the user for the Project Name and the Activity Name. If the input is invalid, the user should be re-prompted for the input with a feedback message. After the input is successfully received, the URL string is to be created based on the rules above and presented to the user in the Console.
After the URL is presented, the user is to be prompted if they want to create another URL. If they do, prompt them again for input. If not, exit the program.
The goals for this program are:
1.Make it work according to the rules.
2.Create a good user interaction. Care about how the program presents itself, how input is requested, and what feedback messages contain.
3.Create a well-design application. Structure your application so it is modular and clean. Really think about how you are going to structure the data the app uses as well as the classes and functions. For the characters that needed to be converted to URL encoded values, think about how to do that so it is efficient and clean. Think about how easy it would be to add additional characters that are to be converted at a later time.
4. Write the functionality yourself. Do not use a library function to URL encode the strings. Yes, a function exists that will take strings and convert them to URL encoded strings. You are not to use it. You are to write the code to perform the required operations yourself.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
