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

Is there a way to get Swashbuckle to add OData parameters to Web API 2 IQueryable<T> endpoint?
How to display special characters in asp.net
Search first click doesn't work
Getting values from ASP charts and placing it into labels
Hosting self-contained deployment of .NET CORE - no dotnet.exe
ASP.NET empty url parameter causing error unhanded exception in web form aspx
Asp.Net core website update without server restart
Umbraco - Merchello email notifications
Windows Error Reporting - Not capturing w3wp.exe crashes
ASP.NET VB Unable to loop through nested XML elements with Linq
Are all incoming requests handled by AuthorizeAttribute in ASP.NET MVC?
Layout code stuck in an infinite loop ASP.NET Core
ChartImageHandler value path error
How to display a data table values in html table using angular js
angular-vb.net : How to pass angular variable to code behind
Ajax Editor: Image not displayed in chrome

Categories

HOME
airflow
internet-explorer
kendo-ui
netty
typo3
cors
jquery-plugins
django-middleware
watson-iot
where
ubuntu-14.04
app-store
richtextbox
opacity
meson-build
google-app-maker
mongoimport
facebook-sharer
fine-uploader
saucelabs
tag-cloud
owncloud
amazon-data-pipeline
hapijs
google-street-view
gpo
udeploy
spring-webflow
bug-reporting
ajaxcontroltoolkit
typedef
ecmascript-2017
priority-queue
continuous-fourier
mongoose-im
drombler-fx
uibarbuttonitem
oracle-nosql
luhn
dropdownbox
incapsula
geocomplete
mkdir
sdl-2
form-fields
ng-lightning
rbac
jvisualvm
rivets.js
confluent
e4
dynamic-linking
sharpdevelop
openpgp.js
sp
seyren
xamarin-test-cloud
overhead
shtml
pebble-js
abstract
computability
android-contentresolver
mojolicious
play-json
serial-communication
exchange-server-2007
tokudb
data-representation
teamwork
stderr
attiny
chunks
cordova-3
aiff
redmine-plugins
ccmenuitem
winrun4j
slimscroll
vbaccelerator
adabas
raddatepicker
wpa
windows-scheduler
cocotron
esi
big-endian
shapado
overlays
datarelation
webdb
code-golf
authkit
vista64
httpbrowsercapabilities
jettison

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