Questions tagged [out-of-process]

In Microsoft COM technologies, out-of-process refers to COM servers implemented in such a way that they reside outside the process(es) that use them.

82 questions
1
vote
1 answer

Out-of-process COM singletons

I am dealing with a single-threaded library (not thread safe) that I want to wrap in a COM out-of-process object to get around its thread non-safety. I need a behavior where each new COM object is instantiated in its own process - some form of…
wpfwannabe
  • 14,587
  • 16
  • 78
  • 129
0
votes
2 answers

Is there a way to extend a .net core WPF with COM?

I have a .net 6.0 MVVM WPF application that is used to walk users through an onboarding workflow. I now need to interface with this application from a legacy external process that was written in VBScript. My assumption is that this could be…
NiteFiddle
  • 5
  • 1
  • 3
0
votes
0 answers

Is there a way to set MaxRequestBodySize for out-of-process deployment mode similar to IISServerOptions for in-process?

When I try publishing the web api and deploying on my local iis, the setting below works var builder = WebApplication.CreateBuilder(args); builder.Services.Configure(options => options.MaxRequestBodySize = 12000); But in the…
0
votes
0 answers

Isolated Azure Function returns whole context in the body

I have created following Azure isolated function. Instead of returning simple json object it returns the below json object. [Function("GetSync")] public async Task GetSync( [HttpTrigger(AuthorizationLevel.Anonymous, "get", Route =…
Ash
  • 447
  • 2
  • 6
  • 19
0
votes
0 answers

Does MSIX have certain limitations for out-of-proc COM?

My question is whether there are certain limitations to accessing COM objects when you're dealing with an MSIX-packaged app. I've created a blank WinUI 3 C++ project, using the Visual Studio project template. In the project, I've created a…
user21242255
0
votes
0 answers

.Net Core app stuck hanging/loading on startup with out of process hosting model

I have a 3.1 net core web api which I had to switch from in process to out of process hosting model because my hosting environment has only one application pool and I have two applications running in that pool. Because of the in process restriction…
0
votes
2 answers

Calling a living object from one Process while running in another Process

Not really sure how to ask this question because I really don't know what I'm talking about. I have two DLLs (.NET), each is an AddIn that runs in two different application processes i.e. application one loads DLL one and application two loads DLL…
enamrik
  • 2,292
  • 2
  • 27
  • 42
0
votes
1 answer

Identifying classes to be marked as Serializable for out-of-proc session

We are attempting to go out-of-proc for session state, and need to mark the classes we intend to store in session as Serializable, of course. Is there any way to automatically determine which classes should be marked as Serializable, without…
Mark Richman
  • 28,948
  • 25
  • 99
  • 159
0
votes
2 answers

How to dispatch messages for multiple dialogs in an ATL exe

Microsoft had a knowledge base article describing how to modify the message loop in at ATL .exe so that modeless dialogs can receive appropriate messages. I was wondering how to elegantly do this if you have potentially multiple modeless dialogs,…
user15025873
0
votes
2 answers

App forces user back to login when apppool recycles

We have a private .net app that runs on IIS windows server 2016. We are using the sessionstate service Forms authentication with cookies When we recycle the apppool then any users are forced back to the login page. This is not the behaviour…
0
votes
1 answer

HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure Application Xbap

Recently I have had this problem that comes up often but I don't understand the reason for it. With IIS I have my web site with my api and when I call them I get an answer but I added an application to my web site and this one sends me this…
0
votes
1 answer

Pass C++ callback function into COM out-of-process method

There is already answered question about passing C++ callback into in-process COM method. But the same technique doesn't work for out-of-process usage. I have a C# interface and it has a method which registers callback/delegate with two…
0
votes
1 answer

Hosting outofprocess 3.1 web app require Windows Server Hosting updated too?

I am trying to understand the difference between inProcess and outofprocess while trying to host a dot net core app on IIS. If I am hosting outofprocess, does it still require updated .net core server hosting, or installed at all?
Ratan
  • 863
  • 5
  • 12
  • 28
0
votes
1 answer

.NET Core 3.1 OutOfProcess and AspNetCoreModule: app hangs on loading

I'm developing a .NET Core 3.1 + Angular web application on Visual Studio 2019. I've created the project from the included VS template and till now all works fine. When I've tried to publish the web application on Plesk I've encountered the known…
Androidian
  • 1,035
  • 1
  • 16
  • 40
0
votes
0 answers

UWP windows.preInstalledConfigTask running multiple times

I have created a uwp background task.This task suppose to run only once when app receive update. i have used below configuration in appmanifest file
Rajalbar
  • 59
  • 9