self-hosting Questions

2

I am trying to self host a Web Api service inside a windows forms application using the code below namespace MascoteAquarium.Desktop { static class Program { /// <summary> /// The main e...
Undefined asked 13/1, 2013 at 15:31

1

Solved

When I tried to use the Selfhosted WebAPI in LINQPad, I just kept getting the same error that a controller for the class didn't exist. Do I have to create separate assemblies for the WebAPI (Cont...
Pair asked 26/12, 2012 at 14:49

2

Solved

I'm just getting into WCF programming. I've set up a self-hosted test web service on my work computer, which is behind a firewall; it's at http://localhost:8000/MyTestService. I can access the serv...
Frock asked 24/12, 2010 at 10:55

1

Solved

I am trying to do some unit testing in for a Web API project. I am going simulate the web API hosting environment. It seems like that I could use In memory host (HttpServer) or self host (HttpSelfH...
Crockett asked 5/2, 2013 at 0:18

1

Solved

Can someone post an example on how to upload a large file (eg. 50MB) using NancyFx running in self-hosting mode. The file is expected to be sent from a webpage (method=post; enctype=multipart/form-...
Ashaashamed asked 24/9, 2012 at 20:3

2

Solved

I'm working on a self-hosted ASP.NET web api-application. Everything works fine, but now I'm struggling with HttpContext: I need to save session-informations from the client. But HttpContext.Curre...
Southeastwardly asked 5/7, 2012 at 15:38

3

Solved

I'm writing an application which needs to host several WCF services. One of the strengths of WCF is the ability to configure services without having to recompile, by specifying settings in the app....
Aluminate asked 13/5, 2011 at 14:41

2

Solved

In the ASP.NET Web API, HttpControllerContext instances provide a lot of information about the current environment, including the URI of the current request. If a service relies on such informatio...

3

Solved

public class ContactsController : ApiController { private static readonly List<Contact> _contacts = new List<Contact>(); public Contact PutContacts(int id, Contact contact) { if (_c...
Yield asked 8/3, 2012 at 16:35

4

Solved

I found several versions of an IIS-free Cassini webserver built by Microsoft. I'd use it but I'm unsure of which one is best, since there are many forks/builds: the original dmitryr's v3 (with c...
Plumbiferous asked 21/3, 2011 at 23:34

3

Solved

My first few attempts at creating a self hosted service. Trying to make something up which will accept a query string and return some text but have have a few issues: All the documentation talks ...
Archean asked 11/5, 2010 at 1:34

3

Solved

A co-worker and I are having a discussion about WFC services when the topic of "cost" comes up. The question is this: Given that an IIS-hosted WCF service and a Windows-Service-hosted WCF service...
Jehoash asked 16/2, 2010 at 17:53

1

Solved

I'm thinking of self-hosting my WCF service instead of using IIS. A big question for me is whether I need to instantiate multiple servicehosts as IIS does or one wil be enough. Do muptiple servic...
Sabra asked 25/1, 2010 at 11:10

2

Solved

I want to expose few web services but thinking of hosting those as Windows Service as against hosting in IIS. Is it a good practice? If yes? How do I make it secured? I want to authenticate th...
Orfield asked 21/10, 2008 at 18:24

© 2022 - 2024 — McMap. All rights reserved.