I fired up my first asp.net 4 app put together with visual studio 2010 and IIS doesn't seem to compile my code behinds on the fly for some reason, I have to build the site manually.
How do I configure my app to compile code behinds on the fly? I looked around but I must be missing something. Never had this issue before.
I previously crate website in framework 2.0 before one year and there is working good on server. But Currently I download same site on my local machine and configure again in Visual Studio 2008 with framework 2.0 compiler then do new changes on site and it running good on localhost.But the same code I upload on server again They can't work code properly.In new code I changes some XML file that retrieve data and save data, but I add new code in this XML file so it can't work with new code but previous code is working as good as previous.
Working with Visual Studio (I'm using 2008) I have started to notice that when you save a file in the /App_Code folder, the program will hang for a bit before returning control. After a bit of research, I have learned that there's an auto-compile feature at work, which I assume is what is slowing down my system.
So the question is this: Is it possible to turn off the automatic compiling of files in the /App_Code folder? Or, even better, is there a way to reduce the time that it takes, or make it work a little more smoothly in the background?
Is to possible to make a configuration entry (web.config). That automatically compiles a referenced project(for example a class library) when the site runs? This would be easier for me to maintain on my hosting server. Otherwise i have to always recompile the files and upload them again for every small change.
I have a complete web application code created by other developer using asp.net c#. I am trying to deploy it on IIS 7.5 on windows 7.
In this application, there is a root folder that contains very less code files & one web.config file. This code is online currently & when we open the url, it redirects to the sub folder which is
http://******.com/pages/home.aspx
On IIS when I try to open this same path locally as http://localhost/test_project/pages/home.aspx
Recently, I downloaded the source code (not Binaries) of latest AJAX toolkit and introduced some changes in Calendar extender. Now, I would like to build the DLL out of it so that I can add it to my project and use it. Now, when I am trying to build DLL, it fails. It never compiles for me. Infact, I am not sure which project/application file exactly do I need to run.
Every-time, I try to open any Solution/Project, I get exceptions either for some missing files or folders. I have both VS 2005 Pro and VS 2008 Express Edition installed. I need the libraries to be compatible with Framework 3.5.
I'm using vs2010, asp.net 4 webform.Is there anyway which i can update a code behind file (ascx.cs) file without compile the whole site.because i just want to debug some ascx.cs file, and compile a big whole site will cost 1 minutes at least.
I have a tab control and inside that i have dropdown list control with auto post back enabled when ever i selected an item from the dropdown post is woring fine in IE and Chrome. But not well in the Mozilla Fire Fox.
I have my body height to 100%. I then have a containers height set to 100%. If the window is smaller than the content of my container a vertical scroll bar is added but when I scroll down my container div is no longer 100%.
Please see the attached image.
I then add overflow:auto which sort of works but because it puts a scroll bar inside my container and not the window and my two images are the width of the container they no longer fit next to each other. grrrrr.com
I need my main container to extend with its content with out scroll bars because if the vertical scroll bar shows there is not enough to have my two images side by side.
How am be able to redirect a page after 5 seconds through code behind file? I cannot simply type Code: Response.Redirect("page2.aspx") But is it possible if I'm going to do it through meta tag even if my page is under a master page file?
When i create a new class on data layer,i can access that on business layer by creating object of that class.
but when i create a new "public class" on business layer i cant access that on presentation layer.
another thing is, after building business layer if copy Business.dll,Business.pdb,Data.dll and Data.pdb from business layer to presentation layer "BIN" i can access that class
I am developing an app that needs a user to be logged in to function. I am developing the app and it kills me to to ALWAYS have to log myself in everytime I start the applicatiion for debugging (300 times a day...)How can I have my app log myself in in code behind everytime I start the application?
I tried this in the master page but did not work
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
I am running Visual Studio 2008. I cannot get the auto format to work on the source code of my aspx page. I have tried it from the edit menu and the ctrl K, D. Nothing works. If I manually fix everything, the next time I open the file the formatting is gone. Here is a sample of what it looks like:
I've added a ASP.Net Web Control Project to my Solution. The server controls within this project are added to my ToolBox automatically when building. However, their custom icons specified with the ToolboxBitmap attribute are not. If I add these controls to my toolbox manually with the "Choose Items" dialog, the custom icon appears properly.
Is there any way to get this to work for the auto-added controls?
I'm using ajax autocomplete extender(from database). Its working fine in content page. But its not working in Master Page. I'm using VS2008. I'm using webservice...
I am developing a movie database website and in that i have a master page having a text box with autocomplete with image feature to search film details, this textbox is working fine in home page but when it is accessed from a content page for example i have a signup page and when that page is loaded as the content page, the autocomplete feature in the master page textbox is not working.