tags:

views:

26

answers:

2

I'm new @ linq and can't find anywhere where it mentions if the dbml or other files are necessary to deploy with a website.

A: 

Just use the Publish command on the web site. It knows what needs to be deployed.

John Saunders
ok, thanks. Confirmed that the dbml file(s) are not needed.
A: 

That's actually compiled into the dll generated for the site, so even if you deploy your site with all the files if you change any of the .cs or .vb code files directly on the deployed folder nothing changes, the only things that you can alter and change the behaviour of the website are the .aspx, .master, .css, .js (and some other non compiled files)

Notice that you deploy with the option "Only the Necessary files", those pages won't even go to the deploy directory.

Gabriel Guimarães