Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8788447
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:08:45+00:00 2026-06-13T22:08:45+00:00

I am using Visual Studio 2010, Web test project. A web request has a

  • 0

I am using Visual Studio 2010, Web test project.
A web request has a property of html body which is encoded to base64 when it is saved to file system.

The problem is when I am trying to search for content of html body (that encoded in base64) in solution. Normal search won’t search inside these strings. What is the best way to search, preferably using the VS2010 IDE? (macro, extension, some external tool…)

Example of xml file that I would like to search ins:

<StringHttpBody>tAC8AWQAiAA0ACgB9AA==</StringHttpBody>

I expect to get existence confirmation – does this base64 string contains some encoded word

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T22:08:46+00:00Added an answer on June 13, 2026 at 10:08 pm

    You question isn’t very clear, but if you’re talking about searching in an encoded string, I don’t think you have a choice but to decode it and then search. It isn’t that complicated though:

    public static void SearchInBase64(string encodedData, string searchText)
    {
      byte[] encodedDataAsBytes
          = System.Convert.FromBase64String(encodedData);
    
      string decodedValue =
         System.Text.ASCIIEncoding.ASCII.GetString(encodedDataAsBytes);
    
      // Perform search on decodedValue
      ...
    
    }
    

    Update:
    Based on your updated question, if you want it to run directly from the VS2010 IDE.
    Create a simple program based on the above logic which receives the 2 strings from the command line. Then add that program as an external tool using:

    Tools -> External Tools
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Visual Studio 2010 to do a Load test against a web
We are developing a REST based application using Visual Studio 2010, using asp.net web
using Visual.Web.Developer.2010.Express; using SQL.Server.Management.Studio.2008.R2; What I'm ultimately trying to do is update a sql
using Visual.Web.Developer.2010.Express; using SQL.Server.Management.Studio.2008.R2; Kinda new at C# here.. I got the first row
I am using Visual Studio 2010 to create a setup project for my .NET
I am using Visual Studio 2010 SP1 Ultimate on a c# class library project
I am using Visual Studio 2010 and using web deployment to promote the .Net
Using Visual Studio 2010, I developed a WCF service hosted on a web application
I'm using Visual Studio 2010 and I'm putting web browser into my program. So
I'm using Visual Studio 2010, and I've got a service reference to a web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.