asp.net

Is Microsoft ASP.NET Dynamic Data website a platform i can trust for making websites admin areas?

Did you used Dynamic websites before? you see its a good way for making fast admin areas for our websites? Is it easy to customize? Is it easy for the end user to manipulate? I am thinking to use it with a client and didn't use before, can you advice? ...

Problems with the Login Page

Hi everybody, I have this problem; I'm developing a site with ASP.Net 2005, the database I use is MySQL and the Web Server is Cassini, also I use Forms Authentication to handle the access to the pages. I was making tests in all the computers accessing the site, however yesterday when I accessed the site from a PC the login page is prese...

Using Multiple Profile Providers with Overlapping Properties

I am working with a site that needs to use two different asp.net profile providers. They are both added in the web.config and the properties of each of them are listed there as well. I run into a problem when I try to enable a property that has the same name in each provider. Comment one out, and the site will at least load. Leave both i...

Export large amounts of data to client in asp.net

Hi, I need to export a large amount of data (~100mb) from a sql table to a user via the web. What would be the best solution for doing so? One thought was to export the data to a folder on the db server, compress it (by some means) and then provide a download link for the user. Any other methods for doing so? Also, can we compress data...

Track ad link clicks but maintain SEO-friendly links?

I have a web site that spits out links to third party sites. Now these third parties want MY site to track their clicks. How do I do this without ruining the SEO-friendly nature of a plain link? Currently an ad link is just an anchor: <a href="http://adsiteA.com"&gt;Come Visit Site A!</a> I can easily change the links to something ...

How to utilize WebDev.WebServer.exe (VS Web Server) in x64?

Visual Studio is x86 until at least the 2010 release comes around update: this is still an issue in VS2010, there is no native 64bit Cassini support. My question is can anyone think of a way or know of an independent ASP.NET debug server that's x64 for 2008 or 2010? Background: Our ASP.NET application runs against Oracle as the DB. S...

Custom a catch-all parameter in routing

Hi Geeks, I recently want to have a special routing rule : {*whatever}/details/{Id}/{itemName} I know an exception will be thrown once I run the application. In my application, for example my url pattern is www.domain.com/root/parent/child/.../child/details/30/itemname but the current routing doesnot support this. How can custom the r...

How to configure localization for an entire application?

I know I can set a CultureInfo object with an specified culture in the Application_BeginRequest event as is described here, but I don't want to do it for each request but in the application startup. All I can imagine is that I can use the Application_Start event, but I don't know how to set the global culture. ...

New to SVN, How to Setup?

I have a Windows 2003 Server with IIS, I installed VisualSVN Server on it. I have two developers, who are going to use TortoiseSVN. Since this is my first time ever setting up a SVN server I am kind of confused on how this will all work. The way I see it, each developer would have a copy of the repository on his or her local pc, would ...

MVC versus WebForms

It seems to me like there's a lot of sheeping going on, with everyone jumping on the MVC bandwagon. Almost everyone is declaring WebForms as evil and satan without much persuasion. Then they go on to say that Controls are evil and they shouldn't be in a Web app. How are you going to show anything without any controls? I remember when W...

Any gotchas with Request.Params [ASP.NET]

Hopefully the answer is no, but are there any problems with using Request.Params instead of Request.QueryString for retrieving data in the query string in asp.net? ...

Website Development in a team.

Hi, I am working on an Asp.net website with 4 other people. The problem we have is what kind of hardware setup do we need in order to enable team development? We have four individual desktop computers what other hardware would we need? What other development software would be ideal for such development? ...

Ajax implementation in sharepoint

Hi I was trying to implement ajax in my sharepoint site.I am following this blog.. http://sharepoint.microsoft.com/blogs/mike/Lists/Posts/Post.aspx?ID=3 I did changes in the default webconfig file.But when i kept script manager in my sharepoint masterpage using sharepoint designer then it is showing error as script manger is not permi...

ASP.NET and PHP hosting

Hi, Can anyone suggest some of the best hosting companies that support both ASP.NET and PHP ? I've been considering http://www.webhost4life.com Thanks. ...

How to keep ASP.NET assemblies in AppDomain alive?

Scenario: I've an n-Tier enterprise ASP.NET application deployed using Web Deployment Projects. All tiers produce independent assemblies that is consumed by the ASP.NET application. Problem: When I run the app. for the first time after deployment it takes lot of time to load dependent assemblies in memory. But once loaded its lighting f...

upload to ftp asp.net

Hi, Is it possible to upload a file directly into an ftp account folder with ASP.NET ? E.g. I click on browse, select a file to upload and when I click "upload" button, It should save it directly to the folder on another web server located at somewhere else other then the server that is being used to upload. ...

Addressing properties of a Shockwave Flash object (MultiPowUpload) in JavaScript

Please pardon the dumb newbie question; I've only been programming Javascript for about 24 hours... :) I have managed (with some outside help) to embed a shockwave flash object into my page - specifically MultiPowUpload 2.1. It's appearing nicely on the page and seems to be functioning correctly; we can take that part as read. Now I'm...

Enum & Switch Case

Hi I am using enums converted to a string with a switch but it doesn't work. It gives compilation error: Cannot implicitly convert type 'userControl_commontop.UserType' to 'string' The code is: private void CommonTopChangesnew(string usertype) { switch (usertype.Trim().ToUpper()) { case UserType.NORMAL : hl...

Permission Denied error when uploading files in FCKEditor

I recently moved my asp.net appliaction from windows 2003 / IIS 6 to windows IIS7. No other changes, but now the file upload for the fckeditor doesn't work anymore. Anyone know the obvious mistake I made here. :) Thanks ...

Response class when LINQ To SQL call stored procedure

Hi All, I have a little project, it is using LINQ and SP, I would like to create a response class which return information after i called SP. I saw on this page a solution (http://stackoverflow.com/questions/307656/rollback-a-stored-procedure-call-from-inside-a-transaction-using-linq-to-sql) but i don't know how look like this Response ...