Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Compiler/Interpreter

Compiler/Interpreter

Scheduled Pinned Locked Moved C#
questioncsharpasp-nethelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    softp_vc
    wrote on last edited by
    #1

    Hi Friends Here is a simple question in which im confused. when we build our ASP.NET project . Does it get compiled or gets interpreted. I know that many of us think that it is compiled but when i build my project i get the error one by one. this means that it is interpreted. If any one knows what is this please do let me know. Naveen

    C 1 Reply Last reply
    0
    • S softp_vc

      Hi Friends Here is a simple question in which im confused. when we build our ASP.NET project . Does it get compiled or gets interpreted. I know that many of us think that it is compiled but when i build my project i get the error one by one. this means that it is interpreted. If any one knows what is this please do let me know. Naveen

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      ASP.NET is compiled. This is most obvious if you are using code behind files. If you are embedding C# code into the aspx pages then the first time the page is encountered .NET will compile the C# in to an assembly and this may look as if it is interpreted if you get the errors "one by one" as you navigate through your site - however it is all compiled on the fly and a second visit to the same page will not trigger the compilation process unless the ASP.NET process realises that the aspx page has changed. Alternatively, you could just be seeing normal runtime errors. However, as you say "when i build my project i get the error one by one" that suggests that you are getting compile time errors, but every time you correct one it unhides another. If you need more help then you need to explain how you've built your application and what errors you are getting and exactly where they are occurring.


      "If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups