asp.net express 2008 book?
Which book would you recommend to read to practice asp.net on asp.net 2008 express? Which book covers asp.net from asp.net express environment perspective. ...
Which book would you recommend to read to practice asp.net on asp.net 2008 express? Which book covers asp.net from asp.net express environment perspective. ...
I've got a lot of pages in my site, I'm trying to think of a nice way to separate these into areas that are a little more isolated than just simple directories under my base web project. Is there a way to put my web forms into a separate class library? If so, how is it done? Thanks in advance. ...
I have a nullable date in my database. I am connecting to it with a LinqDataSource, and binding with a FormView. It allows you to place dates fine, but if you remove the date I need it to insert the null value to the db. It is instead throwing an exception. <asp:TextBox ID="TxtStartDate" runat="server" Text='<%# Bin...
Problem: We have a web app that calls some web services asynchronously (from the page). Normally this is fine, but some are failing under load test (due to timeouts). What are (if there are any) any suggested "best practices" for calling web services asynchronously in a web application? Are there any patterns that may be of use? Sh...
I using an ASP.net I need to copy all the session data (both session variables and session request variables) to string []. How to do this. Also i need the reverse condition. How to do this in serialization concepts ...
Would you explain me, please, how to pass the same value of HiddenField between several ASP.NET pages? I think I could use RegisterHiddenField on every page in chain, but hope there is an easier solution. Thanks! ...
Our team is developing a rather big ASP.NET web project which initially startet in ASP.NET 1.0 and was ported several times to all new versions of .NET. We made extensively use of User Controls (ascx). But in retrospect I doubt that it was a good decision. A very small percentage of these controls are reused (resuable) through different...
Hi, I'm using the ReportViewer control to display a Report within a WebForm, i've also implemented the "Export to Excel" feature, by calling the Render method of the Server Report eg ReportViewerControl.ServerReport.Render("Excel",etc,etc,etc); My problem is that the exported report contains Hyperlinks that link to other reports, I ...
I have an website. When the user is logged the session details will loaded. When the user logged out the session details will abandoned. (Log out by clicking the logout menu) when the user simply closes the browser then how to destroy the session. In the next time its get logging with the same session data. I need to avoid this. ...
I have a asp.net 1.1 application that uses the following code to write out a file in the response: Dim objStream As Object objStream = Server.CreateObject("ADODB.Stream") objStream.open() objStream.type = 1 objStream.loadfromfile(localfile) Response.BinaryWrite(objStream.read) This code ...
I'm building a simple ASP.NET web application in VS 2008 with a SQL 2005 database. I'm working on Vista and I'd prefer not to install IIS (I'd rather just us Cassini for local testing). Here's what I've tried: FrontPage Server Extensions. I installed these on my server, but they broke my default web site and I still couldn't publish fr...
Hi all, I'm trying to make a setup program for a asp.net web site. I need to make sure the target machine has sqlxml installed. I must verify the target machine has the software installed, and if not, launch a .msi file either before or after the main installation. I'm a complete newbie with setup projects so maybe this is obvious bu...
This may be a painfully simply question for which I will be mocked but I am having difficulty in using filepaths in masterpages. I believe this is because if a page in a sub-directory to using the masterpage then the filepath is incorrect. To fix this I need to get the filepath from the root but I can't seem to get it working. I tried:...
I've just been tasked with building a web application using ASP (.net) and am looking for some advice on where to start. In a nutshell the application needs to be able to. Handle user verification / authentication Handle sessions Do SOAP messaging The application is intended to act as a front end for system functions that are acces...
I've skinned this cat a few different ways over the last 6 years.. hardcoded strings, static classes with consts, and resource files. What approach do you use, and why? Bonus points for integrating with client-side error messages! ...
So let's say you wanted to make a copy of a Web Form page within a .Net Project. Is there an easier way than: Copy Source Page Page Source Page within project to get new page Exclude Source Page Rename code behind class for new page Add Source Page Back Sometimes I miss something obvious is there a better way to do this? I know ...
I have a requirement for an admin user to set up an export directory on the web server, or relative to the web server using a UNC. Is there anything already out there that I can use for this, or must I recurs a limited directories and populate a home-rolled directory browser on the client? ...
Hi, I have a folder containing several websites, all using the same assemblies in the GAC. Each website also contains some 'custom' assemblies of their own that refer to the common assemblies. There is a web.config in this folder, defining common settings for the sites, including the assemblies to load in a <system.web>/<compilation>/<...
i've found how to bind an asp:Menu to XML. i've found how to bind an asp:Menu to a site map (which is really binding it to XML). How do you bind an asp:Menu to a database? The .NET Framework provides multiple data sources: HierarchicalDataSourceControl XmlDataSource SiteMapDataSource DataSourceControl SqlDataSource AccessDataSo...
I have an application where every now and then I'm getting a strange error. This is the piece of code: Dim XMLWriter As New System.Xml.XmlTextWriter(Me.Context.Response.OutputStream, Encoding.UTF8) XMLWriter.WriteStartDocument() XMLWriter.WriteStartElement("Status") Message.SerializeToXML(XMLWriter) XMLWriter.WriteEndEl...