I am looking for ways to keep track of simultaneous users within an application. I cannot use IIS logs due to a load balancer that abstracts the users IP address. I am looking for a .NET code based solution or a configuration item, possibly with health monitoring to be able to track the "true" simultaneous user count.
I know that I ca...
I have a table with doctor offices and doctors in those offices that I'm populating to a repeater control. The data coming back is not aggregated. So, if there are 2 doctors in 1 office, there are 2 rows, same office, different doctor.
Is there a way to aggregate the data so the repeater shows 1 office with all of the doctors from that...
We are about to develop a web app from scratch using ASP.Net, and would like it to be as platform-agnostic as possible. As far as I know, the only two options for this are IIS on windows, and Mono (via Apache) on Linux.
The app will be follow the MVC architecture, so with all of this in mind, how difficult is it to develop the applicati...
I'm looking for an ASP.NET library or control (preferably in C#) to create workflow diagrams from business processes.
Edit: To clarify, the necessary info (task, holder, status, etc.) is stored in a database, and I just want to give the user the ability to view a workflow diagram of the process.
I have come across the following commerc...
Sorry in advance for the long question.
What I'm really interested in is a way to programmatically check if the executing windows identity has adequate windows privileges to write to a directory (or file) in an ASP.NET web services application. But I'll settle for retrieving effective delete (modify) privileges for a user for a given dir...
We've got a page in our asp.net web system that uses response.redirect to redirect the user directly to an excel file so it will download "automatically" without the user having to to a right click / save as.
This works great - except for files over about 100k in IE7. Other browsers just download the large file fine, and IE works fine ...
Hi,
In a multi-server environment, users will be able to use a page to put, update or delete files on the servers. I was considering using a webservice (on each server) called by the IIS thread to do that work (with an aspx management page).
However, for obvious reasons, I don't really want anyone to be able to call that webservice (by...
I have a weird issue that only seems to be affecting IE 7. The web site is a 3.5 c# asp.net website that utilizes ajax and the ajax control toolkit deployed to a win 2003 server. Everything appears to be correct in the web.config. In fact, everything works perfectly in IE6 and Firefox 3. It is only in IE7 that I get the dreaded sys is un...
I have a strongly typed user control ("partial") and I'd like to be able to pass it some additional information from its containing view. For example, I have view that's bound to a product class and i have a partial that also is strongly typed to that same model, but I also need to pass an additional parameter for imageSize to my partia...
I have an ASP .NET information and I currently have session state turned off so I can't exactly hook into the session start event within the Global.asax. I want to get at this data, when someone comes to a site, and when they would normally start a session. What is the event that is fired to start a session so that I could hook into it a...
I am trying to hide the button based on the user's role using the following code:
<asp:Button ID="btndisplayrole" Text="Admin Button" Visible='<%= WebApplication1.SiteHelper.IsUserInRole("Admin") %>' runat="server" OnClick="DisplayRoleClick" />
But when I run the above code I get the following error message:
Cannot create an objec...
Is there a way to control the number of displayed rows in a DropDownList control? I'd like it to only display 10 rows, but it defaults to 30. This causes the list to appear higher than the control instead of below it because of its position on the page.
...
what is the preferred method of deploying a web project? Just copy the dll's after compiling in release mode and registering them? or using NSIS to build an installer or the MS set up project.
...
Is it possible to provide Basic authentication to clients using ASP.Net to authenticate the request in IIS 6.0 (I am pretty sure this is doable in 7.0 without much pain).
...
I've been banging my head against the wall with this one, may be someone can shed some light as of to what may be causing this behavior.
I have an asp.net (2.0) app that as some point does:
using(TransactionScope scope = new TransactionScope(...))
{
//... do a bunch of some queries
InsertOrder();
InsertOrderDetails();
// do some m...
I have a need to maintain the session state in the database. However I cannot access the database directly from the web server. The web server communicates with an app server which in turn has access to the database.
Is there a way to configure this? Or does a custom component have to be written.
The reason for this setup is to allow ...
If you were an asynchronous javascript call in an Asp.Net MVC environment, and you had to work with a round-robin style of load balancer, would you be able to find your way home?
edit: adding clarification ..using in-memory session state.
...
This question is a result of what i noticed while trying to answer another question. And now im curious to know why " /> leads to a compile error, and not to a visible TextBox as i would have expected.
From what i have discovered so far, the <%= %> expressions are not translated to literal controls as i have always thought. But instead ...
I have a gridview to which I have created an Insert Template in the footer row.
I have an ObjectDataSource which is bound to a business object.
I have an OnInserting event handler which never gets fired.
The program encounters an error once I call .Insert on the ObjectDataSource. The error I receive is that there are no values and th...
I have a button on a website that creates a directory and copys a file. I developed it using Visual Studio 2008, ASP.Net 3.5. I am running Vista as my OS. The website uses identiy impersonation.
The functionality doesn't work ("Access to Path XYZ is denied") when:
I run the website via IE hitting the local webserver
The functiona...