MacBook Pro and ASP.NET applications - asp.net

Is it ok to develop ASP.NET web applications on MacBook Pro ?

.NET is only available for Windows. There's the Mono project, which is not affiliated with Microsoft, which aims to create an open source .NET runtime and developer tools, usable on *NIX (including Mac OS X). If you want to develop .NET applications under Mac OS, this is your only choice.
Speaking of a MacBook though, you can install Windows on it using Boot Camp or run it in a virtual machine and develop in Visual Studio like on any other Windows box. And this is ok, I don't think anybody will confiscate your Mac for doing so.

If you have Windows running on the Mac then it is OK.
Another way is to use some .NET IDE for Mac (e.g. MonoDevelop)

New from Microsoft, IDE for Mac, Linux and Windows: https://code.visualstudio.com/Download

The best method to do that would be to install windows 10 with bootcamp and then install .NET . The steps involved are pretty straight forward. Just open bootcamp and create the partition and select the ISO of windows. Once installed, tap the options key on boot to boot to windows. If everything is smooth, you can continue the development, else, just open bootcamp again and delete the partition.
https://www.microsoft.com/en-in/software-download/windows10 - open this on mac to get the legal windows image. This will be valid only for a limited time

Related

It is possible to debug an asp.net WebForms application on MacOS using Visual Studio 2022?

Current scenario is that I have this macos laptop (Apple M1 Pro processor) in which I was working for the last 8 months on react under visual studio code. Now, in a new project I need to leverage some API's and a lot of JSON responses and I wanted to debug the code but I saw that it is just not possible. I came across this old article ASP.NET Mono Setup
but I still feel that I won't be able to have the same level of developing experience like in a windows machine.
So, question is, can I (and if the answer if yes) debug an asp.net webforms app on visual studio 2022 for mac? If not, I would need to ask for a laptop replacement.
Thanks in advance!
Only the .net core runtimes are platform neutral.
But, the .net 2-4.8 runtimes are not.
One MIGHT be able to play and mess around with mono, but at the end of the day, I suggest you go with a VM (virtual machine),and run windows.
In other words, you don't need a new laptop, but just use a VM and install windows on that VM.

How do I resolve maui-check can not be found on mac m1?

I've been using redth's maui-check tool. It works great on windows. It runs fine on my intel mac. On my m1 mac mini, it installs. However, it does not run. zsh reports that the command is not found. I have installed the .net 6 core p4 build for arm macs. I have also installed previous versions of .net core and mono. Any ideas on this?
So, the summary of items that I had to install are:
.NET Core 3.1 for Mac x64. This resolves and issue about the version of maui-check assumes is on the system.
.NET Core 6 for Mac x64. This resolved a really weird startup error in maui-check.
.NET Core 6 for Mac arm. Duh.
added my maui-check to the local path.
Once I did all of that, everything seems to be working now. It is currently stumbling through a major set of updates. I've found maui-check to run really well on my other systems. I just need to run it multiple times because it sometimes misses things. Great job Jon!
Use Google which will lead you to this: https://github.com/Redth/dotnet-maui-check/issues/15

What OS can I use (other than Windows) to install Visual Studio, Microsoft SQL Server, ASP.NET and IIS?

I currently have an Ubuntu 18.04 environment. For our course, we need to have Visual Studio, ASP.NET, Microsoft SQL Server and IIS installed. One solution was to install the Windows OS on VMware/VirtualBox, but since Windows OS on a virtual machine is a bit heavy on my laptop, is there any other slightly "light" OS that allows me to install the 4 requirements already mention?
As Lex Li says the IIS is Windows only,VS is only available on Windows and Mac. So you could only use the windows.
Here is a workaround, if you are familiar with the VS code, you could use VS code develop asp.net application, then you could use docker to run the asp.net application with IIS.
More details about how to use vs code in the linux, you could refer to below article:
https://code.visualstudio.com/docs/setup/linux
About how to use vs code to test application with docker, you could refer to below article:
https://medium.com/#agavatar/working-with-docker-in-visual-studio-code-756ea8b32abc

Porting custom media player app to Linux

I have developed a custom media player that works on Windows 7. I used QMediaPlayer, QVideoWidget and QMediaPlaylist classes. I need to port the app to Linux. Do these classes also exist for Linux? Do they come automatically when installing Qt?
I tried copying the project to my Linux partition and recompiling but it can not find the headers.
Check weather the major version of Qt is the same on both platforms.
Seeing your description, I believe you are using an older version of Qt on the Linux machine as compared to the Windows machine.
Hope this helps.

No applications available to install on Web Platform Installer on Vista x64

When I use the Web Platform installer on Vista x64 Business it doesn't list any of the applications (such as DotNetNuke or SubText).
Has anyone got it to work on Vista 64?
I'm running Vista Home Premium x64 SP2 and can see plenty of web applications with no problem. Is it possible there is some prerequisite software or libraries you need to install (say, using the WPI) before you can install web applications?
The first step I'd take is to uninstall WPI, restart your computer, and reinstall WPI. It sounds so basic but the simplest fixes are so often sufficient.
Is everything on your system up-to-date?
It should work with Vista x64 Business edition. The application catalog is downloaded from the web via http requests. You might try using a tool like Fiddler Web Debugger to determine if the app is able to connect properly. You may have a firewall or network issue preventing it from fetching the list of applications.

Resources