I am trying to build a webservice that manipulates http requests POST and GET.
Here is a sample:
public class CodebookHttpHandler: IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
if (context.Request.HttpMethod == "POST")
{
//DoHttpPostLogic();
}
else if (context.Reque...
Using Visual Studio 2008, and I'm trying to use some of the .net Framework 3.5 utilities - specifically Extension Methods.
However when I try and get to things in the System.Runtime.CompilerServices namespace, the required .Extension namespace is unavailable.
If I go to "add reference" and look for System.Core - the required library fo...
i want to use visual studio 2008 as an IDE for QT programming to be able to drag and drop push buttons, combos,.....etc. on the form i'm designing rather than generating those widgets using code.
how to do this???
thanks
...
I am using ankhsvn with VS2008. I am using a free repo hosting on the web. I am not using a svn client for this repo, but managing everything with ankhsvn (including adding solution file and project files to the new repo).
I want to add the svn:needs-lock preperty to these files. I wonder if I can do this task using ankhsvn, or if I ne...
Is there a way except try/error! that I can find which of my add-ins are causing conflict with my CopySourceAsHTML add-in in Visual studio 2008? It used to work but I am not sure which add-in that I installed caused that one to stop working, I also tried uninstalling it, Resetting it through DevEnv command line and installing it again, ...
Hi, I am exploring the option of querying a web-page, which has a CGI script running on its end, with a search string (say in the form of http://sw.mycompany.com/~tools/cgi-bin/script.cgi?param1=value1&param2=value2&param3=value3 ), and displaying the result on my app (after due processing of course). My app is written in MFC C++...
I know that it's possible to compile my C code into a dll, and then use P/Invoke to call that code.
What I wondered if it was possible to have a chunk of C code embedded directly in my code, perhaps only available to one class...
Something like this (non-working) example:
public class MyClass {
extern "C" {
int do_somethin...
Can someone help me find a solution to the following error:
"fatal error C1190: managed targeted code requires a '/clr' option"
My configuration is ..
Visual studio 2008
Windows 7
Here is the code (i got by using net resources)
#using <mscorlib.dll>
using namespace System;
using namespace System::IO;
int main() {
// C...
We are in the process of trying to implement perforce in our small IT department. We're primarily developing in .net using visual studio 2008. I've organized my projects as follows:
Customer
Product
main_line
version_1
version_2
Libraries
Library_Name
main_line
version_1
A main_line/vers...
Hi,
I'm writing an internal program using ASP.NET (Visual Studio 2008). The basic premise is that folks will connect to the page through their web browser, put in some data (which will be validated and sanitized of course), click "submit" and then a query will be run on a database. I told you that story so I can tell you this story - I ...
In my company we use Visual Studio 2008. Is VSS 2008 free?
Thanks in advance.
...
Is there a way in VS2008 IDE for c# to see all the possible exception types that can possibly originate from a method call or even for an entire try-catch block?
I know that intellisense or the object browser tells me this method can throw these types of exceptions but is there another way than using the object browser everytime? Somet...
I have an annoying problem with Visual Studio 2008.
When I run the "format code" command ("control+k, control+d") -- it will insert a carriage return. How do I get it to stop doing this???
For example:
<label for="shipCompanyName">Company Name:</label>
undesirably becomes
<label for="shipCompanyName">
...
When switching from MSVS 6 to MSVS 2008, what major differences should I look for when testing the software? I'm coming from more of a QA perspective. We have two programs that work closely together that were originally compiled in Visual C++ 6. Now one of the programs has been compiled in Visual C++ 2008 in order to use a specific CD wr...
I'm using Firefox as my default browser and I'm trying to debug java script in side asp.net page visual studio 2008 with Firefox browser.
how to enable script debugging in visual studio 2008 when using Firefox?
by the way, I installed JavaScript Debugger plug-in for Firefox.
...
I am developing a VS 2008 web application in C#. I am trying to include a namespace that is stored in one of my folders. So instead of:
using ADONET_namespace
it is stored in "Admins" folder. How do I modify this aspx.cs file to include Admins/ADONET_namespace?
Currently I get following error from aspx.cs file:
The type or namespa...
For some reason when I am trying to create a class which implements IHttpHandler I cannot resolve IHttpHandler.
Statements like:
using System.Web;
are not helping either.
This is a class library project, I am following example here: http://www.15seconds.com/issue/020417.htm
What am I doing wrong?
...
I want to use the built-in web server for VS 2008 and have it run my web-site project as the top level root "/". Instructions for VS 2005 can be found at:
http://weblogs.asp.net/scottgu/archive/2006/12/19/tip-trick-how-to-run-a-root-site-with-the-local-web-server-using-vs-2005-sp1.aspx
My problem is with step 3 of the instructions. Whe...
I need to use port 80 for my development server. Before i restart pc, it's still working fine. After that, it pop up the port 80 is in use. The development server able to run if i changed to other port.
I've checked using netstat -ano, no program is using it (my iis is using other port and my skype is not using port 80 as well).
I also ...
is there any other library the works like bios.h in Visual studio 2008 this header is present in TC a very older version but i need some functionality of it in visual studio 2008 can some guide be about this
i need .net independent libs.
thanx in advance
...