I have an ASP.NET 2.0 website created in VS2008 and I need to migrate it to a web application. I have not had much luck so far. How do I figure out how to do this?
...
I have some configuration values for an asp.net web app. They will be maintained by a system admin once the system goes live. Should I store these values in the database or in a config file? Is there a best practice for this sort of thing?
...
I have an exception handler .
In my asp.net application.
It’s written in Global.asax.
In the the Application_Error() method.
It works for Exceptions that happen in the context of pages and classes that are called as a result of a request to the application.
But if I spawn a thread, as a result of a request (or other reason, like an ap...
Is it possible in ASP.NET to take a string containing some HTML and make ASP.NET to parse it and create a Control for me? For example:
string rawHTML = "<table><td><td>Cell</td></tr></table>";
HTMLTable table = MagicClass.ParseTable(rawHTML);
I know that this is a bad thing to do but I am in the unfortunate situation that this is real...
We are deploying our ASP.NET 3.5 app to a production server for beta testing.
Each page is secured using SSL.
On our homepage (default.aspx) we have web services which populate flash objects.
I am getting an error:
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from ...
How can you find out the number of active users when you're using a StateServer? Also is it possible to query the StateServer and retrieve the contents in the Session State?
I know that this is all possible if you use SqlServer for a backing store, but I want them to be in memory.
...
I am working on a web application (ASP.NET) game that would consist of a single page, and on that page, there would be a game board akin to Monopoly. I am trying to determine what the best architectural approach would be. The main requirements I have identified thus far are:
Up to six users share a single game state object.
The users...
I have a ASP.NET/VB that had a GridView to display a list of users from the Users table.
I changed the primary key column name in the database from PKID to UserID and updated all the old references to PKID in the declarations and code behind. I also deleted the WebsiteCache folder which held the visual studio cache of the website.
When...
I am very new to ASP.Net and would like to try this technology, mostly because I am impressed with the performances so far.
I come from the PHP world where you can just include some PHP code into your HTML page and that will do the trick as long as the web server is able to give the page to the PHP processor. One page, one PHP script, t...
Hello all. Thanks for the help, in advance.
Solution
-- WorkflowProject
-- Workflow1
-- Workflow2
-- WebProject (WAP)
-- App_Data
-- MyDatabase.vdb3
-- MyWebService.asmx
-- Web.Config
Ok, so.. that's the basic "outline" of the project.
The database, is stored in the website, and is a VistaDB database (this could also be ...
I'd like to stick a class down in my folder hierarchy. The scenario is too trivial to warrant it's own project or separate website. However, I hate to clutter my top-level App_Code with something that's used by a tiny corner of the site.
Is there a way in web.config to include another file or folder in the compilation process?
...
I just want to know how to validate (or clean) user input in ASP.NET MVC so that an HttpRequestValidationException will not be thrown regardless of the values submitted. For example, with a text input, if the user inputs <BR/>, it will cause an exception and the Yellow Screen of Death will be shown. I don't want that. I want to catch t...
Trying to get an ASP application deployed; it worked for a while but then started coming up with errors whenever the page is accessed:
Server Error in '/AppNameHere' Application.
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required p...
What's the most elegant way of implementing a DropDownList in ASP.NET that is editable without using 3rd party components.
As a last resort I will probably try using a TextBox with an AutoCompleteExtender with an image to 'drop down' the list; or a TextBox overlapping a HTML Select with some JavaScript to fill values from the Select to ...
I would like to utilize the ASP.NET AJAX Page Methods functionality with a user control. Is there a way to be able to specify my static [WebMethod] inside the UserControl's code behind instead of the Page's code behind?
...
The application is planned to be built using ASP.NET, .NET Remoting & MS SQL Server.
High availability is required at presentation layer, application layer and database.
Does IIS 7.0 provide any advantages over IIS 6.0 in regard to the High availability aspect?
...
Hello.
A simple question on how to get the response from a Web Service that can be validated using Liquid XML Studio.
Web Service code (ASP.NET 2.0):
[WebMethod]
[return: XmlElement("TestMe")]
public string TestMe(int value)
{
return value.ToString();
}
The will result in this response:
<?xml version="1.0" encoding="utf-8"?>
<soa...
<a id="lblShowTimings"
runat="server"
title='<%# Eval("SHOW_Name") %>'
onclick='PopulateTicketDiv(<%#Eval("SHOW_ID") %>)'> <-- this is the problem
%#Eval("SHOW_Time") %>
</a>
Can Eval be passed as an argument to a javascript function?
If so whats the syntax?
...
Hi !
I have a gridview and I need to sort its elements when the user clicks on the header.
Its datasource is a List object.
The aspx is defined this way :
<asp:GridView ID="grdHeader" AllowSorting="true" AllowPaging="false"
AutoGenerateColumns="false" Width="780" runat="server" OnSorting="grdHeader_OnSort...
I'd like to warn users when they try to close a browser window if they didn't save the changes they made in the web form.
I'm using ASP.NET 3.5 (with ASP.NET Ajax).
Is there a common solution which I could easily implement?
EDIT: maybe my question wasn't clear: I am specifically looking for a way which integrates gracefully in the ASP...