I have a few unit tests that require files from the project to be used to run the unit tests. These files are just images. I need to get the image file using some kind of function within c#, other than pasting the full path like below.
string filePath = @"C:\Users\user1\Documents\Visual Studio 2008\Projects\app1\app1.Tests\Fakes\test_...
To build a Web Application, what kind of open source web application frameworks / technologies are currently present that would be:
Faster to learn.
Ease of use.
Have widgets for rapid development(From a GUI perspective).
Database integration.
I would want this web app to communicate to a Java client.
I am not bound to Java ...
I know this question has been asked a million times in various ways by different businesses, but I'm wondering the community's opinion on it [There's this question, but in the fast-moving world of tech, a year is a long time]. For hypotheoretical purposes, let's consider a website where users can watch videos, a la YouTube, Hulu, etc. (a...
I am a web developer based in London, UK. As part of my personal website, I include examples of projects I have worked on. This includes projects that I have worked on personally along with projects I have worked on during my time with two previous employers.
One of these employers is now insistant that I should remove all work from my ...
I want to create a secure login/logout mechanism. I started reading the following articles to get an idea of things to take into account:
Solving the Logout Problem Properly and Elegantly
Revisiting the logout problem
These articles make some good points, but I was thinking in using HTTPS in a similar way as the Yahoo mail login pag...
I'm working on an ASP.NET application that has the following requirements:
Once every 15 minutes perform a fairly expensive query of around 20,000 items (not from a database). Has around 10 columns, all short strings, except for one which stores up to 3000 char (usually a lot less).
Process the resulting DataTable with various sorting ...
I need help clearing up some questions regarding these several third party dev-support frameworks (e.g. ViXML, Titanium Mobile) which promise iPhone app development at lightning speed using only Javascript and XML, without knowledge of Objective-C.
Questions
Are there any features possible on a regular Xcode development platform that ...
On my last project, I created some test cases through Selenium, then automated them so they would run on every build launched from hudson. It worked fantastic, and was consistent for about a month.
Then the tests started failing. It was, most times, timing issues which caused the failures. After about two weeks of effort put in over ...
Hi all,
I often see the phrases 'business logic' and 'application logic' in terms of web development (I assume it also applies to programming in general rather than just web development).
This is quite new to me so I don't really know what it means, could anyone please explain me what is exactly meant by this? Is it just a 'buzz word'...
I am currently running Dotnetnuke version 4.9.4 and would like to enable gzip compression. My concern is that IE6 prior to SP2 has known issues with gzipped content. Does the Dotnetnuke framework handle the gzip issues with IE6 or will I need to apply a fix outside of the framework?
...
I have a bunch of media that I need to display in a UIWebView on the iPhone. I would prefer if the client did not have to download said media on booting up the application, but could just reference it locally and download it during the install of the application.
Is this possible?
...
I am building a site using code igniter. I am developing a custom product catalog using php and mysql.
What is the best way to go about making those products purchaseable online. I thought about writing my own cart, but I am a little worried about how much time that would take.
Most carts I come across online are full fledge invent...
I need to write a DHTML page. But, since I have most of the code inside an AS3 library, I want to use ActionScript instead of JavaScript to do the most of work. In this case JavaScript layer (if any) would be just a write-once abstract proxy.
I know about ExternalInterface stuff, but I want something more high-level, which would ease cr...
Im working with ASP and a SQLite database trying to connect and retreive records from the database. I can't seem to get the connection to work correctly and keep getting script errors when I open the ASP file in a browser.
Can anyone give me example code which will connect to an SQLite database and run an SQL query on it that is able to...
Can Velocity be configure to fail (i.e. throw an Exception) when a $var is undefined.
Such a "fail-fast" strategy would help in our testing cycles.
...
I would be interested to hear how people develop for moss.
We currently use virtual environments, with wspbuilder and nant scripts to build and deploy.
We are finding the debugging and deployment process slow for our devs.
Can anyone suggest ways to speed everything up?
...
Is there any IDE that I can create DIV and CSS based webpages in GUI mode? Like we have Dreamweaver.
...
In my demos, I'd like to avoid using traditional DBs and store all the data on the client side, e.g. information submitted via a form.
What alternatives do I have for that. I've heard about Gears but I don't have any practical experience.
Can I also store binary information besides strings, e.g. an image?
...
I have a really simple set up
<div class="container">
<ul>
<li>Item one</li>
<li>Item two</li>
</ul>
</div>
I had assumed that all contents and the bullets of the ul would be within the div but currently this is not the case.
The bullet points for the UL appear outside of the div and effectively disappear when overflow is...
I've read the w3.org spec on the 'HEAD' verb, and I guess I'm missing something. I can't see how it would be useful.
Is the HTTP 'HEAD' verb useful in web development?
If so, how?
...