ASP.NET environment on Linux [duplicate] - asp.net

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Installation of Visual Studio On Linux Machine
I'm usually working with python/php and such, but now my professor demand me to work with Visual Studio 2010. Bad news is, I don't have a Windows OS, so -
Are there any options to get Visual Studio 2010 up and running on Debian/Ubuntu?

You can't run Visual Studio on Linux. You can run Mono Develop and create ASP.NET projects in it. It works pretty good.
Other alternative. Install Virtual Box, install Windows and then VS.

The best option is to use a virtual machine - the guest would be running Windows. Check DreamSpark - you may be able to get Windows Server 2008 R2 (and other software) for free if your school participates.
If you look at Wine, Visual Studio 2010 and 2012 are not doing very well, so that's not a real option at this time.
The mono project has a free C# IDE - Mono Develop, though it is not Visual Studio it is quite fully featured and supports ASP.NET development.

If you want to use Visual Studio you will have to install WINE (but do not think it's a good solution)
http://appdb.winehq.org/objectManager.php?sClass=application&iId=892
But you can also use the Mono Project
http://www.mono-project.com/Main_Page
Or just install a Virtual Machine with a windows OS
You are free to choose what best suits your needs

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.

What version of Windows 7 for ASP.NET development on Visual Studio

I am about to upgrade my pc, and operating system at the same time. I was wondering what version of Windows 7 to get pre-installed, given that I want to do some ASP.NET development using Visual Studio.
Specifically :
Will all versions of Windows 7 run an IIS server & be suitable for ASP.NET development ?
Are all good for running SQL Server etc ?
Will Windows 7 have any probs running old versions of Visual Studio (Ie. 2003 & 2005 versions).
Are there any other things I need to consider ?
I'm probably going for the 32 bit version of Windows 7.
Thanks in advance,
Bazza
I would suggest you get the 64-bit version: there's really no reason to be running a 32-bit operating system in this day and age (unless you have some esoteric hardware that doesn't have 64-bit drivers, but that's exeedingly rare: especially on Windows 7).
I think IIS 7.5 is included in Home Premium, but I think the Professional SKU is probably the best bang-for-buck version. You don't actually need IIS for ASP.NET work anyway, the development server that's included with Visual Studio is usually the best option anyway (it doesn't require Administrator privileges to debug).
Other than that, they'll all run SQL Server fine, and I see no reason why older versions of Visual Studio won't run, either (there may be issues with UAC, but nothing too dramatic for day-to-day use).

Issue between Office 2010 and Visual Studio 2008 in ASP.NET?

Not exactly a programming question in the technical sense, but it's impacting my development nonetheless and I'm hoping someone here might have encountered and solved this issue before.
I recently got adventurous and installed Office 2010 beta onto my PC here, and I've noticed that Visual Studio has begun to hang whenever I'm editing an ASPX file, sometimes right away, sometimes after a few minutes. In my research I came across this post:
http://abdullin.com/journal/2009/5/12/visual-studio-2008-locks-or-freezes-in-aspx.html
It seems to imply that there's a dependency between Office and Visual Studio. Is anyone here successfully running Office 2010 64-bit with Visual Studio 2008? I'm on Windows 7 64-bit, also.
Josh
Edit: I have confirmed that the Setup.exe file referenced in that post is in fact being run by VS. It is indeed a vestige of the Office 2007 suite. I moved the directory it was in, and (of course) the process isn't spawned, but VS hangs on "loading cache" on this project. I think I'm getting closer though.
Hope this helps:
http://blog.hinshelwood.com/archive/2009/07/19/office-2010-gotcha-2-visual-studio-2008-locks.aspx
Unfortunately, doing a repair install of the Office-based Visual Web Developer component wouldn't work — the setup application kept crashing. I ended up solving this problem by doing a complete reinstall of Visual Studio. For some reason, doing a simple repair wasn't possible — the VS setup kept crashing, too.
I did a manual remove using an uninstall tool designed for the VS2008 RC. It did a complete install of all VS components, after which point I reinstalled VS2008, which in turn reinstalled the Office-based visual web developer component.
It was a long and painful process, but it worked. It didn't seem to be a direct incompatibility between Office 2010 and VS2008, as we have another PC here with the same combination that wasn't having the problems. I believe it had to do with the fact that my PC originally had Office 2007, which I had to uninstall before installing Office 2010. The other PC that wasn't having this problem never had Office 2007. I can only assume that the uninstall process for Office 2007 either removed those Visual Web Developer components or removed dependencies that were originally put in there by the VS2008 setup program.
office 2010 runs on wpf and its major portion is build on dotnet framework. And there is always connectivity between office and vs coz vs can make office apps also. If you use office 2010 as your default for aspx page editor and vs is also opened with the same project. it will sometimes hang due to lack of resources and also vs 2008 was made for 32bit os, so if ur running it on 64bit os with office 2010 64bit it can sometimes cause problem of resouce management. Already wpf uses hell lot of resouces and then 32bit vs 2008' connection to it will use more resouces.
So what i suggest is try to use 32bit 7, 32bit office 2010 ans vs 2008.
Regards,
Apurva

can we use windows 7 home edition to develop asp.net applications

I am planning to buy a new laptop to learn asp.net web applications and also windows applications. Do we get IIS7 installed when we buy the home edition of windows 7 or should we buy windows 7 professional version?
Looking at some documentation on TechNet, it looks like all the Windows 7 Home editions (Starter, Basic, Premium) have the ability to install IIS, but it is not installed by default.
If you just want to learn, Visual Studio has a built in webserver for development that will work. If you want to deploy your web applications, this page has information on which versions of Windows 7 have which IIS options available
Following this thread, no problem found so far.
You don't need IIS for ASP.NET Development if you use Visual Studio.
Visual Studio Express for the web is free, and comes with its own web server.
http://www.microsoft.com/express/Web/
You can also create windows programs with Visual Studio Express for windows.
http://www.microsoft.com/express/Windows/
If you want to do both, then you may need to buy Visual Studio.
If you want to do local debugging of asp.net using IIS then you need one of these versions. Not supported on Windows 7 Home.
Windows 7 Ultimate
Windows 7 Professional
Windows 7 Enterprise
reference:
http://msdn.microsoft.com/en-us/library/kd3se23d.aspx

Correct installation order to a clean asp.net development enviroment

I want to setup a Win7 virtual machine to develop using Visual Studio 2008 and ASP.Net 3.5.
I don't know what the best order to install what I need. I will need to install:
a) Visual Studio 2008
b) IIS
c) Service Packs for Visual Studio and/or .Net Framework
My last try was bad, I cannot do my old ASP.Net 3.5 web app to work on Win7 (works fine on Win2003).
Another questions are, if I choose to use Visual Studio 2010 (to develop ASP.Net 3.5), it's recommended? And the installation order will change?
Thanks for all
Your best bet is to actually use the Microsoft Web Platform Installer. This tool will walk you through installing ALL of the components you need to host a web application. Pick your platform (PHP, ASP.NET, etc), an optional application (DasBlog, etc), and even choose to download Visual Studio 2008 Web Developer + SQL Express. It will install everything for you seamlessly. I've used it and I highly recommend it for a "clean" install.
I'd install IIS first, then Visual Studio 2008. The framework will come with VS.NET 2008. If all goes wrong learn to use aspnet_regiis.exe

Resources