web (15,473)


c# - How do I print an HTML document from a web service?

c# - How do I print an HTML document from a web service?

I want to print HTML from a C# web service. The web browser control is overkill, and does not function well in a service environment, nor does it function well on a system with very tight security con…


sql server - Editing database records by multiple users

I have designed database tables(normalised, on an MS SQL server) and created a standalone windows front end for an application that will be used by a handful of users to add and edit information. We…


javascript - How to detect which one of the defined font was used in a web page?

Suppose I have the following CSS rule in my page: body{font-family: Calibri, Trebuchet MS, Helvetica, sans-serif;}How can I detect which one of the defined fonts was used in the user's browser? Edit f…


asp.net - Bandwith throttling in IIS 6 by IP Address

I am writing an application that downloads large files in the background. All clients are logged in locally, or through a VPN. When they are logged in locally, I do not want to throttle downloads. Ho…


How do I give my web sites an icon for iPhone?

How do I set the icon that appears on the iPhone for the web sites I create?…


Reducing duplicate error handling code in C#?

I've never been completely happy with the way exception handling works, there's a lot exceptions and try/catch brings to the table(stack unwinding, etc.), but it seems to break a lot of the OO model…


ASP.NET built in user profile vs. old stile user class/tables

I am looking for guidance regarding the best practice around the use of the Profile feature in ASP.NET. How do you decide what should be kept in the built-in user Profile, or if you should create you…


resources - What is the single most influential book every programmer should read?

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, argument…


asp.net - How do I define custom web.config sections with potential child elements and attributes for the properties?

The web applications I develop often require co-dependant configuration settings and there are also settings that have to change as we move between each of our environments. All our settings are curre…



Mapping Stream data to data structures in C#

Is there a way of mapping data collected on a stream or array to a data structure or vice-versa? In C++ this would simply be a matter of casting a pointer to the stream as a data type I want to use(…




how example net api asp tutorial application for with from