Does it help to use NGEN ?
Is it better to use NGEN an ASP.NET application when we know it is not going to change much ? Or is the JIT good enough ? Thanks, Chak. ...
Is it better to use NGEN an ASP.NET application when we know it is not going to change much ? Or is the JIT good enough ? Thanks, Chak. ...
I want to capture all the requests goin to *.jpg files on my server. To do so I have created HttpHandler whose code is as follows using System; using System.Collections.Generic; using System.Text; using System.Web; using System.IO; using System.Globalization; namespace MyHandler { /// /// Summary description for NewHandler. ...
Using ASP.net, how do you write ANSI characters to a text file? I need to write this file's text to the web browser. Do they support ANSI? ...
Hello, Could you recommend me a good book for ASP.NET. I have quite good experience with WinForms application and know quite well (at least, I think) some core (unrelated to UI) .NET classes and how .NET works, so I'm looking for a book which targets advanced programmers, so I wouldn't have to read all over again how to write a loop or ...
I want to keep viewstate of a specific page in session but following code block does not help me, what might I be missing? So here is the code-behind file content of my page; public partial class ConfigurationEditorWebForm : PageBase { protected void Page_Load(object sender, EventArgs e) { } pro...
Can anyone provide a good example of IHttpHnalder for handling Image Type. I want to resize the image that's hosted on my server ...
Our marketing department comes back with "active directory integration" being a key customer request, but our company does not seem to have the attention span to (1) decide on what functional changes we want to make toward this end, (2) interview a broad range of customer to identify the most requested functional changes, and (3) still h...
Ok so we have an upcoming development that will involve a level of off line processing of dynamic forms. Here's what we have to do: Create a asp.net web application whereby users can download dynamic forms, fill them in then upload them to be published. We also have a windows mobile application that will do something similar. The form...
I'm looking to rewrite a pretty intensive CRUD type ASP.NET page to utilize ajax calls (specifically jQuery ajax). My concern in doing this is that the user may be on this page longer than the forms authentication timeout. Because of this, I'm thinking that I should extend the forms authentication ticket with each ajax call (basically ...
How do I best capture the HTML (in my instance, for logging) rendered by an aspx-page? I dont want to have to write back to the page using Response.Write, since it messes up my site layout. Using the Response.OutputStream or Response.Output's stream results in an ArgumentException ({System.ArgumentException: Stream was not readable.) ...
Hi, I have a simple workflow with the HandleExternalEventAcitivity. The workflow ought to wait for the user to take an action, which in turn raises an event that the workflow activity handles. Since it is an ASP.NET app, I am using the ManualWorkflowSchedulerService to have my workflow run synchronously. However with the ManualWorkflow...
This sure seems like a simple error to fix. However, I somehow can't figure it out. Found some posts here and went thru them and couldn't get it to work. Sure seems like a famous error. The error I'm getting is : Unable to start debugging on the web server. An Authentication error occured while communicating with the web server. I'm ru...
I feel like i am completely missing something because I am not able to find any examples describing what i want to do. I have a fairly plain jane ASP.NET web application project that I want to localize. I'd like the output to have satellite dlls so that later when I want to add a language I can just drop in a new DLL. I have created r...
Are there any compatibility issues that would prevent this from working? Do I need to have a 32-bit VM to use when working on projects for this team? ...
I have a custom server control with a property of Title. When using the control, I'd like to set the value of the title in the aspx page like so: <cc1:customControl runat="server" Title='<%= PagePropertyValue%>' > more content </cc1:customControl> When I do this, however, I am getting the exact String <%= PagePropertyValue%> being di...
This is from the book "The ASP.NET 2.0 Anthology" In a discussion in Chapter 3 on the SQLDataSource Control this suggestion is made For simple binding scenarios, however, it's a good practice to switch your DataSourceMode from DataSet to DataReader. but never states why. Does anyone know? Is is faster? ...
I am working with ASP.NET doing some client side javascript. I have the following javascript to handle an XMLHTTPRequest callback. In certain situations, the page will be posted back, using the __doPostBack() function provided by ASP.NET, listed in the code below. However, I would like to be able to set the focus a dropdownlist control...
I have a page which consists of a formview containing several Web User Controls (WUCs.) The WUCs get a value from the parent page using a public property, which is stuffed into a HiddenField. I just finished another WUC to manage yet another aspect of a company. It allows you to insert a new record (this is a different table) tied b...
I have a dataview defined as: DataView dvPricing = historicalPricing.GetAuctionData().DefaultView; This is what I have tried, but it returns the name, not the value in the column: dvPricing.ToTable().Columns["GrossPerPop"].ToString(); ...
Hi- I've added a label control to a webform. It appears when I run the page but when I try to reference it using the codebehind, I get no intellisense and the code I write somehow doesn't work. I've verified the project is running in debug, that debug compilation is set in the web.config. In fact, I can debug all pages. However, when i g...