I need to create an application that will operate on a windows 10 machine and needs to be reached from mobile clients and other desktop clients.
I figured i'd need an application that has a web interface and possibli be a pwa.
This could allow me to use it on mobile without coding an app for android and one for ios.
My question is, is it possible to ship the application with a standalone webserver so that the customer has to install nothig but my app?
I looked into Kestrel but i have no idea on how to setup the project as it visual studio 2022 (preview) keeps using IIS.
What could be my options?
I'll go ahead and consider this thread closed for I discovered i don't need to transition to C# and dotNet to create what I need as SpringBoot offers me just that.
Related
I'm really new at this, never hosted an app before, everything I've done so far has been locally.
I have a windows server 2008 sp1 running at work, with IIS installed. I access to it via remote desktop, and I need to be able to deploy my app, first locally on the server, so computers that can access it (through LAN) are able to use it.
Right now, if I create a folder and put some data in it, with an html file, and go to "localhost" in a browser, I can see the rendered html file.
The version installed is IIS 7.0, and my app is uses the MVC pattern, and .net framework 4.6.
If on my windows 10 PC I start my app (vs 2017) I can see it on my browser.
I want to be able to do what I do in my PC but on the server. How can I do this?
Update:
I tried Publishing the app through vs but that is on my windows pc and getting a lot of errors. What I know so far is that a guy from Networks gets the app by the developers and they publish it, but I don't know what kind of files does he need.
I followed tutorials but I just can't apply them.
As I said earlier, I have visual studio installed on my w10 PC, and tried publishing through that app to the ip where the server is, getting a lot of errors.
I don't know what to do, I'm really trying a lot of different things, but I don't even know how the app is supposed to look to be run in any way that is not how I run it in visual studio.
UPDATE:
I'm getting this error when I try to publish locally
Here is the Outline of what we need as per OPs requirement
In VS publish the App to a folder
Sort out the server prerequisites:
Turning Windows Feature On or Off for ASP.NET, ISAPI filters, ISAPI extensions, NET extensibility
Server should have .NetFramework installed
Copy the published folder to the Server
Configure IIS manager to add a new site and set physical path to published folder
I am trying to create an application in Visual Studio. However, I cannot access the user interface of the application when I create the app through the cross platform blank app xamarin.forms.shared.
When I create the app through cross platform blank app native portable, I see the storyboard for the iOS app, but I cannot access it since my computer runs Windows.
Furthermore, I cannot access the Windows implementation of the application. How can I access the user interface while allowing an implementation of all three versions of the app on my Windows computer?
You will need to have access to a Mac as a build host. I use a networked Mac Mini to do this. Xamarin explains how to do it pretty well here:
https://developer.xamarin.com/guides/ios/getting_started/installation/windows/connecting-to-mac/
I have a MVC 5 web application that is working fine. But due to internal security reasons and restrictions of my organization, I cannot host it as a website. My current requirement is to make this app run on a particular computer that has IIS installed on it but no Visual Studio.
My application makes use of MS-SQL database, Entity Framework, C# razors and all other .NET dependencies that are usual in a MVC app, and my target framework is 4.5.1 .
What I Found : I googled a lot, what I got is to create a Virtual Directory using the inetmgr and create the application under that directory. But since already the application is created I cannot go for this fix.
Please help me out by providing some links to refer to or steps to solve this.
Thanks in advance for any help.
What you will need to do is to either:
Use Visual Studio to publish the website directly onto the machine which is hosting the IIS application, as shown here.
Use Visual Studio an publish the application to a folder location on your machine and then use remote desktop or some other method to move the published DLL's to the virtual directory of the application.
Essentially both of them do the same thing, but sometimes due to security reasons, option 2 is easier to accomplish.
I have a service written in C# that relies on features in .NET 4.5 that are not yet supported in any version of mono, so I have to use Windows servers. In other cases to deploy a network service I would just SCP a jar/tar/whatever over and then SSH over the deployment process, and that can be made a part of an sh script that can distribute to wherever. But because this is Windows, I don't have those tools and I'm at a bit of a loss as to how to deploy this to 20 (or more) different servers.
So I see that there is a publish process in MSVS 2012, but it seems to make use of Windows file shares or else I'm supposed to send it to a website of some kind(???) but it doesn't look like it has any way of starting it even if I could figure out how to get it there.
Is there some product that does this in Windows or would it be easier for me to just install an SSH server? I have remote desktop access, but would prefer not to have to deploy anything manually on them.
Thank you!
Try using Powershell with WMI. [This question] (https://superuser.com/questions/337810/how-can-i-remotely-install-or-uninstall-a-service-on-windows-server-2008-r2) discussed some approaches to install windows service remotely.
I've created a windows service application using Visual Studio .NET 2010 and C#. I've also added an installer application which works great. The application runs great but I have no clue how I am to deploy updates for this application. On a few of the desktop apps that I've created, I can specify that the application check for updates after the program launches. It would be great if I could do the same thing with a window service application. Is this possible? If not, what's the preferred way of deploying updates out to all of my clients?
What you're seeing is a result of the same problem encountered here. This question isn't necessarily a duplicate of that one, but the end-result is the same (See Marc Gravell's answer to that question).