self-hosting Questions

0

I need to self host (in a windows process out of IIS) an existing .ashx service. The service implements an IHttpHandler.
Mcknight asked 15/7, 2015 at 16:57

1

Solved

I'm building an OWIN self-hosted Web API 2 service. I need for this service to expose OData end points. The traditional IIS-hosted method involves App_Start/WebApiConfig.cs: using ProductService....

1

Solved

My application runs as a Windows service. It dynamically creates WCF services using the following helper method: public static void StartWebService(string webServiceName, Type serviceContractType...
Interrupter asked 23/4, 2015 at 13:50

2

I have a self-hosted API running on port 8080. On port 80 is my web server (IIS 7.5) with a website I can't touch. I added an application "MyApiTestsite". Now all requests to /api/ or /signalr/ I w...
Lawgiver asked 28/4, 2014 at 9:17

1

Solved

I have a self hosted owin Web Api and I'm trying to use a single instance of my EF Context per Owin Request. Here is my config code for the startup class. public void Configuration(IAppBuilder app...
Throng asked 2/1, 2015 at 1:30

1

I would like to stress test my Web Api self host application. This application is hosted on a Azure Worker Role. I know how to get the performance counter from my Worker Role to my storage (for a...
Cissy asked 1/5, 2014 at 22:44

1

Solved

In a WEB API 2 OWIN self host project I get "Access is denied" exception thrown for anything other then localhost in: string baseUrl = http://localhost:2500; WebApp.Start<Startup>(baseUrl); ...
Hedgerow asked 11/1, 2015 at 10:2

1

Solved

I have a full-working ASP.NET MVC application (consisting of 5 assemblies, .NET 4.5.1, ASP.NET MVC 5.2.2) which runs fine in Visual Studio (which uses IISExpress). I would now like to have a conso...
Demurrage asked 1/12, 2014 at 11:2

2

Is it possible to use ServiceStack Mini Profiler in self-hosted console application? If it is, where should I put profiler enable/disable code? In ASP.NET hosted ServiceStack it's usually in Applic...
Anguiano asked 6/5, 2013 at 21:19

1

I have this WCF self-hosted WebSocket service code: Main: //Create a URI to serve as the base address Uri httpUrl = new Uri("http://192.168.1.95:8080/service"); //Create ServiceHost ServiceHost h...
Monroy asked 16/6, 2014 at 8:59

1

Solved

I'am trying to make a self-hosted web api service. I followed a tutorial and it works fine on my local computer. localhost/api/values responds fine with the expected JSON. Now, I have a server bi...
Lashonda asked 4/6, 2014 at 8:58

3

Solved

I came across this gem, which seemed to be close to what I wanted. However, I want to use the already-written controllers from a referenced assembly. My first crack was to reference the assembly, ...
Herein asked 11/6, 2012 at 23:30

3

namespace helloserviceSelfHostingDemo { [ServiceContract] interface IhelloService { [OperationContract] string sayhello(string name); } public class HelloService : IhelloService { public s...
Reactive asked 3/6, 2014 at 6:30

2

The HttpContext is not supported in self hosting. When I run my self hosted in-memory integration tests then this code does not work either: // OWIN Self host var owinEnvProperties = request.Prop...
Baronetage asked 29/1, 2014 at 11:59

1

Solved

I'm using VS2013 and Web API 2 to create a self-hosted (using OWIN), RESTful service over SSL using token authentication. Although I'm not a novice developer, this is my first time looking at ASP.N...

2

Solved

I'm wondering if it's possible to Cast the result of var hub = GlobalHost.ConnectionManager.GetHubContext<ChatHub>(); To my actual ChatHub class. Because GlobalHost.ConnectionManager.GetHubCo...
Luke asked 11/1, 2014 at 22:15

1

We are in the process of deploying a new application using play 2.1.1 to production and are having some real issues with it and the very limited documentation didn't help much... So it was time to...

2

Solved

I am trying to run SignalR in Nancy in a console app. When my browser does $.connection.hub.start() it gets 404 - NotFound for //localhost:667/negotiate?clientProtocol=1.3 ----8<---- I am (tr...
Matta asked 30/7, 2013 at 20:39

1

I am currently working on a C# project which is a console app which has a WCF soap service hosted within it. Below is the code I am using to open the host. var baseAddress = new Uri(Configuratio...
Ibex asked 11/3, 2013 at 19:12

1

Solved

I have created a SelfHosted AspNet WebAPI with Visual Studio 2012 (.NET Framework 4.5). I enabled SSL for the WebAPI. It works fine when the controller is defined in the same project. But when I a...
Depressive asked 21/6, 2013 at 2:7

1

Solved

I'm working on a Windows Service with a number of self-hosted WCF services. I'm using Autofac for DI/IoC. WCF services and endpoints are set up in app.config, and by enumerating the configured ser...
Brooder asked 24/5, 2013 at 16:31

0

Yesterday I setup a localhost on my network, and now am working on making it a public website. I read that self-hosting a website with WAMP can be very insecure, and poses high security risks...
Dictatorship asked 25/5, 2013 at 20:0

2

Solved

Is it possible to write a simple custom Console Application that includes a owin library that can host a Asp.Net Web Application directly (without katana.exe, like CassiniDev's library)? Is it poss...
Roede asked 27/1, 2013 at 13:29

2

Solved

I have a self-hosting WCF service accepting messages via HTTPS. A message is being sent from a Java application, which receives the response: HTTP/1.1 413 Request Entity Too Large Content-Length: 0...
Solitary asked 19/9, 2012 at 9:11

1

Solved

WCF 4.5 supports GZIP without third party libraries or handwritten extensions. I got it working via TCP Binding, but cannot find a way to get it working via HTTP Binding. my wcf - Service is self ...
Schlessinger asked 28/3, 2013 at 11:2

© 2022 - 2024 — McMap. All rights reserved.