asp.net

How to get the best font clarity to display on an HDTV with c#?

This is for an arrivals/departures flight display. The display is difficult to read because of blurry fonts. The current state is an asp.net page displayed using internet explorer on a HDTV. From the software side, what can I do to produce good looking fonts? I've noticed that powerpoint presentations have nicely rendered fonts even on ...

How do I properly setup IIS5's SMTP service to send email from my development environment?

I am trying to send email from an ASP.NET web application using the SmtpClient class. So far I have granted relay access to 127.0.0.1. I am trying to send test emails to my gmail account. The EML files get stuck in the mailroot's queue folder. My WinXP firewall is disabled. I dont get any exceptions in the code but the emails are nev...

How do I go about building a Dashboard App using MOSS '07

How is it different from normal ASP.net development? Anyone has valuable cool links/videos/tutorials for what I am trying to do? I am a newbie at sharepoint stuff..but I am pretty comfortable with ASP.net. EDIT: The application is more like a Teamsite/Dashboard app. ...

Dynamic transparent images using AlphaImageLoader in IE6

The following code works fine when I have an image in IE6 that i want to make transparent. <img src="image.png" style="width: 100px; height: 100px; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='image.png', sizingMethod='scale')" /> However the following does not. In this example I am using a dynamically generated PNG...

ASP.NET MVC Controls & CSS

Hi everyone, I am trying to apply css on my html.dropdownlist with a regular html select list css. Can anyway one show me how to go about doing this & where am I going wrong with this this is what i have right now.. <div id="container"> Months &nbsp; <%=Html.DropDownList("dllMonths", new SelectList(new List<string>() { "January", ...

Web server changed name, url return wrong host name

In our web application (asp.net), the tabs are dynamic links. The links were built like this: finalUrl = "https://" + Request.Url.Host + "/home.aspx"; The link is ended up like: https://server0/home.aspx The problem is the web server's name was server0, but now it was changed to server1. Still the old server name keeps showing up. ...

Free asp.net color picker control

Hi, Can anyone recommend a free color picker web control for asp.net webforms ? Thanks ...

Problem with ASP.NET asynchronous calls, waiting for handler to return

I'm trying to find an answer for a problem my developers are having. I don't know this well enough myself... We are using ASP.NET with C#. When a user presses a button on a page, we call a hander to save the session variables to the current view state of the form (some IDs that are used). Then, we call a GreyBox window with other func...

Self contained web-based (ASP.NET) gallery viewer

I need to add a gallery to my website, to show screen shots of websites and applications. I run IIS. I'm looking for something that is fairly self-contained and ready to integrate without a lot of work. I'd like to through a bunch of images in a directory and let it go. I would love some nice effects for browsing the gallery. What w...

MVC Framework for ASP.net 3.0?

Hello, I am currently stuck with ASP.net 3.0, which means that I cannot use ASP.net MVC and ADO.net EF. While I can replace EF with Subsonic or ActiveRecord, I wonder what you guys recommend for MVC? I am interested in nice URLs and separation between View and Controller, two things that I always found hard with Webforms. For now, I wi...

ASP.NET thread switching

I read somewhere (I can't remember where) that it is possible, in certain circumstances, for an ASP.NET response to be switched, while being processed, between threadpool threads - sometimes in the middle of an executing method. Is this true? If so, how is this accomplished? If not, what could the author possibly have meant by this? ...

asp.net web hosting for new business

Duplicate: http://stackoverflow.com/questions/3305/asp-net-hosting-options I am about to launch a new business and want a fast and reliable webhost. For development we were on webhost4life which I do like but the performance doesn't seem all that great. I've heard good things about crystal tech (maybe stackoverflow is biased there :) ...

Are AppDomains are created for every request?

In ASP.NET 3.5 (with IIS6), are AppDomains are created for every request? I know that all applications have their own AppDomain under w3wp.exe, but how exactly does the whole AppDomain work? I was arguing today with a colleague who was trying to convince me that if an ASP.NET application has a static object (or Singleton class), that th...

How to add a server image control to html container using innerHTML =

I have a td that I want to inject with a server image control (asp.net) using innerHTML = "". The webcontrol's toString is giving the type. Is there a way to extract the generated from the server control? Or, is there a different solution...? Thanks ...

What is Page.LoadComplete meant for (in practice)

In the ASP.NET Page LifeCycle there is the Page.LoadComplete event. The MSDN documentation says 'Use this event for tasks that require that all other controls on the page be loaded'. What exactly might this be? What would a 'best practice' say that LoadComplete should be used for? ...

Best way to simulate 'SelectedIndexChanged' for ASP.NET DropDownList control with ViewState disabled

I've found many posts where people try to work around the problem of SelectedIndexChanged not working when EnableViewState='false'. Im a little confused why control state doesnt kick in and allow it to work, but thats bonus points if anyone can explain that too. Some of the 'hacks' are pretty 'hacky'. Like setting a value on the views...

DAL and BLL in .NET

There is this DAL/BLL design suggestion by Microsoft for ASP.NET (2.0) apps. I know some of the alternatives and I've read related questions here on SO. However I wonder if this proposed solution is worth implementing nowadays, is there a specific downside you know of? I want to develop DAL/BLL components for company-internal use, to ac...

How to get the total allocated memory by an (ASP).NET app programatically ?

How can I check programmatically, how much memory my program currently has allocated ? I need it for an ASP .NET app, but i suspect the solution is general for all types of .NET applications. Ideally, the operation to get the currently allocated amount of memory, should be fast, since I will need to query it often. EDIT: Thanks for you...

ASP.NET Web application security in VDS hosting

We are designing asp.net web application in wcsf. Web application will be deployed to Windows Server 2003 shared VDS hosting. Web site will be used for b2b, monthly service fee and credit card transactions used in web application so it must be secure site. I want to consider what must be done before deployment and i need an answer to a f...

File uploading in asp.net permission error (Access denied to path x)

I'm trying to upload some image files in my asp.net web app. Server OS: Windows server 2003 and IIS 6 I granted write permission in IIS to root and destination folder and granted FullControl Access to this users IUSer_Mashinname, Asp.net user, network services,Everyone, and all other users to the web app root folder and upload destin...