Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6587233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:53:30+00:00 2026-05-25T16:53:30+00:00

I am writing a ASP.Net MVC app that connects to a SQL database and

  • 0

I am writing a ASP.Net MVC app that connects to a SQL database and uses existing C# libraries I have.

I also have a TCP server Windows application that sends/receives TCP messages via XML. I have successfully setup node.js and socket.io to handle all this and have a html page that sends/receives messages to the server. Node.js is serving up the html page at the moment. The XML is converted to JSON when sending/receiving data.

I am planning on setting my MVC app to serve the page up but was just wondering what your thoughts are on this use of cross framework setup. Does it seem viable and a good solution for handling TCP messages and sending it to the browser? I have also read about iisnode for hosting node in IIS which I guess would be a good idea for my setup. What are your thoughts on this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:53:31+00:00Added an answer on May 25, 2026 at 4:53 pm

    You basically have two websites. One is your ASP.NET MVC website. and the other is a web client for your TCP windows application.

    Since they are disjoint it will work fine.

    You may want to have that web client’s html server through ASP.NET MVC and only run a websocket server on node.js though. You may need to do some proxying to get the same origin to work.

    If you server your HTML page from a webserver running IP Y, port X and then try to talk to the node.js websocket server running on IP Y, port X + n it may violate the same origin restriction.

    This means your basically loading a socket.io client from server A and trying to talk to server B. The web page doesn’t know you own both of these servers.

    The solution would be a proxy, you proxy all requests to server A and B but since they all go through the proxy it doesnt violate the same origin.

    As for proxy, nginx is one. There is a node-proxy. And IIS might be able to proxy it for you (Although I doubt IIS makes a good proxy)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing an ASP.Net MVC application that uses NTLM authentication, so users don't
I'm currently writing a website in ASP.NET MVC, and my database (which doesn't have
I am writing an asp.net MVC app that drives an IPhone application. I want
Newbie question. I’m writing an ASP.Net MVC app in VB.Net and have been using
I am writing a Asp.net MVC 2 application that uses Forms Authentication and currently
Writing an asp.net mvc app and i have something like this... Public Class AA
I'm writing an app using asp.net-mvc deploying to iis6. I'm using forms authentication. Usually
I am writing a small app to teach myself ASP.NET MVC, and one of
i'm totally noob to asp.net mvc and currently i'm writing an web app which
I'm writing a website in ASP.NET MVC, using the ASP.NET MVC 1.0 template that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.