I have an solution in VS 2008 which contains two class library projects and an ASP.NET web site. The ASP.NET site references the class libraries and one of the libraries contains a LINQ To SQL item.
My question is with regards to the app.config in the class library which contains the connection string for the database. When I build the ...
I get a 404 HTTP status error (not found) on a specific WebResource.axd call inside an ASP.NET 3.5 (AJAX) web application. I guess the error is thrown because a specific referenced assembly is missing in the bin folder/GAC. But I don't know which, since the page which requests the resource is very complex (I'm using third-party controls ...
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Data;
using System.Text.RegularExpressions;
namespace pro.Classes
{
public class CSVParser
{
Stream _stream;
/// /// Creates Parser from Stream /// ///
public CSVParser(Stream aStream)
{
...
Hi, Just thinking about this, is it possible to create a connection string outside the ASP.NET's web.config?
...
This might be a bit of a silly question but;
If I have two people logging on to my site at exactly the same time, will the server side code be executed one after the other or will they be executed simultaneously in separate threads?
I'm curious in regards to a denial of service attack on a website login. Does the server slow down becau...
My asp.net applications works fine everyday.
Until last month, my web start to get 2-3 time of problem with Sqlsession state server as
follow:
Blockquote
System.Web.HttpException Exception of type 'System.Web.HttpException' was thrown. at System.Web.HttpAsyncResult.End() at System.Web.SessionState.SessionStateModule.EndAc...
This could be a bit long, I'm not really sure what the problem is. I'm currently using an implementation of BlogEngine.NET as my blogging platform. I'm wanting to switch to MovableType to take advantage of their Community and Social blogging apparatus. The major "IF" in the equation is whether or not I'll be able to import my old posts t...
I am trying to add data to a newly created column...
DataSet ds = new DataSet;
ds.Tables[0].Columns.Add("Count");
Data.DataSource = ds;
Data.DataBind();
Where do I add, a hardcoded count? (I want count column to have '4')
...
I am having a really bad issue where no matter what I try, the user is being logged off after 10 minutes.
I am using ASP.Net 2.0 running on IIS 6.0 on Server 2003 R2 Standard Edition running as a Virtual Server with all applicable updates and .Net 3.5 SP1.
The client is Internet Explorer 7.0
Below are the web.config settings:
<!-- Au...
I would like to know your experience with ASP.NET webparts as a reusable component in your website.
How useful did you find it? Did you find any serious issues with it? Would you recommend it using in any asp.net project?
Any best practices or tips you would like to highlight with respect to this.
Would you recommend using webparts ...
I have a simple form with some plain html input like bellow using ASP.NET Web Forms (not MVC)
<table id="tbl_SchoolDetails">
<tbody id="tbody_SchoolDetails">
<tr>
<td>
School Name
</td>
<td>
<input id="SchoolDetails_SchoolName" type="text" value="<%= ViewModel.School.Name %...
I have a GridView bound to an ICollection<UserAnswer> that needs to show two columns:
<asp:GridView ID="UserAnswersGridView" runat="server">
<Columns>
<asp:BoundField DataField="Question.Name" HeaderText="Question Name" SortExpression="QuestionID" />
<asp:BoundField DataField="Score" HeaderText="Score" SortExpressi...
Hi All,
I need an advice for a c# asp.net project.
My client wants to see some reports via the gridview object with master/detail structure.
The main gridview will be full by all master data and each row will have a + icon (or button) on the first cells.
When user clicks this icon, the all details data of that master row should be seen...
Hi,
I failed to find a way to disable the browser detection feature added by asp.net 2.0.
I want all the request to my page to be treated as if IE is requesting them.
My fix was to add an App_Browsers folder to my project and in it have the following .browser file:
<browsers>
<browser refID="Default">
<capabilities>
<capab...
I'm using GA on my site and need to add tracking to a several pages. These pages are rendered by means of a master page in conjunction with a Telerik tab control. When a tab is selected, the code evaluates which tab was clicked and inserts the appropriate user control for that page and rerenders it. According to the browser, it's always ...
I have a dynamically created menu which I have a menuItemClick event tied in. In this event I want to execute a simple window.open script that uses the clicked items' url. The reason I need to do this is I need to set the parameters of the window opening (i.e. no scroll bars, no toolbars, etc...).
My question is, is there a way simpl...
Ayende has a blog post detailing how to combat the "n+1" problem in nHibernate. In essence, the problem is this:
Assume you have two tables, "BlogPosts" and "Comments" with a one-to-many relationship between them (i.e. each BlogPost can have multiple Comments). Now, let's say you want to execute the following nested for loop:
foreach...
I'm building a RESTful API in ASP.NET. I'd like to document its features with a tool that will keep all the functionality and actions organized and grouped for easy editing and can export the documentation in various formats (HTML, PDF).
I'm not looking for an auto-generating script that will parse my code - especially since the intern...
My wishlist:
> ASP.NET 2.0
SQL Server
Open Source
Ability to use Windows Authentication
It seems there are two commercial players in the market that I can find and no open source ones. Am I missing one?
...
Hello,
I have to copy a file over to our local server using asp.net. The remote server uses Digest Authentication and will supply the credentials needed. How do I connect to their server in asp.net using digest authentication to copy a text file over to our local machine?
thanks
...