asp.net

How to validate ASPNET AJAX installation

How can I validate that my ASPNET AJAX installation is correct. I have Visual Studio 2008 and had never previously installed any AJAX version. My UpdatePanel is nto working within IIS6, although it works ok within Visual Studio's web server. The behaviour I get is as if the UpdatePanel doesnt exist at all - i.e. it reverts back to 'nor...

What is the best tool to inspect the state and size of a user's session state in a ASP.Net 2.0 application.

We'd like to inspect the state of a user's session state and predefined points during the flow of a legacy web application. We'd like to see which objects are currently present and what the total size is. ...

What's the difference between a worker thread and an I/O thread?

Looking at the processmodel element in the Web.Config there are two attributes. maxWorkerThreads="25" maxIoThreads="25" What is the difference between worker threads and I/O threads? ...

Where does Console.WriteLine go in ASP.NET?

In a J2EE application (like one running in WebSphere), when I use System.out.println(), my text goes to standard out, which is mapped to a file by the WebSphere admin console. In an ASP.NET application (like one running in IIS), where does the output of Console.WriteLine() go? The IIS process must have a stdin, stdout and stderr; but i...

Free code review software options for ASP.NET and Subversion

Does anyone know about free code review solutions out there (for asp.net)? I am trying to find something that is free or inexpensive for a startup. Also, It would be nice if it had some sort of subversion integration, as this is always a pain to manage manual diff files vs. reviewing the differences between two different revisions. I w...

Cloud Hosting options for ASP.NET 3.5 and SQL Server 2008

I would like to get a list of good cloud hosting companies and what is offered by each. I specifically would like to focus on companies that can handle ASP.NET 3.5 and SQL Server 2008. Hopefully their are more options out there, other than Mosso. :) Edit 1 GoDaddy has a great deal, check out my post below. ...

Reading all values from an ASP.NET datagrid using javascript

I have an ASP.NET Datagrid with serveral text boxes and drop down boxes inside it. I want to read all the values in the grid using a javascript function. How do i go about it? ...

Catching exceptions within .aspx and .ascx pages

The questions says everything, take this example code: <ul id="css-id"> <li> <something:CustomControl ID="SomeThingElse" runat="server" /> <something:OtherCustomControl runat="server" /> </li> </ul> Now if an error gets thrown somewhere inside these controlls (that are located in a master page) they will take down the...

Select Query in SQL + All the values in columns

I am having a table Table1 with columns id1, id2, id3 all the columns are nullable I may enter null or value to all columns in rows. My question is I need to select the rows whose all the column values should not be null. Thanks ...

Aborting an ASP.NET Web Service asynchronous call

I have a web service which takes quite some time to complete execution, and i am calling this web service asynchronously. I also want to implement an Abort functionality which will abort the web service method. Currently, i am observing that even if I dispose the requesting Web Service object, the web service completes it's execution in ...

ToolTipping a Drop Down list

I have a drop down list in a GridView. The data inside the drop down list has variable length but the drop down list is of a fixed size. How can a tooltip be displayed over each item without selecting any item from the drop down list? I have googled but come across samples where the tooltip is displayed over a currently selected item of...

How to sort columns in an ASP.NET GridView if using a custom DataSource?

I can't get my GridView to enable a user to sort a column of data when I'm using a custom SqlDataSource. I have a GridView in which the code in the ASP reference to it in the HTML is minimal: <asp:GridView id="grid" runat="server" AutoGenerateColumns="False" AllowSorting="True"> </asp:GridView> In the code-behind I attach a dynamical...

SQL Reporting services - Out of Memory Exception

I am having some 10 lac records in my single SQL Table. I need to load this much record in my record. I need to know whether this will load. when i tried loading to report its showing out of memory exception. ...

How can I set the ValidationGroup dynamically

Hi, I have a ASP.NET 2.0 webpage with 2 UserControls (.ascx). Each UserControl contains a bunch of validators. Placing a ValidationSummary on the page will display all validation errors, of both UserControl's. Placing a ValidationSummary in each UserControl will display all the errors of both controls twice. What I want is a Validatio...

Compress Script Resources of ASP.Net

How do you compress Script Resources of ASP.Net? I saw a file there reached up to 255 KB! I tried finding solutions, but so far it only talks about scripting dynamic and static files. I checked the compression temp folder of IIS and found no compressed scripted resource there. That led me to the conclusion that these files are transferre...

How do I "smoothly" format HttpHandler URI?

I'm just meddling in the ways of the RESTful web service in C# using ASP.Net 2.0 and have managed (via a class library, a reference to dll produced by the former and some adjustment of my web.config) to coax out a URI format like so: http: //localhost/DevelopmentProject/testhandler/?input=thisismyinput Which unremarkably just returns ...

Repeater, ListView, DataList, DataGrid, GridView ... Which to choose?

So many different controls to choose from! What are best practices for determining which control to use for displaying data in ASP.NET? ...

What is the best solution? Using WF StateMachine to follow user states on a web application.

I was looking at WF and was wondering if it would be best to use the StateMachine workflow to follow a users state. i.e. user is anonymous, user is known but not authenticated, user is known and authenticated. would this be a good way to go about solving this regular issue? ...

ASP.NET Themes samples/starter kits

I was wondering if there was somewhere I could get some starter kit / theme sample for ASP.NET. I am not a designer, but I need to build a prototype for a project, and if I do it myself it'll certainly be awful Do you know where I could find that (ASP.NET specific)? ...

Wise to run MS Velocity on my development machine?

I've never developed a web application that uses distributed memory. Is it common practice to run a tool such as Microsoft Velocity on my local machine as I develop, should I run Velocity on another server as I develop, or should I just develop as normal (default session & cache) and use Velocity only after I've deployed to our develop...