Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
We are a small startup with majority PHP talent and also C# talent. We're working on a web service which is going to we be talking to multiple clients like our website, phone apps and some embedded devices. We have decided to go with asp.net Web API for the web service and php for the web site.
Being a startup we are extremely sensitive to cost. Is this setup too costly to host and what would the performance be like if we host this configuration on a single server?
Visit Azure pricing tab. Your best bet is to host WebAPI on Azure or a Windows VPS.
In case of VPS, you can buy managed windows VPS (costly) or an un-managed windows VPS. A quick Google search can give you the cost estimates for same.
In case of Azure Websites, everything is managed by MS & you just need to deploy your code to Azure.
If you can't afford Azure, go with PHP for REST services.
In general, hosting on Linux is much cheaper than windows.
Apart from hosting, you may need to invest in SQL server (you can also use MySQL on windows). VS 2013 community is now free and hence you have saved some cost for IDE.
Assuming you choose windows, performance depends on so many things (server config, code etc). No can answer this vague question. Having said that, IIS can handle large volumes.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I have a complex legacy software which is a C# WinForms application, recently upgraded to .NET Framework 4.7.2 and added with a WCF REST API for external communication.
This application requires certain files on the disk, certain partitions needs to be available (such as a D: drive) and so forth (due to a lot of hardcoded file management etc). The app also requires a license USB dongle and a big SDK framework installed on the PC.
Now we would like to run several instances of this application in one server and get results out from it via its REST API. Is there any way we can do this? I guess several virtual machines would work, but is there any other way, Docker maybe?
Docker is out. As a commenter stated, Docker is not designed to mimic real hardware. See this comparison for more information.
I suggest a traditional Windows virtual machine and something like Hyper-V USB Passthrough.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there a wrapper or framework that can easily convert or run a MVC web app as a windows based app or vice versa? One version needs to run in a browser, and the other standalone.
Seems kind of a niche and pointless thing but this is a bit of an awkward problem. With some planning I can probably maximize code reuse, but there's still going to be a lot of almost duplicate but slightly different code writing needed. Any ideas?
I think your best option would be to implement your MVC application and then use Hosted Web Apps approach to create Windows 10 app. Basically it will be your website in an application window, and you can implement many Windows Store features on top of it like for instance in-app purchases. It will look and feel like a native app.
From the website
For existing web applications, Windows 10 makes it easy for you to
create a Universal Windows Platform (UWP) app that packages your
website for publishing to the Store.
They promise:
Look great across all Windows-based devices, including PCs, tablets, phones, HoloLens, Surface Hub, Xbox and Raspberry Pi.
Update and call native Windows APIs from JavaScript running on your website, creating a more engaging user experience.
Integrate with Cortana voice commands.
Debug your app with Microsoft Edge F12 Developer Tools.
Track status, ratings, and reviews, see analytics, and get paid for all of your Windows app in the Windows Store.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I know that there are a lot of threads talking about this topics but please let me discuss my problem in some details.
In our project, we are using a lot of devices (Cameras, Printers, Fingerprint devices, Smartcard readers) in desktop applications and we have already C# components that are developed to deal with these devices using their SDKs.
The problem now is that we are moving into web development and we are supposed to convert our WPF desktop applications into ASP.NET MVC web applications and also we should use our existing components for the devices.
The possible solutions to deal with devices from web .Net application are:
Using ActiveX (Which is dead or will die soon and it required some COM experience and very hard to develop).
Using Silverlight (Also, is dead or will die soon and it is very limited such that we can not add reference to existing C# components).
Using Java Applets (which require some Java experience and we will rewrite existing c# components in Java).
Is there any other solution so that we can deal with devices from ASP.NET MVC application over Intranet?
You can write browser extensions for Chrome, Firefox, and Edge (soon). I'm not sure how much code reuse you'll get across the browsers if you need to target them all, and I'm not sure of the extent to which you can run arbitrary code to connect to devices from your extensions, but it's something you should look into. You can then have your browser extensions communicate with your webpages to pass the necessary data.
Your users would need to install the extension for their browser to receive the functionality.
You can still distribute small "helper" applications that are based on a pared down version of your current WPF applications. These would perform the device access, and communicate directly back to your web server. The web site would serve as the interface.
This would allow you to leverage your existing device communication code. On the downside, it requires a separate install on the client, which means one more thing for the user to do and one more thing to keep updated.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I need to be able to from code to setup dns records. What options do I have?
The solution will be run on Windows Azure, so running a virtual machine with a DNS server and manage that from code is okay if thats possible. What other options do I have?
I am new to DNS administration and need to figure how how to best do this. Our task is simple, we will dynamicly deploy websites and would like to add dns records such .ourdomain.com or .sites.ourdomain.com get created automatic when new sites are created. So a short intro to what to read up on is also welcome. I have a basic understanding of DNS and know what different records mean, but have always just manual maintained those for my own site in a web interface at some free service.
You can run your own DNS server in Azure on a Virtual Machine. Unfortunately, interacting with Windows Server DNS's service on an API level is tough.
One suggestion is to look into other DNS providers that offer API access. Here's a link to Stackoverflow question that covers this subject: Cloud DNS Service with API
Another alternative to consider is to have a small reliable website that is hosted under the catch-all domain (.yourcompany.com) and would inspect the host headers and redirect based on those. This is assuming that all of your domains are needed to host websites and not some other apps. Using host-header inspection will eliminate the need to screw around with DNS and transfer the logic to your application's routing layer - which is usually much simpler to deal with.
HTH
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I was recently sent this link to Statsd which would be an interesting tool for us to monitor various aspects of our product, but it would be a hard-sell for us because of the PHP and non-Windows toolset. (This question asks about installing this on Windows, without an answer...)
Can anyone recommend Windows / .Net toolsets that might provide similar low-overhead monitoring of systems? Within reason, paying for a toolset should not be a problem.
I did find this microsoft page that looks quite interesting, but let's be honest, it does not have as many cool graphs that show the kind of thing that would be nice to have as an end-result :)
Your experiences and thoughts on direction would be appreciated: I think our ultimate goal would be 'wall-boards' e.g. large screens cycling through several key graphs or views so the whole team could understand and monitor some key metrics of the products we are supporting. Our client uses SQL Server Reporting Services for this, but their reports seem to be mostly statistical and very little graphical.
I've ported Graphite to Windows. It was pretty easy to do this. I've issued a pull request to the main project. I hope it will get merged. Until then, you find the fork under:
https://github.com/stephanstapel/carbon
Graphite installation requires some additional steps I published here:
http://www.s2-industries.com/wordpress/2012/12/running-graphite-on-windows/
Why not run Graphite in a Linux VM on top of a windows server? You get the full support of the graphite community, while being completely hosted on windows.
If you were wanting to replicate statsd, I would create a Windows service listening via UDP on a specific port. With a fairly open database schema, you could mimic its low-friction fluidity. That would take care of statsd and Carbon, the data collector piece of Graphite. You would then need to write a management tool that analyzes and presents the data in place of Graphite.
I would, for this reason, encourage you to just take the Linux route. Otherwise, you'd be fighting every battle the developers of those tools fought all over again.