asp.net - How to return ASP as an ActionResult? -


In my ASP.NET MVC project, I need to return some pages in a database-driven way, i.e. ASP page code is stored in the database, I retrieve it need to.

I tried to use it ContentResult, but the problem is that all the special characters representing the server-side script are coming in verbally and being displayed in the browser.

How do I work as an action page, not in the form of content, how do I return an action receipt?

You can not do ASP (active server page) meaning web server And on server-side only. You have to write something like Javascript to your own client-side ASP interpreter, which you want to do (who knows, maybe it already exists - I have not seen). But it sounds like a very, very bad idea.

Comments