This is a simple ASP.NET MVC application that allows users to upload a photo and convert it to a Base64 encoded string.
- Upload a photo file.
- Convert the uploaded photo to a Base64 encoded string.
- Display the Base64 encoded string with line breaks after every 50 characters.
- Preview of the uploaded image.
- Clone this repository to your local machine.
- Open the solution in Visual Studio.
- Build and run the application.
- Navigate to the "Upload Photo" page.
- Choose a photo file and click "Upload".
- The application will convert the photo to a Base64 encoded string and display it with line breaks after every 50 characters.
- You can also see a preview of the uploaded image.
- C# ASP.NET MVC
- HTML
- CSS (Bootstrap for styling)
- JavaScript
Controllers/
: Contains the controller logic for handling HTTP requests.Models/
: Contains the model classes.Views/
: Contains the view templates.wwwroot/
: Contains static files such as JavaScript, CSS, and images.