Since ASP.NET 5 can run on both Windows and Linux :
Is it possible to develop on Windows and then deploy on a Linux machine?
Does the "publish" in visual studio for MVC project still work in that scenario?
Yes, so long as you don't do anything platform specific (ex: Linux has no Registry) and you develop for .NET Core
It depends on what type of publish. But even then, you don't have to limit yourself to what VS can do. You can write your own publish scripts if you want.
Related
I have created a console app using C# and .Net core version 5 on Visual Studio IDE. I understood how you can publish this app for the same OS. So now I can share my C# project as a .exe with all my friends. But all my friends don't have a windows. Since this is a console app, it said that I could share it with anyone having Linux/Mac. Also, I only have windows.
So the main question: How do I export my .cs project in such a way that I get files for Mac and Linux with just a windows machine? Also is it possible to do this without using non-Microsoft services since it poses security risks?
I have a MacBook Air.
I want to make a simple windows application that has buttons to start/stop server(CouchDB Apache) on a Windows computer. Is it possible to do so?
I also got this problem, so you have to create the UI in Windows and do the business-logic coding on your mac. But need a compile connection to windows machine.
I am working with RDP on a server now to develop windows applications.
Maybe create a VM on your Mac.
Or you will need to run a Windows installation with "Boot Camp" and run the Windows version of Visual Studio to create the app.
As i know you can not deploy windows form app on mac. but you can create a .net core console application and send start/stop command to it. it will do the same thing if your app is as easy as you told.
this link helps https://learn.microsoft.com/en-us/dotnet/core/tutorials/with-visual-studio. of course you should use visual studio code IDE to create your .net core console application.
.NET Core is cross-platform in that you can develop and run an application on your desired platform (Mac, Linux, or Windows). However, I can't find any information on cross-platform development of an application, in particular, of an ASP.NET Core application.
We are building a new website and we need to be able to have some users work on an ASP.NET Core application on Windows and some on Mac. (There is currently no need to support development on Linux.) On the Windows side, we would ideally like to work in VS 2015 (Community).
Is this possible? If so, are there any required or recommended steps to follow or workarounds to help make the process smoother? Are there any limitations to this approach?
The official documentation has everything you need to get started https://learn.microsoft.com/en-us/aspnet/core/tutorials/your-first-mac-aspnet
Update: For Visual Studio instructions: https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/
This is about the deployment of a Windows Forms application. I have created a Windows Forms application, but I'm not sure if the users have installed .NET version 4. I have put my Windows Forms application at my website and the users will download it to their desktop.
How do I automate the process of downloading and installing .NET 4 if the users have not installed it? What are the recommended ways of deploying Windows Forms applications to users?
You could try ClickOnce.
ClickOnce deployment allows you to publish Windows-based applications to a Web server or network file share for simplified installation.
You just need to define which prerequisites you want to include in bootstraper, as described here
You could define prerequisites in your Setup And Deployment Project.
You need to provide an installer and mark .NET as a prerequisite. See Stack Overflow question How to make an installer for my C# application? (.NET 3.5, but the idea is the same).
You could always download and include the .NET 4 redistributable. It about 40 MB so it may not be the most optimal solution, but it may be the easiest for the client.
We have developed a web application in windows using visual studio 2005. Is it possible to deploy that application in linux using crossover. Is it possible to run crystal reports in asp.net using crossover.
I have used wine, and cross over and even mono. But it was not possible for me to develop crystal reports web application in ubuntu.
But I am able to develop windows application using c# with mysql database as backend and have used crystal reports. But it doesn't work for ubuntu
Please look at the below posts for more details:
how to run crystal reports in ubuntu linux
Can't connect to MySQL for .NET application deployed in Wine using Ubuntu
http://www.talkonsomething.com/2009/11/how-to-connect-mysql-database-from-windows-xp-to-ubuntu/
Yes.
Well, maybe.
You will probably have more luck with Mono than wine, but either way you're looking for pain.
Good luck.
You can now install visual studio code in Linux and compile it there. Microsoft's Visual Studio Code is an Integrated Development Environment (IDE) with support for Mac, Linux and Windows.
As Shoham mentioned, Microsoft recently released Visual Studio Code, a lightweight, cross platform code editor. However, this doesn't exactly get you all the way to fully deploying .NET code on Ubuntu. In order to do that you also need to install the CoreCLR and the ASP.NET 5. I've been trying to do exactly this in OS X, which should be very similar, but haven't quite gotten it working yet.