asp.net


.Net Web Application - Don't precompile


We recently converted a website made with .Net WebForms from a Web Site project, to a Web Application Project.
This is all well and good, except it's now a pain because to change any of our code-behind files we have to rebuild the whole site, whereas before all we had to do was save the code-behind file.
This means changing pages in logged in areas requires not only rebuilding the whole Web Application, but then logging in again for a user.
Is there a way to remove the precompile option while running locally so we can debug as we used to with a Web Site project?
I have tried removing the <compilers> section from the web.config, and also removed the <compilation> too, but neither seem to have made a difference.
EDIT:
I realise now I wasn't very clear. I'm talking about debugging the site locally, not when publishing.
No.
Web Application projects load from a DLL; they have no option to compile source at runtime.
You should specify a fixed validation & decryption keys in Web.config so that users don't need to log in again after deploying (more detail).

Related Links

Unable to call Javascript from Codebehind
copying ASP.NET project files with code to server
What are the app pool identity and account for anonymous access for?
autocomplete with asp.net generated json
Web.Config transformation of custom config section
image upload to file system [closed]
Architectural decisions about popups in web (.NET Vision)
Set-cookie is intermittently not being obeyed
Is there a way using ASP.NET to always run some server side code when a user leaves a page?
System.Diagnostics.Process.Start not work from an IIS
IIS 7 Error Codes
viewstate field completely missing in safari
What are the best practises to improve the application performace while using LINQ Queries?
difference between asp.net cache object and application object
How to retrieve the currently logged in user role name in textbox using vb.net?
Weird memory increase on application pool recycle

Categories

HOME
classification
logging
postgresql
swift3
ftp
netty
ssh
intellisense
where
okhttp3
sugarcrm
zabbix
pip
android-webview
osx-yosemite
activejdbc
aws-sdk-cpp
velocity
dynamics-crm-2011
vichuploaderbundle
osclass
mongodb-replica-set
webseal
powerpivot
gomobile
windowserror
poisson
oracle10g
scalatest
inspec
checkmarx
ipython-parallel
semantic-ui-react
jql
log4net-configuration
directions
postgresql-9.6
angularjs-resource
javax
repeat
border-layout
matrix-multiplication
word-wrap
motion
jquery-inputmask
azure-web-roles
tapply
irr
firefox-developer-edition
codepen
risc
html-entities
geminabox
g77
emacs24
history
ng-class
openxava
bioperl
stripes
strtol
alfred
dbi
weblogic-maven-plugin
treelist
innertext
bioconductor
biginsights
joomla3.3
eula
log-analysis
httpmodule
fiware-health
report-builder2.0
sat4j
step
debuggervisualizer
object-oriented-database
carrier
boofcv
facebook-likebox
myrrix
aspnet-compiler
listpicker
removeall
exi
cron4j
cryptarithmetic-puzzle
wpml
xcode4.6.3
dancer
joomla1.7
xcdatamodel
jquery-attributes
mdd
coderush-xpress
office-2003
moores-law

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App