asp.net - Precompiled + JIT in the same WebApp -
asp.net - Precompiled + JIT in the same WebApp -
i have website precompiled
. leaves aspx pages , bin directory upload server. @ times need create minor changes straight files on server. such spelling correction. if alter in aspx files able straight edit file , change. (no need build , deploy)
if have alter simple event can utilize aspx page , <script runat="server">
specify changed event (it overrides 1 time precompiled). e.g
<%@ page language="c#" masterpagefile="~/masterpages/mysiteskin.master" autoeventwireup="true" codebehind="article.aspx.cs" inherits="mayflower.website.article" %> <script runat="server"> protected void btnsubmit_click(object sender, eventargs e) //already exists in code behind { //code.... } </script> <asp:content id="content2" contentplaceholderid="cphcontent" runat="server"> <asp:button runat="server" id="btnsubmit" cssclass="contactbtn" text="submit" onclick="btnsubmit_click" /> </asp:content>
now trying add together class project need frequent code edits , don't want build , upload each time. class used in other classes need @ precompile time too.
i trying somehow set mycode.cs
file along other project files code gets precompiled , can't override adding newer version of class on server.
any ideas?
try this
publish in local , upload "app_code.dll" on server
asp.net
Comments
Post a Comment