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 8311467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:49:30+00:00 2026-06-08T19:49:30+00:00

Where does inline datasource (sqlcommand + connectionstring + parameters) compile to in ASP .net

  • 0

Where does inline datasource (sqlcommand + connectionstring + parameters) compile to in ASP .net (its not in the ViewState)?

So it’s not in the HTML when I view the source of a page, and it is not the ViewState if I decompile it. So does it compile to the same location as the aspx.vb/ aspx.cs file?

Is there thus no differenct wrt security of using an inline piece of code in the aspx file,
than using the same query in the aspx.vb/cs file?

  • 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-08T19:49:33+00:00Added an answer on June 8, 2026 at 7:49 pm

    ASP.NET inline code get compiled into dll to the Temporary ASP.NET Files Folder, see ASP.net compiled dlls

    Although I would strongly recommend to not leave any inline code that has no formatting purpose, especially data access layers.

    As for your concern about security, you inline-coded connection string is visible to anyone that have read access to the Web site folder, and to anyone that have read access to the Temporary ASP.NET Files Folder on the server, but, using IIS, it won’t be accessible to anyone browsing your web site through http(s) protocol.

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

Sidebar

Related Questions

While we can add Inline Images in paragraphs there does not appear to be
Is there any particular reason why chrome does not respect display:inline when it's used
Does the .NET CLR runtime know how to optimize/inline simple property getters at runtime?
Why does the following implicit DataTemplate not work? Only the commented inline DataTemplate will
I'm not sure what this inline assembly does: asm (mov %%esp, %0 : =g
gcc does not like the following code: inline const plus(unsigned x,unsigned y) __attribute__((pure)); inline
I was interested to know whether or not asp.net is allows us to dynamically
I know its simple but: fieldset label.inline does mean that all labls with the
This does not work <h:form style=display: inline;> <h:outputLink value=#{title.link} > #{msg['g.readMore']} <f:ajax event=click immediate=true
If I make a function inline does it change its linkage to internal linkage?

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.