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

  • Home
  • SEARCH
  • 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 5844437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:17:31+00:00 2026-05-22T12:17:31+00:00

im trying to build a application or a method that goes through all of

  • 0

im trying to build a application or a method that goes through all of the views in the project and search for a certain string “EXAMPLE_”.. kinda like the visual studio search (through a method, im not trying to build a extension), but difference is that im gone perform a task when it finds one (that is figured out)

now my problem is trying to figure how to do get started to read a mvc view and search for a string(s), is this possible to do?

ill figure the rest I just need some pointers on how to get started. Anybody?
Tried to search for this but get bad results only.

would appriciate it.

  • 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-05-22T12:17:32+00:00Added an answer on May 22, 2026 at 12:17 pm

    It sounds to me like you just need to point to a directory on the file system and read all files that end in the extension you are targeting (.aspx, .cshtml, etc.), and perform a parse routine on each one. If so, take a look at the System.IO namespace, starting with:

    Directory.GetFiles()
    

    Have a look here:
    http://msdn.microsoft.com/en-us/library/wz42302f.aspx

    Though, if you’re going to do that I would think you could leverage the indexing services on the machine if they are present to avoid a lot of IO processing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to build a reusable $.ajax method for my current application but I'm
I'm currently trying to build an application that inherently needs good time synchronization across
I am trying to build an Eclipse application that would work with a linux/motif
I'm trying to build a modular application that contains the shell application and subsequent
Trying to build a GUI application in Java/Swing. I'm mainly used to painting GUIs
I'm trying to build a console application without using the CRT, or any other
I am trying to build an iPhone web application using ASP.NET. The page is
I've been trying to build a simple prototype application in Django, and am reaching
I'm trying to use NAnt/NAntContrib build script to build a web application on Windows
I'm trying to build an Eclipse RCP application, and in the process, we're trying

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.