Hi there,
Been writing my first WCF Rest service and its going well... but i have a small issue, can anyone help?
When i goto my help page which on local pc is like so
http://localhost/WcfRestService1/help
It displays the following, but the URI is wrong, notice the URI is blank or only asks for the parameter {id}
Uri Method ...
Hi there,
I wonder if anyone can confirm the naming convention that i am using is correct, i have just started and really don't want to get into a bad habit
Here is what i have ... (see comments)
basically i have a mehtod called GetTasks but the uri is Tasks - i presume this is the way to go??
Also i have a method called GetUser whe...
I have hot this error at the linker:
LINK : fatal error LNK1104: cannot
open file 'libcollada14dom21.lib'
I dunno why, libcollada14dom21.lib is in VSDIR/VC/lib.
...
I'm debugging a vb.net windows program which I've upgraded to a VS 2010 solution, targeting Framework 2. I need to step into a webservice's code. The web service is framework 3.5, also vb.net, running on a windows 2003 server on our LAN. I've seen a ton of crap on the Net about it, mostly other people who couldn't get it working either. ...
Hi there,
I am used to using soap services where you add a service reference and it creates strong types classes (return types) of each method..
Of course REST doesn't work like this
How do i consume a WCF REST Service?
Is there no way to use strongly typed classes for the return types?
I am using Visual Studio 2010 specifically
An...
In Visual Studio 2010, is there any way to start a non-StartUp Project without debugging?
Of course I mean without changing the solution settings (i.e. assume there is a StartUp project, which is the one I want to start 90% of the time)
I'll take a macro if someone knows how to write it.
Thanks
...
I've just started playing with T4, as I eventually want to use it to generate POCO's that map to LINQ to SQL entity classes, but even the simplest example has me slightly confused. Some advice on what is happening, and some advice on some good reading would be greatly appreciated.
I am of the understanding that the following template s...
This is a rather a problem from a convoluted situation. I have a static pointer sitting in one of my header files. Which is being included everywhere, this is why I put it as a static pointer. So that I can quickly initilize it in my main function so that other files can use it.
The problem is this, even after I initialize it and put st...
Why?
I expect only the project to open.
The only way that I could accomplish what I wanted to do was to create a new project test.csproj, add design.csproj, save the solution, and then remove test.csproj.
...
In Visual Studio Professional 2010 whenever I type the following:
new {
It automatically changes to:
new object {
Is there a way to make it not do this? "Object" does not have the properties of the object I want to anonymously create.
...
Please see the end of the post for a detailed pasting of the error and relevant sections of my web.config
I'm using VS2010, vb.net, .net framework 4.0, and SQL Server 2008 Express on Windows 7 Pro with all updates installed. I have developed a website that uses memberships, profiles, and roles. I allowed the built in providers to crea...
In earlier version of Microsoft Visual Studio products if user in text editor hit CTRL+W editor will do select the word where is pointer. Does that keyboard shortcut exists still in Visual Studio 2010?
...
I have written my first rest services and currently i am testing them in a browser.
Is there a test client or some sort that provides additional features or is this the normal way of testing i.e. in IE, Firefox etc?
...
I am building a T4 template that will build a POCO from a LINQ to SQL entity, but right now it produces one POCO file based on one L2S entity. How can I reuse this remplate to iterate through all L2S entities and produce a POCO for each one, or for any chosen one?
...
Hi there,
does anyone know if HttpClient & HttpResponseMessage classes are available in VS 2010? I can't seem to get them to work, do i need to add a reference or using namespace?
These classes were originally from the starter kit for REST for Vs 2008... In vs 2010 its built in i.e. no use for the starter kit...
But how do I cosume t...
Starting a few weeks ago, compiling a project (VB.NET, .NET 2.0, VS 2010) has taken several times as long as before. In Task Manager, I noticed ResXtoResources.exe taking lots of CPU for a while. I've finally been able to get some data on this using MSBuild's 'Diagnostic' output setting, and comparing that output to what I see in a branc...
After turning on the Error List, the MS Visual Web Developer 2010 can report warning/error in the panel automatically.
However, I would like to know what I can do to trigger this validation manually rather than wait for a unpredictable period until the application starts to check.
...
Hi,
Need to write a post build event in VS 2010 project that copy just the dll and pdb to ....\MainProject\Debug
For some reason that I cannot explain the output path does not work.Nothing gets written.It used to.
How Can I do it?
Thanks a lot
...
here is code for sort vector of string
#include<iostream>
#include <vector>
#include <functional>
#include <algorithm>
#include <ostream>
using namespace std;
//using std::greater;
int main(){
vector<string>s;
s.push_back("cat");
s.push_back("antelope");
s.push_back("dog...
I'm starting a new project that'd involve using several SDK's including:
Intel Atom Developer SDK
text to speech SDK (Suggestions?)
webcam and augmented reality support of some sort (Suggestions?)
I currently have 2008, but I can also install 2010. Is there any reason to use 2010 for this project?
...